SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-20969

do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character.

HIGH 7.8EPSS 2.68%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.68%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

CVSS 3.0
7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.68% probability · 86th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-78
Affected
gnu/patch
Source
cve@mitre.org
EPSS trend
0%3%5%21 September 2026: 4.83%22 September 2026: 2.68%27 October 2026: 2.68%21 September 202627 October 2026

EPSS moved from 4.8% on 21 September 2026 to 2.7% on 27 October 2026.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.