diff --git a/docker/Dockerfile b/docker/Dockerfile
index c8b0caf2..5508c487 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@ FROM rockylinux:9
 
 LABEL maintainer="Kleis Auke Wolthuizen <info@kleisauke.nl>"
 
-ARG NGINX_VERSION=1.23.4
+ARG NGINX_VERSION=1.25.3
 
 # Copy the contents of this repository to the container
 COPY . /var/www/imagesweserv
diff --git a/docker/README.md b/docker/README.md
index b27aa2d0..f1de2d29 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -18,7 +18,7 @@ This document describes how to use weserv/images with Docker.
 
 1. Build the container (with a specified nginx version).
    ```bash
-   docker build --build-arg NGINX_VERSION=1.23.4 -t weserv/images -f docker/Dockerfile .
+   docker build --build-arg NGINX_VERSION=1.25.3 -t weserv/images -f docker/Dockerfile .
    ```
 
 2. Run the container (same as above, but using the recently built tag).
diff --git a/docker/alpine.Dockerfile b/docker/alpine.Dockerfile
index 3ec4234e..a35ce9d1 100644
--- a/docker/alpine.Dockerfile
+++ b/docker/alpine.Dockerfile
@@ -5,7 +5,7 @@ FROM alpine:3.19
 
 LABEL maintainer="Kleis Auke Wolthuizen <info@kleisauke.nl>"
 
-ARG NGINX_VERSION=1.23.4
+ARG NGINX_VERSION=1.25.3
 
 # Copy the contents of this repository to the container
 COPY . /var/www/imagesweserv
diff --git a/third_party/nginx/CMakeLists.txt b/third_party/nginx/CMakeLists.txt
index 30f38ed2..4e7fec43 100644
--- a/third_party/nginx/CMakeLists.txt
+++ b/third_party/nginx/CMakeLists.txt
@@ -1,5 +1,5 @@
 if (NOT NGX_VERSION)
-    set(NGX_VERSION 1.23.4)
+    set(NGX_VERSION 1.25.3)
 endif()
 
 set(NGX_ROOT ${CMAKE_CURRENT_BINARY_DIR})