CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads to RCE (FIXED)
A flaw in nginx's HTTP/2 handling lets attackers run code on servers by exploiting a miscalculation of response data length.
Overview
Rapid7 and F5 disclosed a critical vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend in nginx that allows attackers to execute code on serversA computer or program on a network that stores data and responds to requests from client devices without authentication. The flaw is an integer underflowA math bug where subtracting from a small number wraps it around into a huge positive number in the HTTP/2A major version of the web protocol that sends multiple requests at once over a single connection protocol that causes the server to miscalculate the amount of data it can send. An attacker can exploit this by cancelling queued data to force the server to use an invalid length, leading to memory corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory. This issue affects organizations running nginx with HTTP/2 and TLSThe standard cryptographic protocol that encrypts internet traffic between a browser or app and a server enabled, as it can result in data disclosure or service interruption. Exploiting the vulnerability requires transmitting approximately 128 GB of data, which takes two and a half minutes on a 10 Gbit/s network. The specific proof-of-conceptA working sample of code or steps that shows a reported security flaw can really be triggered demonstrated by Rapid7 targets a linux/amd64 Docker image running nginx version 1.31.8.
Terms in this story
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- Integer Underflow
- A math bug where subtracting from a small number wraps it around into a huge positive number. When a length calculation suffers an integer underflow, a program may think a buffer is gigabytes long and let an attacker read or overwrite memory far past its boundary.
- HTTP/2
- A major version of the web protocol that sends multiple requests at once over a single connection. Because this newer web protocol lets a client open many parallel streams on one connection, attackers have abused subtle flaws in how servers cancel streams to cause denial-of-service outages.
- memory corruption
- A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
- TLS
- The standard cryptographic protocol that encrypts internet traffic between a browser or app and a server. Whenever you visit an HTTPS website, TLS checks the server's certificate and scrambles the connection so nobody on the local wireless network or internet backbone can read your traffic. Security+ objective 1.4 lists the term
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- unauthenticated remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- CVE ID
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- CWE
- The public catalog of software and hardware bug categories, such as buffer overflow or SQL injection. While a CVE identifies one specific flaw in one product, the Common Weakness Enumeration names the underlying category of coding mistake so teams can track which bug types recur.
- unauthenticated
- Done without logging in or holding a valid account on the target system. An unauthenticated flaw is especially urgent in the news because any stranger on the internet can trigger it without needing a username or password first.
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Rapid7 website. Cite the article, not this page.
Read the full article on Rapid7 (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...disclosing CVE-2026-123007, a critical integer underflow..." Found by reading the article; these exact words are in it - Who is affected: "...nginx version 1.31.8..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads..." Found in the headline - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads to RCE (FIXED)" Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"CVE-2026-123007: Critical NGINX HTTP/2 Integer Underflow Leads..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Recommend computing environment vulnerability corrections.
"...disclosing CVE-2026-123007, a critical integer underflow vulnerability..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Implement security measures to mitigate or remediate vulnerabilities and security deficiencies, and provide justification for acceptance of residual risk.
"...nginx can miscalculate how much response data..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- NGINX2ROOT Exploits 5 Critical NGINX Vulnerabilities to Gain Remote Code Execution and Root Access
- 8.8 Million NGINX Services Still Potentially Exposed to Critical NGINX2Root Vulnerability
- nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them
- NGINX2Root: F5 patches five critical NGINX vulnerabilities
- Critical remote code execution flaws found in Nginx web server
- Critical NGINX ‘NGINX2Root’ bugs let attackers hijack servers
- NGINX2Root: What NGINX Admins Should Know
- nginx2root:AI Discovers Five Critical nginx Flaws and a Path to Root
- Two Critical Vulnerabilities in NGINX HTTP/2 Disclosed
- NGINX2Root: Five Critical Vulnerabilities Allow Unauthenticated Attackers to Execute Commands on NGINX Servers
- NGINX2Root (CVE-2026-123007): Frequently asked questions about five critical NGINX vulnerabilities
- AI unearths ‘internet breaker’ flaws in Nginx web server
- It’s NGINX’s turn to cause vulnpocalypse headaches
- 10-Year-Old NGINX HTTP/2 Flaw Lets Unauthenticated Attackers Execute Code on Servers
- nginx2root: Critical nginx RCE vulnerabilities [CVE-2026-123007, CVE-2026-123634, CVE-2026-123633, CVE-2026-121810, CVE-2026-113425]
- Five Critical Vulnerabilities Found in World's Most Widely Used Open-Source Web Server
- NGINX HTTP/2 Flaws Could Allow Memory Corruption and Remote Code Execution on Web Servers