CVE-2026-42945
Publication date 14 May 2026
Last updated 6 June 2026
Ubuntu priority
Cvss 3 Severity Score
Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Why is this CVE high priority?
Possible remote code execution issue
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| nginx | 26.04 LTS resolute |
Fixed 1.28.3-2ubuntu1.1
|
| 25.10 questing |
Fixed 1.28.0-6ubuntu1.3
|
|
| 24.04 LTS noble |
Fixed 1.24.0-2ubuntu7.8
|
|
| 22.04 LTS jammy |
Fixed 1.18.0-6ubuntu14.11
|
|
| 20.04 LTS focal |
Fixed 1.18.0-0ubuntu1.7+esm1
|
|
| 18.04 LTS bionic |
Fixed 1.14.0-0ubuntu1.11+esm2
|
|
| 16.04 LTS xenial |
Fixed 1.10.3-0ubuntu0.16.04.5+esm7
|
|
| 14.04 LTS trusty |
Fixed 1.4.6-1ubuntu3.9+esm6
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-8271-1
- nginx vulnerability
- 14 May 2026
- USN-8375-1
- nginx vulnerabilities
- 3 June 2026