
CVE catalog
CVE-2026-115207
patch: CVE-2026-115207
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.13% · Oct 25, 2026
A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a specially crafted patch file. Due to missing validation during automatic patch reversal, absolute file paths in patch headers are accepted rather than rejected. Consequently, the utility can create files in arbitrary locations with the permissions of the executing user.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | patch | sid | 2.8.1-1 | fixed |
| Debian | patch | forky | 2.8.1-1 | fixed |
| Debian | patch | trixie | 2.8-2 | vulnerable |
| Debian | patch | bookworm | 2.7.6-7 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-3 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4ubuntu1 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4ubuntu2 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4ubuntu2.3 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4ubuntu2.4 | vulnerable |
| Ubuntu | patch | pro | 2.7.1-4ubuntu2.4+esm1 | vulnerable |
| Ubuntu | patch | 16.04 | 2.7.5-1 | vulnerable |
| Ubuntu | patch | 16.04 | 2.7.5-1ubuntu0.16.04.1 | vulnerable |
| Ubuntu | patch | 16.04 | 2.7.5-1ubuntu0.16.04.2 | vulnerable |
| Ubuntu | patch | 18.04 | 2.7.5-1build1 | vulnerable |
| Ubuntu | patch | 18.04 | 2.7.6-1 | vulnerable |
| Ubuntu | patch | 18.04 | 2.7.6-2ubuntu1 | vulnerable |
| Ubuntu | patch | 18.04 | 2.7.6-2ubuntu1.1 | vulnerable |
| Ubuntu | patch | 20.04 | 2.7.6-6 | vulnerable |
| Ubuntu | patch | 22.04 | 2.7.6-7 | vulnerable |
| Ubuntu | patch | 22.04 | 2.7.6-7build1 | vulnerable |
| Ubuntu | patch | 22.04 | 2.7.6-7build2 | vulnerable |
| Ubuntu | patch | 24.04 | 2.7.6-7build2 | vulnerable |
| Ubuntu | patch | 24.04 | 2.7.6-7build3 | vulnerable |
| Ubuntu | patch | 26.10 | 2.8-2build1 | vulnerable |
| Ubuntu | patch | 26.04 | 2.8-2 | vulnerable |
| Ubuntu | patch | 26.04 | 2.8-2build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | patch | source | sid | 2.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | patch | source | forky | 2.8.1-1 | not yet assigned | Not reported | Not reported |
| Debian | patch | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | patch | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] patch: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [patch]Affected
Details (2)
2.7.6-7· amd64 · bookwormAffected
dsa · patch · debian · bookworm; dsa · patch · debian · 12
2.7.6-7· arm64 · bookwormAffected
dsa · patch · debian · bookworm; dsa · patch · debian · 12
[Debian 13 (Trixie)]
- [patch]Affected
Details (2)
2.8-2· amd64 · trixieAffected
dsa · patch · debian · 13
2.8-2· arm64 · trixieAffected
dsa · patch · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/10/26/14]
- [https://access.redhat.com/security/cve/CVE-2026-115207]
- [https://bugzilla.redhat.com/show_bug.cgi?id=2558775]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-115207]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-115207]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-115207]
- [https://security-tracker.debian.org/tracker/CVE-2026-115207]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-115207.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]