| Name | CVE-2018-5742 | 
| Description | While backporting a feature for a newer branch of BIND9, RedHat introduced a path leading to an assertion failure in buffer.c:420. Affects RedHat versions bind-9.9.4-65.el7 -> bind-9.9.4-72.el7. No ISC releases are affected. Other packages from other distributions who made the same error may also be affected. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| bind9 (PTS) | bullseye | 1:9.16.50-1~deb11u2 | fixed | 
|  | bullseye (security) | 1:9.16.50-1~deb11u3 | fixed | 
|  | bookworm | 1:9.18.33-1~deb12u2 | fixed | 
|  | bookworm (security) | 1:9.18.41-1~deb12u1 | fixed | 
|  | trixie | 1:9.20.11-4 | fixed | 
|  | trixie (security) | 1:9.20.15-1~deb13u1 | fixed | 
|  | forky, sid | 1:9.20.15-2 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| bind9 | source | (unstable) | (not affected) |  |  |  | 
Notes
- bind9 <not-affected> (Introduced via RedHat specific backport of Negative Trust Anchor (NTA) feature)
https://www.openwall.com/lists/oss-security/2018/12/19/6
https://bugzilla.redhat.com/show_bug.cgi?id=1655844
https://bugs.centos.org/view.php?id=15528
Introduced by https://bugzilla.redhat.com/show_bug.cgi?id=1452091