# CVE-2018-18751

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-10-28 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-18751, MGASA-2018-0464, SUSE-SU-2020:2296-1, SUSE-SU-2021:4060-1, openSUSE-SU-2020:1385-1, RHSA-2019:3643, RHSA-2020:1138, RHSA-2020:2485, RHSA-2020:2846, UBUNTU-CVE-2018-18751, USN-3815-1, DEBIAN-CVE-2018-18751, openSUSE-SU-2020:1270-1, openSUSE-SU-2020:1278-1
- Record: https://cvemate.com/vulnerability/CVE-2018-18751 · JSON: https://cvemate.com/vulnerability/CVE-2018-18751/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 4.257%, percentile 91.338%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 29)

- alpine gettext (Alpine Linux): \< 0.20.1-r0
- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 18.04 \| 18.10
- debian gettext (Debian): \< 0.19.8.1-9
- ubuntu gettext (Ubuntu): \< 0.18.3.1-1ubuntu3.1 \| \< 0.19.7-2ubuntu3.1 \| \< 0.19.8.1-6ubuntu0.1
- gnu gettext: 0.19.8
- mageia gettext (Mageia): \< 0.19.8.1-1.1.mga6
- redhat enterprise\_linux: 7.0
- opensuse gettext-csharp&distro=openSUSE Leap 15.1 (openSUSE): \< 0.19.8.1-lp151.5.3.1
- opensuse gettext-csharp&distro=openSUSE Leap 15.2 (openSUSE): \< 0.19.8.1-lp152.6.3.1
- opensuse gettext-java&distro=openSUSE Leap 15.1 (openSUSE): \< 0.19.8.1-lp151.5.3.1
- opensuse gettext-java&distro=openSUSE Leap 15.2 (openSUSE): \< 0.19.8.1-lp152.6.3.1
- opensuse gettext-runtime-mini&distro=openSUSE Leap 15.1 (openSUSE): \< 0.19.8.1-lp151.5.3.1
- opensuse gettext-runtime-mini&distro=openSUSE Leap 15.2 (openSUSE): \< 0.19.8.1-lp152.6.3.1
- opensuse gettext-runtime&distro=openSUSE Leap 15.1 (openSUSE): \< 0.19.8.1-lp151.5.3.1
- opensuse gettext-runtime&distro=openSUSE Leap 15.2 (openSUSE): \< 0.19.8.1-lp152.6.3.1
- redhat emacs-gettext (Red Hat): \< 0:0.19.8.1-3.el7 \| \< 0:0.19.8.1-3.el7\_7 \| \< 0:0.19.8.1-3.el7\_6
- redhat gettext (Red Hat): \< 0:0.19.8.1-17.el8 \| \< 0:0.19.8.1-3.el7 \| \< 0:0.19.8.1-3.el7\_7 \| \< 0:0.19.8.1-3.el7\_6
- redhat gettext-common-devel (Red Hat): \< 0:0.19.8.1-17.el8 \| \< 0:0.19.8.1-3.el7 \| \< 0:0.19.8.1-3.el7\_7 \| \< 0:0.19.8.1-3.el7\_6
- redhat gettext-debuginfo (Red Hat): \< 0:0.19.8.1-17.el8 \| \< 0:0.19.8.1-3.el7 \| \< 0:0.19.8.1-3.el7\_7 \| \< 0:0.19.8.1-3.el7\_6
- redhat gettext-debugsource (Red Hat): \< 0:0.19.8.1-17.el8

## References (first 20 of 39)

- <https://usn.ubuntu.com/3815-2/>
- <https://usn.ubuntu.com/3815-1/>
- <https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption>
- <https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree>
- <https://access.redhat.com/errata/RHSA-2019:3643>
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00061.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00065.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00025.html>
- <https://security.alpinelinux.org/vuln/CVE-2018-18751>
- <https://advisories.mageia.org/MGASA-2018-0464.html>
- <https://bugs.mageia.org/show_bug.cgi?id=23843>
- <https://www.suse.com/support/update/announcement/2020/suse-su-20202296-1/>
- <https://bugzilla.suse.com/1106843>
- <https://bugzilla.suse.com/1113719>
- <https://bugzilla.suse.com/941629>
- <https://www.suse.com/security/cve/CVE-2018-18751>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20214060-1/>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RLHFK26OHKQS4FLZJVNXTH3I2YQAMAR5/>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.1_release_notes/>

---

Data as of 2026-12-05T13:26:06.938Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
