{"cve":"CVE-2018-20969","nvd":{"published":"2019-08-16T04:15:09.860","modified":"2026-06-17T01:53:50.847","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-78"],"references":["http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","https://access.redhat.com/errata/RHSA-2019:2798","https://access.redhat.com/errata/RHSA-2019:2964","https://access.redhat.com/errata/RHSA-2019:3757","https://access.redhat.com/errata/RHSA-2019:3758"],"products":["gnu:patch"],"source":"nvd","synced_at":"2026-10-19T20:58:39.700375520+00:00"},"epss":{"cve":"CVE-2018-20969","score":0.02684,"percentile":0.85838,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}