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.
CVE-2018-18751
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-13. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 90.0%
- KEV
- Not listed
Published
October 29, 2018
Last Modified
November 21, 2024
Advisory Details (3)
Auto-updated Jun 7, 2026POCs/Bin/Tools-gettext-0.19.8.1/heapcorruption at master · CCCCCrash/POCs · GitHub
https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruptionPOCs/Bin/Tools-gettext-0.19.8.1/doublefree at master · CCCCCrash/POCs · GitHub
https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefreeAffected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2019:3643Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | libgettextpo0 (0.19.7-2ubuntu3.1) @ xenial | 2026-05-28 | ubuntu |
| ubuntu | gettext (0.18.1.1-5ubuntu3.1) @ precise | 2026-05-28 | ubuntu |
| redhat | gettext-0:0.19.8.1-3.el7_6 | 2020-07-07 | redhat |
| redhat | gettext-0:0.19.8.1-3.el7_7 | 2020-06-12 | redhat |
| redhat | gettext-0:0.19.8.1-3.el7 | 2020-03-31 | redhat |
| redhat | gettext-0:0.19.8.1-17.el8 | 2019-11-05 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(6)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2019:3643LOW2018-10-28
RHSA-2019:3643 — Low
- Red HatRHSA-2020:1138LOW2018-10-28
RHSA-2020:1138 — Low
- Red HatRHSA-2020:2485LOW2018-10-28
RHSA-2020:2485 — Low
- Red HatRHSA-2020:2846LOW2018-10-28
RHSA-2020:2846 — Low
- UbuntuUSN-3815-1MEDIUM
gettext vulnerability
- UbuntuUSN-3815-2MEDIUM
gettext vulnerability
Frequently asked(5)
What is CVE-2018-18751?
When was CVE-2018-18751 disclosed?
Is CVE-2018-18751 actively exploited?
What is the CVSS score of CVE-2018-18751?
How do I remediate CVE-2018-18751?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2018-18751
Is Your Infrastructure Affected by CVE-2018-18751?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.