{"id":"JLSEC-2026-13","aliases":["JLSEC-2026-13"],"related":["CVE-2018-20969"],"kind":"vulnerability","state":"published","title":"doedscript in pch.c in GNU patch through 2.7.6 does not block strings beginning with a !","summary":"`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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"jlsec"}],"published":"2026-03-31T16:50:26.988Z","modified":"2026-07-25T18:23:47.198Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C"},{"scorer":"Julia Security Advisories","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.8.0+0"}],"ecosystem":"Julia","package":"patch_jll","purl":"pkg:julia/patch_jll?uuid=c7bec4a6-5215-51fd-b0a3-64ceaaad3a34","source":"jlsec"}],"references":[{"url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2798","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2964","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3757","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3758","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4061","tags":["web"],"sources":["jlsec"]},{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/irsl/gnu-patch-vulnerabilities","tags":["web"],"sources":["jlsec"]},{"url":"https://seclists.org/bugtraq/2019/Aug/29","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-13","url":"https://osv.dev/vulnerability/JLSEC-2026-13","licence":"CC-BY-4.0","modified":"2026-07-25T18:23:47.198Z"}],"updatedAt":"2026-11-25T22:56:25.930Z"}