Double Free in GNU Gettext
CVE-2018-18751
An issue was discovered in GNU gettext 0.19.8. There is a double free in default_add_message in read-catalog.c, related to an invalid free in po_gram_parse in po-gram-gen.y, as demonstrated by lt-msgfmt.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.043 (90.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.043 · newest: 0.043 · change: 0.000
Affected products
- GNU Gettext — versions 0.19.8
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Red Hat Enterprise Linux — versions 7.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- usn.ubuntu.com/3815-2/ (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3815-1/ (vendor-advisory, Third Party Advisory)
- github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption (Exploit, Third Party Advisory)
- github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree (Exploit, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:3643 (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00061.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00065.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2020-09/msg00025.html (vendor-advisory)
Frequently asked questions
- What is CVE-2018-18751?
- CVE-2018-18751 is a critical-severity vulnerability in GNU Gettext, classified under Double Free. CVSS score: 9.8/10. Published 2018-10-29.
- How severe is CVE-2018-18751?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2018-18751 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.