diff --git a/mainline/stretch-perl/Dockerfile b/mainline/stretch-perl/Dockerfile
index 8cced0708ea7f594271b0084c3f577ad112cf768..b6a8c06d5f40930c10c25e631979288ac086e926 100644
--- a/mainline/stretch-perl/Dockerfile
+++ b/mainline/stretch-perl/Dockerfile
@@ -3,7 +3,7 @@ FROM debian:stretch-slim
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
 ENV NGINX_VERSION 1.13.4-1~stretch
-ENV NJS_VERSION   1.13.4.0.1.11-1~stretch
+ENV NJS_VERSION   1.13.4.0.1.12-1~stretch
 
 RUN apt-get update \
 	&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \
diff --git a/mainline/stretch/Dockerfile b/mainline/stretch/Dockerfile
index 0cdbb1c7a564c65fd7ede3e2fe4e607129ae8220..1bafa5da320e057c68759bb1d17f7167d4f4644a 100644
--- a/mainline/stretch/Dockerfile
+++ b/mainline/stretch/Dockerfile
@@ -3,7 +3,7 @@ FROM debian:stretch-slim
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
 ENV NGINX_VERSION 1.13.4-1~stretch
-ENV NJS_VERSION   1.13.4.0.1.11-1~stretch
+ENV NJS_VERSION   1.13.4.0.1.12-1~stretch
 
 RUN apt-get update \
 	&& apt-get install --no-install-recommends --no-install-suggests -y gnupg1 \