cve.bz

CVE-2018-18751 Double Free

9.8 criticalExploit referenceEPSS 4.3%

Critical (9.8). EPSS 4.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.3% (unchanged from 4.3% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18751 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18751?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18751?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18751 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:gettext0.19.8
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
redhat:enterprise_linux7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14gettext0.19.8.1-9DEBIAN-CVE-2018-18751
Ubuntu14.04:LTSgettext0.18.3.1-1ubuntu3.1UBUNTU-CVE-2018-18751 USN-3815-1
Ubuntu16.04:LTSgettext0.19.7-2ubuntu3.1UBUNTU-CVE-2018-18751 USN-3815-1
Ubuntu18.04:LTSgettext0.19.8.1-6ubuntu0.1UBUNTU-CVE-2018-18751 USN-3815-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moregettext, gettext-libs, emacs-gettext and 3 more0:0.19.8.1-3.el7RHSA-2020:1138
Red Hatenterprise_linux:8::baseosgettext, gettext-libs, gettext-devel and 5 more0:0.19.8.1-17.el8RHSA-2019:3643
Red Hatrhel_eus:7.6::computenode, rhel_eus:7.6::servergettext, gettext-libs, emacs-gettext and 3 more0:0.19.8.1-3.el7_6RHSA-2020:2846
Red Hatrhel_eus:7.7::computenode, rhel_eus:7.7::servergettext, gettext-libs, emacs-gettext and 3 more0:0.19.8.1-3.el7_7RHSA-2020:2485
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2gettext-runtime0.19.8.1-4.8.1SUSE-SU-2020:2296-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5gettext-runtime0.19.2-3.3.6SUSE-SU-2021:4060-1
SUSEPackage Hub 15 SP1gettext-csharp0.19.8.1-bp151.2.1openSUSE-SU-2020:1385-1
openSUSELeap 15.1gettext-java, gettext-csharp, gettext-runtime and 1 more0.19.8.1-lp151.5.3.1openSUSE-SU-2020:1270-1
openSUSELeap 15.2gettext-java, gettext-csharp, gettext-runtime and 1 more0.19.8.1-lp152.6.3.1openSUSE-SU-2020:1278-1
AlmaLinux8gettext, gettext-libs, gettext-devel and 1 more0.19.8.1-17.el8ALSA-2019:3643
Rocky Linux8gettext0:0.19.8.1-17.el8RLSA-2019:3643
Alpinev3.11, v3.12, v3.13 and 11 moregettext0.20.1-r0ALPINE-CVE-2018-18751

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue affects the versions of gettext as shipped with Red Hat Enterprise Linux 7.

This issue did not affect the versions of gettext as shipped with Red Hat Enterprise Linux 5 and 6.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7gettext-0:0.19.8.1-3.el7Fixed 2020-03-31RHSA-2020:1138
Red Hat Enterprise Linux 7.6 Extended Update Supportgettext-0:0.19.8.1-3.el7_6Fixed 2020-07-07RHSA-2020:2846
Red Hat Enterprise Linux 7.7 Extended Update Supportgettext-0:0.19.8.1-3.el7_7Fixed 2020-06-12RHSA-2020:2485
Red Hat Enterprise Linux 8gettext-0:0.19.8.1-17.el8Fixed 2019-11-05RHSA-2019:3643
Red Hat Enterprise Linux 5gettextNot affected
Red Hat Enterprise Linux 6gettextNot affected
Red Hat Enterprise Linux 8mingw-gettextFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18751.

References

Check your stackJSON