{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-20969","published":"2019-08-16T04:15:09.860000Z","last_modified":"2026-06-17T01:53:50.847000Z","status":"Modified","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"patch","version_end_including":"2.7.6"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/patch"],"epss":{"score":0.02706,"percentile":0.86717,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2018-20969/","html_en":"/en/cve/CVE-2018-20969/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20969","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20969"},"untrusted":{"vendor_name":"Gnu","product_name":"Patch","desc_en":"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.","affected":[],"references":[{"url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2798","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:2964","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:3757","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:3758","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:4061","tags":[]},{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/irsl/gnu-patch-vulnerabilities","tags":[]},{"url":"https://seclists.org/bugtraq/2019/Aug/29","tags":["Exploit","Mailing List","Patch","Third Party Advisory"]}]}}