gettext: double free in default_add_message in read-catalog.c
Published Oct 28, 2018
9.8
CRITICALCVSS 3.0
EPSS 4.26%
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.
Affected products
No data.
Configuration 2
- 12.04
- 14.04
- 16.04
- 18.04
- 18.10
Configuration 3
- 7.0
No data.
Red Hat Enterprise Linux 7
gettext-0:0.19.8.1-3.el7
Fixed · RHSA-2020:1138
Red Hat Enterprise Linux 7.6 Extended Update Support
gettext-0:0.19.8.1-3.el7_6
Fixed · RHSA-2020:2846
Red Hat Enterprise Linux 7.7 Extended Update Support
gettext-0:0.19.8.1-3.el7_7
Fixed · RHSA-2020:2485
Red Hat Enterprise Linux 8
gettext-0:0.19.8.1-17.el8
Fixed · RHSA-2019:3643
Red Hat Enterprise Linux 5
gettext
Not affected
Red Hat Enterprise Linux 6
gettext
Not affected
Red Hat Enterprise Linux 8
mingw-gettext
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | gettext-0:0.19.8.1-3.el7 | Fixed | RHSA-2020:1138 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | gettext-0:0.19.8.1-3.el7_6 | Fixed | RHSA-2020:2846 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | gettext-0:0.19.8.1-3.el7_7 | Fixed | RHSA-2020:2485 |
| Red Hat Enterprise Linux 8 | gettext-0:0.19.8.1-17.el8 | Fixed | RHSA-2019:3643 |
| Red Hat Enterprise Linux 5 | gettext | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gettext | Not affected | n/a |
| Red Hat Enterprise Linux 8 | mingw-gettext | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.26% (0.04257) | 90.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.29% (0.04293) | 89.82th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.30% (0.01298) | 77.88th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.61% (0.04611) | 81.71th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.30% (0.01298) | 78.33th | v4 (v2025.03.14) |
| Dec 17, 2024 | 4.66% (0.04658) | 92.49th | v3 (v2023.03.01) |
| Jun 16, 2024 | 2.69% (0.02686) | 90.50th | v3 (v2023.03.01) |
| Mar 20, 2024 | 2.53% (0.02531) | 89.92th | v3 (v2023.03.01) |
| Oct 22, 2023 | 2.33% (0.02328) | 88.51th | v3 (v2023.03.01) |
| Jul 8, 2023 | 2.25% (0.02251) | 88.01th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.42% (0.02423) | 88.23th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.86% (0.01865) | 48.06th | v1 |
| Jan 6, 2022 | 1.86% (0.01865) | 47.54th | v1 |
| Sep 1, 2021 | 1.86% (0.01865) | 76.13th | v1 |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (12)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00061.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00065.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00025.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2019:3643 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-18751 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1647043 Issue Tracking
- https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree x_refsource_MISCExploitThird Party Advisory
- https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18751
- https://usn.ubuntu.com/3815-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3815-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18751
Change history (0)
No recorded changes yet.