---
schema_version: '1.0'
id: security-20260705-1d000e
url: https://osv.dev/vulnerability/DEBIAN-CVE-2026-42945
url_hash: 1d000ed7aeb708c93dafc38198e60cbbfde59a60ef4362742357fe6704b5e059
canonical_url: https://osv.dev/vulnerability/DEBIAN-CVE-2026-42945
source: osv:debian
category: security/os
category_raw: cve/os
region: null
tags:
- cve
- DEBIAN-CVE-2026-42945
- severity:CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- nginx
- Debian
lang: en
published_at: '2026-05-13T16:16:50Z'
fetched_at: '2026-07-05T15:34:33Z'
updated_at: '2026-07-05T15:35:24Z'
status: published
content_hash: cf7389eadbc7f3f98f120160539c2c8d40b966aee95aade8b14c41158495716e
license_note: full
summary: '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) '
summary_source: rss
summary_en: '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) '
entities: []
key_facts: []
related: []
related_auto: []
title: DEBIAN-CVE-2026-42945 — nginx
---

# DEBIAN-CVE-2026-42945 — nginx

## TL;DR
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) 

## Key Points
- cve / DEBIAN-CVE-2026-42945 / severity:CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X / nginx / Debian

## Details
**Severity:** CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
**Advisory:** DEBIAN-CVE-2026-42945

**Affected (your watchlist):**
- `Debian:nginx` 1.22.1-9+deb12u1 → no fixed version listed [proxmox]

**Details:**
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.

**References:**
- https://security-tracker.debian.org/tracker/CVE-2026-42945

_Data: OSV.dev (upstream: debian) — https://osv.dev/vulnerability/DEBIAN-CVE-2026-42945_

## Source
元記事: [DEBIAN-CVE-2026-42945 — nginx](https://osv.dev/vulnerability/DEBIAN-CVE-2026-42945) — published 2026-05-13T16:16:50Z
