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. References: https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/doublefree https://github.com/CCCCCrash/POCs/tree/master/Bin/Tools-gettext-0.19.8.1/heapcorruption
Created gettext tracking bugs for this issue: Affects: fedora-all [bug 1647044] Created mingw-gettext tracking bugs for this issue: Affects: epel-7 [bug 1647045] Affects: fedora-all [bug 1647047]
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.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2019:3643 https://access.redhat.com/errata/RHSA-2019:3643
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2018-18751
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:1138 https://access.redhat.com/errata/RHSA-2020:1138
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.7 Extended Update Support Via RHSA-2020:2485 https://access.redhat.com/errata/RHSA-2020:2485
This issue has been addressed in the following products: Red Hat Enterprise Linux 7.6 Extended Update Support Via RHSA-2020:2846 https://access.redhat.com/errata/RHSA-2020:2846