diff --git a/mainline/alpine-perl/Dockerfile b/mainline/alpine-perl/Dockerfile
index 30997c4f7a7ded663fdb3a92a5c3f8379a053879..0f5e43f8b18d3b761d6c2f916e8c433b31ec2d4c 100644
--- a/mainline/alpine-perl/Dockerfile
+++ b/mainline/alpine-perl/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.7
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.15.3
+ENV NGINX_VERSION 1.15.4
 
 RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
 	&& CONFIG="\
diff --git a/mainline/alpine/Dockerfile b/mainline/alpine/Dockerfile
index a3dcbbd17ad5215102e9c7ecb1deef1a9df4cd3f..41bf64ac0681213779641c9a0f44de9df1cd0842 100644
--- a/mainline/alpine/Dockerfile
+++ b/mainline/alpine/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:3.7
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.15.3
+ENV NGINX_VERSION 1.15.4
 
 RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
 	&& CONFIG="\
diff --git a/mainline/stretch-perl/Dockerfile b/mainline/stretch-perl/Dockerfile
index 31528e9fad9b3bcaff8e422a6880bbaf57db420b..cc0f9f84a863b311b5d6d4e0e2077e5331493fda 100644
--- a/mainline/stretch-perl/Dockerfile
+++ b/mainline/stretch-perl/Dockerfile
@@ -2,8 +2,8 @@ FROM debian:stretch-slim
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.15.3-1~stretch
-ENV NJS_VERSION   1.15.3.0.2.3-1~stretch
+ENV NGINX_VERSION 1.15.4-1~stretch
+ENV NJS_VERSION   1.15.4.0.2.4-1~stretch
 
 RUN set -x \
 	&& apt-get update \
diff --git a/mainline/stretch/Dockerfile b/mainline/stretch/Dockerfile
index 2aa0975c1694d70ba695cafea197e31d3ee91b72..6679326283ccd835b817eb5b15d511aa286ba9db 100644
--- a/mainline/stretch/Dockerfile
+++ b/mainline/stretch/Dockerfile
@@ -2,8 +2,8 @@ FROM debian:stretch-slim
 
 LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
 
-ENV NGINX_VERSION 1.15.3-1~stretch
-ENV NJS_VERSION   1.15.3.0.2.3-1~stretch
+ENV NGINX_VERSION 1.15.4-1~stretch
+ENV NJS_VERSION   1.15.4.0.2.4-1~stretch
 
 RUN set -x \
 	&& apt-get update \