CVE catalog

CVE-2018-20969

patch: CVE-2018-20969

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.68% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpatchsid2.8.1-1fixed
Debianpatchforky2.8.1-1fixed
Debianpatchtrixie2.8-2fixed
Debianpatchbookworm2.7.6-7fixed
Alpinepatch3.102.7.6-r6fixed
Alpinepatch3.112.7.6-r6fixed
Alpinepatch3.122.7.6-r6fixed
Alpinepatch3.132.7.6-r6fixed
Alpinepatch3.142.7.6-r6fixed
Alpinepatch3.152.7.6-r6fixed
Alpinepatch3.162.7.6-r6fixed
Alpinepatch3.172.7.6-r6fixed
Alpinepatch3.182.7.6-r6fixed
Alpinepatch3.192.7.6-r6fixed
Alpinepatch3.202.7.6-r6fixed
Alpinepatch3.212.7.6-r6fixed
Alpinepatch3.222.7.6-r6fixed
Alpinepatch3.232.7.6-r6fixed
Alpinepatch3.242.7.6-r6fixed
Alpinepatch3.92.7.6-r6fixed
Ubuntupatchpro2.7.1-3vulnerable
Ubuntupatchpro2.7.1-4vulnerable
Ubuntupatchpro2.7.1-4ubuntu1vulnerable
Ubuntupatchpro2.7.1-4ubuntu2vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.3vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.4vulnerable
Ubuntupatchpro2.7.1-4ubuntu2.4+esm1fixed
Ubuntupatch16.042.7.5-1vulnerable
Ubuntupatch16.042.7.5-1ubuntu0.16.04.1vulnerable
Ubuntupatch16.042.7.5-1ubuntu0.16.04.2fixed
Ubuntupatch18.042.7.5-1build1vulnerable
Ubuntupatch18.042.7.6-1vulnerable
Ubuntupatch18.042.7.6-2ubuntu1vulnerable
Ubuntupatch18.042.7.6-2ubuntu1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpatchsourcesid2.7.6-5not yet assignedNot reportedNot reported
Debianpatchsourceforky2.7.6-5not yet assignedNot reportedNot reported
Debianpatchsourcetrixie2.7.6-5not yet assignedNot reportedNot reported
Debianpatchsourcebookworm2.7.6-5not yet assignedNot reportedNot reported
Alpinepatchapk3.102.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.112.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.122.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.132.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.142.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.152.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.162.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.172.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.182.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.192.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.202.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.212.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.222.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.232.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.242.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Alpinepatchapk3.92.7.6-r6Not reportedALPINE-CVE-2018-20969Not reported
Ubuntupatchdebpro2.7.1-4ubuntu2.4+esm1Not reportedUBUNTU-CVE-2018-20969Not reported
Ubuntupatchdeb16.042.7.5-1ubuntu0.16.04.2Not reportedUBUNTU-CVE-2018-20969Not reported
Ubuntupatchdeb18.042.7.6-2ubuntu1.1Not reportedUBUNTU-CVE-2018-20969Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [patch]Fixed
    Details (2)
    • 2.7.6-7 · amd64 · bookworm

      Fixed · Fixed: 2.7.6-5

      dsa · patch · debian · bookworm; dsa · patch · debian · 12

    • 2.7.6-7 · arm64 · bookworm

      Fixed · Fixed: 2.7.6-5

      dsa · patch · debian · bookworm; dsa · patch · debian · 12

[Debian 13 (Trixie)]

  • [patch]Fixed
    Details (2)
    • 2.8-2 · amd64 · trixie

      Fixed · Fixed: 2.7.6-5

      dsa · patch · debian · 13

    • 2.8-2 · arm64 · trixie

      Fixed · Fixed: 2.7.6-5

      dsa · patch · debian · 13

Observed:

References