Live threats

All CVEs / Gnu

CVE-2019-13638Gnu Patch

High 7.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Patch.

Affected products (CPE)

VendorProductVersions
gnupatch2.7.6
debiandebian_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.