Live threats

All CVEs / Gnu

CVE-2018-20969Gnu Patch

High 7.8

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.

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
gnupatch≤ 2.7.6

Official sources

References

Links published by the sources. Open them with care.