{"id":"JLSEC-2026-13","details":"`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.","modified":"2026-07-25T18:23:47.198683749Z","published":"2026-03-31T16:50:26.988Z","upstream":["CVE-2018-20969"],"database_specific":{"license":"CC-BY-4.0","sources":[{"imported":"2026-07-17T21:12:34.012Z","modified":"2026-06-17T01:53:50.847Z","published":"2019-08-16T04:15:09.860Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2018-20969","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20969","database_specific":{"status":"Modified"},"id":"CVE-2018-20969"}]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2798"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:2964"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3757"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:3758"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:4061"},{"type":"WEB","url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0"},{"type":"WEB","url":"https://github.com/irsl/gnu-patch-vulnerabilities"},{"type":"WEB","url":"https://seclists.org/bugtraq/2019/Aug/29"}],"affected":[{"package":{"name":"patch_jll","ecosystem":"Julia","purl":"pkg:julia/patch_jll?uuid=c7bec4a6-5215-51fd-b0a3-64ceaaad3a34"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-13.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:C/I:C/A:C"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}