High severity · published Jul 26, 2019
CVE-2019-13638
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…
7.8
CVSS
4.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.5% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0; 10.0 · source: NVD
PA
Patch · Gnu
2.7.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-13638
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-13638
packetstormsecurity.com
http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:2798
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:2964
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:3757
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:3758
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:4061
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
