{"id":"ALPINE-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-06-09T21:31:29.857189178Z","published":"2018-10-29T12:29:09.617Z","upstream":["CVE-2018-18751"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-18751"}],"affected":[{"package":{"name":"gettext","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}},{"package":{"name":"gettext","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/gettext?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-18751.json"}}],"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"}]}