Vulnerabilities · 2019 · Gnu
CVE-2019-13638
Gnu Patch vulnerability
GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.
Affected products
Patch, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Patch runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 · Patch
- seclists.org/bugtraq/2019/Jul/54 · Third Party Advisory
- security-tracker.debian.org/tracker/CVE-2019-13638 · Third Party Advisory
- www.debian.org/security/2019/dsa-4489 · Third Party Advisory
- packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- access.redhat.com/errata/RHSA-2019:2798
- access.redhat.com/errata/RHSA-2019:2964
- access.redhat.com/errata/RHSA-2019:3757
- nvd.nist.gov/vuln/detail/CVE-2019-13638
- cve.org/CVERecord?id=CVE-2019-13638
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.