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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.25% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 90.6% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-10-28 17:00Z8 YR AGO
- Last updated
- 2024-08-05 11:16Z2 YR AGO
- Reserved
- 2018-10-28
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- e2e8157452bc4f76184a7a80017d1eb07820431f1942d60478803dd5d754d1e3
05 Affected products
06 References
- usn.ubuntu.comUSN-3815-2https://usn.ubuntu.com/3815-2/
- usn.ubuntu.comUSN-3815-1https://usn.ubuntu.com/3815-1/
- github.comhttps://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption
- github.comhttps://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree
- access.redhat.comRHSA-2019:3643https://access.redhat.com/errata/RHSA-2019:3643
- lists.opensuse.orgopenSUSE-SU-2020:1270http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00061.html
- lists.opensuse.orgopenSUSE-SU-2020:1278http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00065.html
- lists.opensuse.orgopenSUSE-SU-2020:1385http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00025.html
07 Fixed in
AlmaLinux 8
- gettext Fixed in 0.19.8.1-17.el8
- gettext-common-devel Fixed in 0.19.8.1-17.el8
- gettext-devel Fixed in 0.19.8.1-17.el8
- gettext-libs Fixed in 0.19.8.1-17.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- gettext Fixed in 0.20.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- gettext Fixed in 0.19.8.1-17.el8
- gettext-common-devel Fixed in 0.19.8.1-17.el8
- gettext-devel Fixed in 0.19.8.1-17.el8
- gettext-libs Fixed in 0.19.8.1-17.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- gettext Fixed in 0.19.8.1-9
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- gettext Fixed in 0.19.8.1-9
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- gettext Fixed in 0.19.8.1-9
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- gettext Fixed in 0.18.3.1-1ubuntu3.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- gettext Fixed in 0.19.7-2ubuntu3.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- gettext Fixed in 0.19.8.1-6ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.