GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited…
Priority MEDIUM 41CWE-78Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 13 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
EPSS 0.04493 91st percentileScored 2026-11-07
Fix Partial Red Hat: 5 advisoriesRed Hat: 13 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gnu:patch:2.7.6:*:*:*:*:*:*:* | 2.7.6 | Vulnerable | GNU |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:a:gnu:patch:2.7.6:*:*:*:*:*:*:* Versions 2.7.6 Vulnerable ·GNU
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
Red Hat 5 advisories
- RHSA-2019:4061 Released 2019-12-03 · Red Hat rating Importantpatch security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) patch-2.7.1-11.el7_4
- Red Hat Enterprise Linux Server E4S (v. 7.4) patch-2.7.1-11.el7_4
- Red Hat Enterprise Linux Server TUS (v. 7.4) patch-2.7.1-11.el7_4
- RHSA-2019:3758 Released 2019-11-06 · Red Hat rating Importantpatch security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) patch-2.7.1-11.el7_6
- Red Hat Enterprise Linux Server EUS (v. 7.6) patch-2.7.1-11.el7_6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) patch-2.7.1-11.el7_6
- RHSA-2019:3757 Released 2019-11-06 · Red Hat rating Importantpatch security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) patch-2.7.1-11.el7_5
- Red Hat Enterprise Linux Server EUS (v. 7.5) patch-2.7.1-11.el7_5
Show 2 more Red Hat advisories
- RHSA-2019:2964 Released 2019-10-03 · Red Hat rating Importantpatch security update
- Red Hat Enterprise Linux Client (v. 7) patch-2.7.1-12.el7_7
- Red Hat Enterprise Linux ComputeNode (v. 7) patch-2.7.1-12.el7_7
- Red Hat Enterprise Linux Server (v. 7) patch-2.7.1-12.el7_7
- Red Hat Enterprise Linux Workstation (v. 7) patch-2.7.1-12.el7_7
- RHSA-2019:2798 Released 2019-09-19 · Red Hat rating Importantpatch security update
- Red Hat Enterprise Linux BaseOS (v. 8) patch-2.7.6-9.el8_0
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2019:2798 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2964 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2964 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Fixed | RHSA-2019:3757 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2019:3758 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2964 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2019:4061 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2019:4061 |
| Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:3757 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:3758 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2019:4061 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2964 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2019:3758 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2019-13638
- 2026-10-03 Alias added: GHSA-vqpq-8jvg-rwmx
References
Patch 1
Advisory 10
Sources
- CVE-2019-13638 · CVE Program
- CVE-2019-13638 · NVD
- FIRST EPSS
- GHSA-vqpq-8jvg-rwmx · GitHub Advisory Database · CC BY 4.0
- CVE-2019-13638 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences