Skip to content
Memory corruption Write-up Advanced

CVE-2026–42530: Critical Integer Overflow in NGINX HTTP/3 Opens

An integer overflow in NGINX's HTTP/3 QUIC stream frame parsing allows an unauthenticated remote attacker to cause a heap out-of-bounds write, leading to worker process crashes (denial of service) and potentially remote code execution.

CyDhaal Follow

Published on medium.com

A single malformed QUIC STREAM frame can crash worker processes or, with more effort, lead to full server compromise. Here’s the precise technical breakdown and what every infrastructure team must do right now.

CyDhaal, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code adds two attacker-controlled size values without checking for integer overflow, so the subsequent bounds check can be bypassed and memcpy writes out of bounds.

Impact

A remote unauthenticated attacker can reliably crash worker processes (denial of service) and, with additional primitives, may achieve remote code execution; no in-the-wild exploitation has been confirmed.

What the attacker needed

HTTP/3 enabled on target; Network access to UDP/443; No authentication needed

The fix

Upgrade to NGINX 1.26.4 (mainline) or 1.25.8 (stable), or disable HTTP/3 as a workaround.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When NGINX handles HTTP/3 traffic, it reads a number from the network that says how far into a buffer to write data. If that number is huge, adding it to another number can wrap around to a small value, so a safety check passes and data gets written past the end of the buffer. This can crash the server or, with more work, let an attacker run their own code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by CyDhaal

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.