ALPINE-CVE-2026-42945
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.
ALPINE-CVE-2026-42945
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:ALPINE-CVE-2026-42945
nginx
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.26.3-r1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
nginx
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.28.3-r1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
nginx
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.28.3-r1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
nginx
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.30.1-r0
Source reference:
/affected/3/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.26.3-r1"
}
]
}
],
"package": {
"name": "nginx",
"purl": "pkg:apk/alpine/nginx?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42945.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.28.3-r1"
}
]
}
],
"package": {
"name": "nginx",
"purl": "pkg:apk/alpine/nginx?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42945.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.28.3-r1"
}
]
}
],
"package": {
"name": "nginx",
"purl": "pkg:apk/alpine/nginx?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42945.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.30.1-r0"
}
]
}
],
"package": {
"name": "nginx",
"purl": "pkg:apk/alpine/nginx?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42945.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #54401 · Revision 1
- Added to Heist Feed
- Publisher date