CVE Vulnerabilities

CVE-2018-18751

Double Free

Published: Oct 29, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
4 LOW
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
GettextGnu0.19.8 (including)0.19.8 (including)
Red Hat Enterprise Linux 7RedHatgettext-0:0.19.8.1-3.el7*
Red Hat Enterprise Linux 7.6 Extended Update SupportRedHatgettext-0:0.19.8.1-3.el7_6*
Red Hat Enterprise Linux 7.7 Extended Update SupportRedHatgettext-0:0.19.8.1-3.el7_7*
Red Hat Enterprise Linux 8RedHatgettext-0:0.19.8.1-17.el8*
GettextUbuntubionic*
GettextUbuntucosmic*
GettextUbuntudevel*
GettextUbuntuesm-infra-legacy/trusty*
GettextUbuntuesm-infra/bionic*
GettextUbuntuesm-infra/xenial*
GettextUbuntutrusty*
GettextUbuntutrusty/esm*
GettextUbuntuxenial*

Potential Mitigations

References