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, 91.2th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 1 other repository (blackberry/UBCIS). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3815-2 (vendor-advisory, Third Party Advisory)
- USN-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)
- RHSA-2019:3643 (vendor-advisory)
- openSUSE-SU-2020:1270 (vendor-advisory)
- openSUSE-SU-2020:1278 (vendor-advisory)
- openSUSE-SU-2020:1385 (vendor-advisory)