UBUNTU-CVE-2026-115207

Source
https://ubuntu.com/security/CVE-2026-115207
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-115207
Upstream
  • CVE-2026-115207
Published
2026-10-26T00:00:00Z
Modified
2026-10-27T04:17:42Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.5-1
2.7.5-1ubuntu0.16.04.1
2.7.5-1ubuntu0.16.04.2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.5-1ubuntu0.16.04.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:18.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.5-1build1
2.7.6-1
2.7.6-2ubuntu1
2.7.6-2ubuntu1.1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.6-2ubuntu1.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:20.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.6-6

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.6-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:22.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.6-7
2.7.6-7build1
2.7.6-7build2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.6-7build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:24.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.6-7build2
2.7.6-7build3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.6-7build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:26.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8-2
2.8-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.8-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:26.10
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.8-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.8-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"
Ubuntu:Pro:14.04:LTS
patch

Package

Name
patch
Purl
pkg:deb/ubuntu/patch?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.1-3
2.7.1-4
2.7.1-4ubuntu1
2.7.1-4ubuntu2
2.7.1-4ubuntu2.3
2.7.1-4ubuntu2.4
2.7.1-4ubuntu2.4+esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "patch",
            "binary_version":  "2.7.1-4ubuntu2.4+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-115207.json"