CVEfocus › CVE database › CVE-2018-18751

CVE-2018-18751

EPSS 4.3% (higher than 91% of CVEs)Published 2018-10-28Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

34Fixed
4Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04gettextFixed0.19.8.1-6ubuntu0.1UBUNTU-CVE-2018-18751
Ubuntu 16.04gettextFixed0.19.7-2ubuntu3.1UBUNTU-CVE-2018-18751
Ubuntu 14.04gettextFixed0.18.3.1-1ubuntu3.1UBUNTU-CVE-2018-18751
Debian 14gettextFixed0.19.8.1-9DEBIAN-CVE-2018-18751
Debian 13gettextFixed0.19.8.1-9DEBIAN-CVE-2018-18751
Debian 12gettextFixed0.19.8.1-9DEBIAN-CVE-2018-18751
Red Hat Enterprise Linux 8gettextFixed0:0.19.8.1-17.el8RHSA-2019:3643
Red Hat Enterprise Linux 8gettext-common-develFixed0:0.19.8.1-17.el8RHSA-2019:3643
Red Hat Enterprise Linux 8gettext-develFixed0:0.19.8.1-17.el8RHSA-2019:3643
Red Hat Enterprise Linux 8gettext-libsFixed0:0.19.8.1-17.el8RHSA-2019:3643
Red Hat Enterprise Linux 8mingw32-gettextFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-gettext-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-gettextFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-gettext-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7emacs-gettextFixed0:0.19.8.1-3.el7RHSA-2020:1138
Red Hat Enterprise Linux 7gettextFixed0:0.19.8.1-3.el7RHSA-2020:1138
Red Hat Enterprise Linux 7gettext-common-develFixed0:0.19.8.1-3.el7RHSA-2020:1138
Red Hat Enterprise Linux 7gettext-develFixed0:0.19.8.1-3.el7RHSA-2020:1138
Red Hat Enterprise Linux 7gettext-libsFixed0:0.19.8.1-3.el7RHSA-2020:1138
Red Hat Enterprise Linux 6gettextNot affected
Red Hat Enterprise Linux 6gettext-develNot affected
Red Hat Enterprise Linux 6gettext-libsNot affected
Red Hat Enterprise Linux 5gettextNot affected
AlmaLinux 8gettextFixed0.19.8.1-17.el8ALSA-2019:3643
AlmaLinux 8gettext-common-develFixed0.19.8.1-17.el8ALSA-2019:3643
AlmaLinux 8gettext-develFixed0.19.8.1-17.el8ALSA-2019:3643
AlmaLinux 8gettext-libsFixed0.19.8.1-17.el8ALSA-2019:3643
Rocky Linux 8gettextFixed0:0.19.8.1-17.el8RLSA-2019:3643
Alpine Linux 3.24gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.23gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.22gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.21gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.20gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.19gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.18gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.17gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.16gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.15gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.14gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.13gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.12gettextFixed0.20.1-r0ALPINE-CVE-2018-18751
Alpine Linux 3.11gettextFixed0.20.1-r0ALPINE-CVE-2018-18751

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.