{"id":"CVE-2018-18751","details":"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.","modified":"2026-04-16T06:22:18.329672930Z","published":"2018-10-29T12:29:09.617Z","related":["ALSA-2019:3643","SUSE-SU-2020:2296-1","SUSE-SU-2021:4060-1","openSUSE-SU-2020:1270-1","openSUSE-SU-2020:1278-1","openSUSE-SU-2020:1385-1"],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00061.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00065.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00025.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3643"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3815-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3815-2/"},{"type":"EVIDENCE","url":"https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree"},{"type":"EVIDENCE","url":"https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18751.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"0.19.8"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.10"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}