Version in base suite: 1.26.3-3+deb13u10 Version in overlay suite: 1.26.3-3+deb13u11 Base version: nginx_1.26.3-3+deb13u11 Target version: nginx_1.26.3-3+deb13u12 Base file: /srv/ftp-master.debian.org/ftp/pool/main/n/nginx/nginx_1.26.3-3+deb13u11.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/n/nginx/nginx_1.26.3-3+deb13u12.dsc changelog | 8 +++ patches/CVE-2026-132779.patch | 108 ++++++++++++++++++++++++++++++++++++++++++ patches/series | 1 3 files changed, 117 insertions(+) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpjs7eyrj4/nginx_1.26.3-3+deb13u11.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpjs7eyrj4/nginx_1.26.3-3+deb13u12.dsc: no acceptable signature found diff -Nru nginx-1.26.3/debian/changelog nginx-1.26.3/debian/changelog --- nginx-1.26.3/debian/changelog 2026-11-18 17:29:52.000000000 +0000 +++ nginx-1.26.3/debian/changelog 2026-11-28 09:48:17.000000000 +0000 @@ -1,3 +1,11 @@ +nginx (1.26.3-3+deb13u12) trixie-security; urgency=medium + + * Backport security fixes from upstream 1.30.8: + - d/p/CVE-2026-132779.patch: avoid repeating send_chain() when it sent + nothing. + + -- Maytham Alsudany Sat, 28 Nov 2026 17:48:17 +0800 + nginx (1.26.3-3+deb13u11) trixie-security; urgency=high * Backport security fixes from upstream 1.30.7: diff -Nru nginx-1.26.3/debian/patches/CVE-2026-132779.patch nginx-1.26.3/debian/patches/CVE-2026-132779.patch --- nginx-1.26.3/debian/patches/CVE-2026-132779.patch 1970-01-01 00:00:00.000000000 +0000 +++ nginx-1.26.3/debian/patches/CVE-2026-132779.patch 2026-11-28 09:48:17.000000000 +0000 @@ -0,0 +1,108 @@ +From: Roman Arutyunyan +Date: Tue, 17 Nov 2026 23:02:36 +0400 +Subject: [PATCH] Avoid repeating send_chain() when it sent nothing + +Previously, ngx_http_write_filter() re-posted the write event to +continue a capped send whenever output data remained and +c->write->ready was still set. This was wrong when c->send_chain() +returned without sending anything while the write event still looked +ready, notably when SSL_write() returned SSL_ERROR_WANT_READ. The +event was then re-posted on every event loop iteration, busy-looping +the worker at 100% CPU. + +The implicit progress check was lost in 00f4be1 (1.21.4). It is +now restored by requiring that c->send_chain() advanced c->sent. + +Reported by yxd05. + +Previously, ngx_chain_writer() re-posted the write event to continue +a capped send whenever output data remained and c->write->ready was +still set. This was wrong when c->send_chain() returned without +sending anything while the write event still looked ready, notably +when SSL_write() returned SSL_ERROR_WANT_READ. The event was then +re-posted on every event loop iteration, busy-looping the worker at +100% CPU. + +The re-post was introduced without a progress check in b3b3681 +(1.21.4). A check is now added by requiring that c->send_chain() +advanced c->sent. + +Origin: upstream, https://github.com/nginx/nginx/commit/98cf776e3c035b1819744861fda97841e285960c +Origin: upstream, https://github.com/nginx/nginx/commit/32c3957216a69e7d047f9bfb790ef5b00b6d4984 + +--- a/src/core/ngx_output_chain.c ++++ b/src/core/ngx_output_chain.c +@@ -660,7 +660,7 @@ + { + ngx_chain_writer_ctx_t *ctx = data; + +- off_t size; ++ off_t size, sent; + ngx_chain_t *cl, *ln, *chain; + ngx_connection_t *c; + +@@ -777,6 +777,8 @@ + return NGX_OK; + } + ++ sent = c->sent; ++ + chain = c->send_chain(c, ctx->out, ctx->limit); + + ngx_log_debug1(NGX_LOG_DEBUG_CORE, c->log, 0, +@@ -786,7 +788,7 @@ + return NGX_ERROR; + } + +- if (chain && c->write->ready) { ++ if (chain && c->write->ready && c->sent != sent) { + ngx_post_event(c->write, &ngx_posted_next_events); + } + +--- a/src/http/ngx_http_write_filter_module.c ++++ b/src/http/ngx_http_write_filter_module.c +@@ -47,7 +47,7 @@ + ngx_int_t + ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in) + { +- off_t size, sent, nsent, limit; ++ off_t size, sent, psent, nsent, limit; + ngx_uint_t last, flush, sync; + ngx_msec_t delay; + ngx_chain_t *cl, *ln, **ll, *chain; +@@ -308,13 +308,14 @@ + + if (r->limit_rate) { + ++ psent = sent; + nsent = c->sent; + + if (r->limit_rate_after) { + +- sent -= r->limit_rate_after; +- if (sent < 0) { +- sent = 0; ++ psent -= r->limit_rate_after; ++ if (psent < 0) { ++ psent = 0; + } + + nsent -= r->limit_rate_after; +@@ -323,7 +324,7 @@ + } + } + +- delay = (ngx_msec_t) ((nsent - sent) * 1000 / r->limit_rate); ++ delay = (ngx_msec_t) ((nsent - psent) * 1000 / r->limit_rate); + + if (delay > 0) { + c->write->delayed = 1; +@@ -331,7 +332,7 @@ + } + } + +- if (chain && c->write->ready && !c->write->delayed) { ++ if (chain && c->write->ready && !c->write->delayed && sent != c->sent) { + ngx_post_event(c->write, &ngx_posted_next_events); + } + diff -Nru nginx-1.26.3/debian/patches/series nginx-1.26.3/debian/patches/series --- nginx-1.26.3/debian/patches/series 2026-11-18 17:29:52.000000000 +0000 +++ nginx-1.26.3/debian/patches/series 2026-11-28 09:48:17.000000000 +0000 @@ -36,3 +36,4 @@ CVE-2026-113425.patch CVE-2026-121810.patch CVE-2026-125283.patch +CVE-2026-132779.patch