CVE-2018-20969Gnu 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
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- Yes
- Published
- Aug 16, 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
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.
What to do
- Apply the vendor's security update for Patch.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | patch | ≤ 2.7.6 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- git.savannah.gnu.org Patch Vendor Advisory
- github.com
- seclists.org Exploit Mailing List Patch