{"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-03-31T17:00:16.800245Z","published":"2026-03-31T16:50:26.988Z","upstream":["CVE-2018-20969"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2018-20969","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20969","imported":"2026-03-31T16:10:31.560Z","modified":"2024-11-21T04:02:35.423Z","published":"2019-08-16T04:15:09.860Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=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"},{"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"}