CVE-2018-1000156

high
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
8.0

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-1000156

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-1000156.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201810-8

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201811-14

OS impact

OSVersionStatusFixed in
arch archfixed2.7.6-7
suse slesaffected
debian debianbookwormfixed2.7.6-2
debian debianbullseyefixed2.7.6-2
debian debianforkyfixed2.7.6-2
debian debiansidfixed2.7.6-2
debian debiantrixiefixed2.7.6-2

References

Verify integrity in audit chain (admin only). AS-IS.