cbcvebase.
CVE-2018-1000156
published 2018-04-06

CVE-2018-1000156: GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can…

PriorityP342high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
5.56%
92.0th percentile
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.

Affected

61 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiandebian_linux
debianpatch< patch 2.7.6-5 (bookworm)patch 2.7.6-5 (bookworm)
debianpatch< patch 2.7.6-2 (bookworm)patch 2.7.6-2 (bookworm)
gnupatch
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.6-52.7.6-5
gnupatch>= 0 < 2.7.6-22.7.6-2
gnupatch>= 0 < 2.7.1-4ubuntu2.42.7.1-4ubuntu2.4
gnupatch>= 0 < 2.7.5-1ubuntu0.16.04.12.7.5-1ubuntu0.16.04.1
msrcazl3_patch_2.7.6-9_on_azure_linux_3.0
msrccbl2_patch_2.7.6-7_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64

CVSS provenance

nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.