CVE catalog

CVE-2026-115207

patch: CVE-2026-115207

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpatchsid2.8.1-1fixed
Debianpatchforky2.8.1-1fixed
Debianpatchtrixie2.8-2vulnerable
Debianpatchbookworm2.7.6-7vulnerable
Ubuntupatchpro2.7.1-3vulnerable
Ubuntupatchpro2.7.1-4vulnerable
Ubuntupatchpro2.7.1-4ubuntu1vulnerable
Ubuntupatchpro2.7.1-4ubuntu2vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.3vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.4vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.4+esm1vulnerable
Ubuntupatch16.042.7.5-1vulnerable
Ubuntupatch16.042.7.5-1ubuntu0.16.04.1vulnerable
Ubuntupatch16.042.7.5-1ubuntu0.16.04.2vulnerable
Ubuntupatch18.042.7.5-1build1vulnerable
Ubuntupatch18.042.7.6-1vulnerable
Ubuntupatch18.042.7.6-2ubuntu1vulnerable
Ubuntupatch18.042.7.6-2ubuntu1.1vulnerable
Ubuntupatch20.042.7.6-6vulnerable
Ubuntupatch22.042.7.6-7vulnerable
Ubuntupatch22.042.7.6-7build1vulnerable
Ubuntupatch22.042.7.6-7build2vulnerable
Ubuntupatch24.042.7.6-7build2vulnerable
Ubuntupatch24.042.7.6-7build3vulnerable
Ubuntupatch26.102.8-2build1vulnerable
Ubuntupatch26.042.8-2vulnerable
Ubuntupatch26.042.8-2build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpatchsourcesid2.8.1-1not yet assignedNot reportedNot reported
Debianpatchsourceforky2.8.1-1not yet assignedNot reportedNot reported
Debianpatchsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpatchsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] patch: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [patch]Affected
    Details (2)
    • 2.7.6-7 · amd64 · bookworm

      Affected

      dsa · patch · debian · bookworm; dsa · patch · debian · 12

    • 2.7.6-7 · arm64 · bookworm

      Affected

      dsa · patch · debian · bookworm; dsa · patch · debian · 12

[Debian 13 (Trixie)]

  • [patch]Affected
    Details (2)
    • 2.8-2 · amd64 · trixie

      Affected

      dsa · patch · debian · 13

    • 2.8-2 · arm64 · trixie

      Affected

      dsa · patch · debian · 13

Observed:

References