DEBIAN-CVE-2018-1000156

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2018-1000156
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1000156.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2018-1000156
Upstream
Published
2018-04-06T13:29:00Z
Modified
2025-09-19T06:07:30Z
Summary
[none]
Details

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

References

Affected packages

Debian:11 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / patch

Package

Name
patch
Purl
pkg:deb/debian/patch?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.6-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}