CVE-2019-13638Gnu Patch
High 7.8
Follow: this CVE · Gnu · Gnu Patch We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.0
- 7.8
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- Yes
- Published
- Jul 26, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Patch.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | patch | 2.7.6 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- git.savannah.gnu.org Mailing List Patch Vendor Advisory
- github.com
- lists.fedoraproject.org
- seclists.org
- seclists.org Mailing List Third Party Advisory
- security-tracker.debian.org Third Party Advisory
- security.gentoo.org
- security.netapp.com
- www.debian.org Third Party Advisory