[PATCH v2 0/8] Fixes for CVE-2026-5435, CVE-2026-6238

Florian Weimer fweimer@redhat.com
Tue Jun 16 16:31:20 GMT 2026


CVE-2026-6238 has multiple vulnerable commits across different glibc
versions.  Technically, this means the CVE ID should be SPLIT.  I'm not
sure if this is worthwhile because I doubt people care about glibc
before version 2.7.

I fixed some generic record type formatting issues and then switched
various record types to it, as Adhemerval suggested (including CERT,
which is largely unused and probably not worth the complexity).  I
believe this version also fixes the style issues Andreas raised.

I found another bug (bug 34289) and fixed that as well.  No security
implications for this one.

Thanks,
Florian

Florian Weimer (8):
  Update GLIBC-SA-2026-0012 to mention A6 records
  resolv: Declare __p_class_syms, __p_type_syms for internal use
  resolv: Fix ns_sprintrrf formatting of class, type values (bug 34289)
  resolv: Improve formatting of unknown records in ns_sprintrrf
  resolv: Check for inet_ntop failure in ns_sprintrrf
  resolv: More types as unknown in ns_sprintrrf (CVE-2026-5435)
  resolv: Fix buffer overreads in ns_sprintrrf (CVE-2026-6238)
  resolv: Add test case tst-ns_sprintrr (bug 34033, bug 34069)

 advisories/GLIBC-SA-2026-0012 |   4 +-
 include/resolv.h              |   5 +
 resolv/Makefile               |   2 +
 resolv/ns_print.c             | 170 ++++++------------
 resolv/res_debug.c            |   4 -
 resolv/tst-ns_sprintrr.c      | 328 ++++++++++++++++++++++++++++++++++
 6 files changed, 390 insertions(+), 123 deletions(-)
 create mode 100644 resolv/tst-ns_sprintrr.c


base-commit: 1cba6073e500c7bde9322a2f536fc0c308846c61
-- 
2.54.0



More information about the Libc-alpha mailing list