CVE-2018-18751
No exploitation reported by the sources we read.
- Published2018-10-29
- WeaknessCWE-415
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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 lt-msgfmt.
Timeline
dates in UTC- 2018-10-2912:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
| 18.10 | = 18.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.19 | = 0.19.8 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gettextUbuntu:18.04:LTSall versions · fixed in 0.19.8.1-6ubuntu0.1
- gettextUbuntu:16.04:LTSall versions · fixed in 0.19.7-2ubuntu3.1
- gettextUbuntu:14.04:LTSall versions · fixed in 0.18.3.1-1ubuntu3.1
- gettextRocky Linux:8all versions · fixed in 0:0.19.8.1-17.el8
- gettextRed Hat:rhel_eus:7.7::serverall versions · fixed in 0:0.19.8.1-3.el7_7and 5 other packages
- gettextRed Hat:rhel_eus:7.7::computenodeall versions · fixed in 0:0.19.8.1-3.el7_7and 5 other packages
- gettextRed Hat:rhel_eus:7.6::serverall versions · fixed in 0:0.19.8.1-3.el7_6and 5 other packages
- gettextRed Hat:rhel_eus:7.6::computenodeall versions · fixed in 0:0.19.8.1-3.el7_6and 5 other packages
32 more package ranges on OSV.dev
Vendor advisories
gettext: double free in default_add_message in read-catalog.c
mingw32-gettext as a component of Red Hat Enterprise Linux 8 · mingw32-gettext-static as a component of Red Hat Enterprise Linux 8 · mingw64-gettext as a component of Red Hat Enterprise Linux 8 · +1 more
Red Hat Security Advisory: gettext security update
Red Hat Security Advisory: gettext security update
Red Hat Security Advisory: gettext security and bug fix update
Red Hat Security Advisory: gettext security update
Fix
- Vendor fix Red Hat Product Security RHSA-2020:2846 · 54 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2018-18751 · 4 productsFix deferred
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.09.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- NVDweakness (CWE)CWE-415read 2026-10-23
- FIRST EPSSEPSS score4.3 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2018-10467same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3vvp-8645-4qmrsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2025-174same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2019:3643advisory covering several CVEsAlmaLinux · MIT
- MGASA-2018-0464advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2020:1270-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:1278-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:1385-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2019:3643advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:1138advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2485advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:2846advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2019:3643advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2020:2296-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:4060-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3815-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-10-29
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-3vvp-8645-4qmr
Frequently asked questions
What is CVE-2018-18751?
Is CVE-2018-18751 actively exploited?
What is the CVSS score for CVE-2018-18751?
Running gettext? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3vvp-8645-4qmr
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0