|
expat (2.6.1-2ubuntu0.5) noble-security; urgency=medium
* SECURITY UPDATE: large dynamic memory allocations via a small document
- debian/patches/CVE-2025-59375-1.patch: lib: Make function dtdCreate use
macro MALLOC in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-2.patch: lib: Make string pools use macros
MALLOC, FREE, REALLOC in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-3.patch: lib: Make function hash tables use
macros MALLOC and FREE in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-4.patch: lib: Make function copyString use
macro MALLOC in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-5.patch: lib: Make function dtdReset use
macro FREE in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-6.patch: lib: Make function dtdDestroy use
macro FREE in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-7.patch: lib: Make function dtdCopy use
macro MALLOC in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-8.patch: lib: Implement tracking of dynamic
memory allocations in .github/workflows/data/exported-symbols.txt,
expat/lib/expat.h, expat/lib/internal.h, expat/lib/libexpat.def.cmake,
expat/lib/xmlparse.c, expat/tests/basic_tests.c,
expat/tests/nsalloc_tests.c, expat/xmlwf/xmlwf.c,
expat/xmlwf/xmlwf_helpgen.py.
- debian/patches/CVE-2025-59375-9.patch: lib: Make XML_MemFree and
XML_FreeContentModel match their siblings in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-10.patch: lib: Exclude XML_Mem* functions
from allocation tracking in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-11.patch: lib: Exclude the main input buffer
from allocation tracking in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-12.patch: lib: Exclude the content model
from allocation tracking in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-13.patch: tests: Cover allocation tracking
and limiting with tests in expat/lib/internal.h, expat/lib/xmlparse.c,
expat/tests/alloc_tests.c.
- debian/patches/CVE-2025-59375-14.patch: xmlwf: Wire allocation tracker
config to existing arguments -a and -b in expat/doc/xmlwf.xml,
expat/xmlwf/xmlwf.c, expat/xmlwf/xmlwf_helpgen.py.
- debian/patches/CVE-2025-59375-15.patch: fuzz: Be robust towards NULL
return from XML_ExternalEntityParserCreate in
expat/fuzz/xml_parse_fuzzer.c, expat/fuzz/xml_parsebuffer_fuzzer.c.
- debian/patches/CVE-2025-59375-16.patch: lib: Document and regression-proof
absence of integer overflow from expat_realloc in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-17.patch: lib: Fix alignment of internal
allocations for some non-amd64 architectures in expat/lib/internal.h,
expat/lib/xmlparse.c, expat/tests/alloc_tests.c.
- debian/patches/CVE-2025-59375-18.patch: tests: Fix test guard for test
related to allocation tracking in expat/tests/alloc_tests.c.
- debian/patches/CVE-2025-59375-19.patch: tests: Add new test
test_alloc_tracker_pointer_alignment in expat/tests/alloc_tests.c.
- debian/patches/CVE-2025-59375-20.patch: lib: Fix detection of asynchronous
tags in entities in expat/lib/xmlparse.c.
- debian/patches/CVE-2025-59375-21.patch: tests: Cover
XML_ERROR_ASYNC_ENTITY cases in expat/tests/misc_tests.c.
- debian/patches/CVE-2025-59375-22.patch: tests: Add line/column checks to
async entity tests in expat/tests/misc_tests.c.
- CVE-2025-59375
* SECURITY UPDATE: NULL function-pointer dereference
- debian/patches/CVE-2026-32776.patch: Fix NULL function-pointer dereference
for empty external parameter entities in expat/lib/xmlparse.c,
expat/tests/basic_tests.c.
- CVE-2026-32776
* SECURITY UPDATE: infinite loop while parsing DTD content
- debian/patches/CVE-2026-32777-1.patch: lib: Reject XML_TOK_INSTANCE_START
infinite loop in entityValueProcessor in expat/lib/xmlparse.c.
- debian/patches/CVE-2026-32777-2.patch: misc_tests.c: Cover
XML_TOK_INSTANCE_START infinite loop case in expat/tests/misc_tests.c.
- CVE-2026-32777
* SECURITY UPDATE: NULL pointer dereference
- debian/patches/CVE-2026-32778-1.patch: copy prefix name to pool before
lookup in expat/lib/xmlparse.c.
- debian/patches/CVE-2026-32778-2.patch: test that we do not end up with a
zombie PREFIX in the pool in expat/tests/nsalloc_tests.c.
- CVE-2026-32778
* SECURITY UPDATE: denial of service via moderately sized crafted XML input
- debian/patches/CVE-2026-45186-1.patch: Make
"counting_start_element_handler" count default attrs in
expat/tests/basic_tests.c, expat/tests/handlers.c, expat/tests/handlers.h.
- debian/patches/CVE-2026-45186-2.patch: test(attlist): Cover duplicate
attribute names in expat/tests/basic_tests.c.
- debian/patches/CVE-2026-45186-3-pre.patch: tests: Migrate test_attributes
off of g_parser in expat/tests/basic_tests.c.
- debian/patches/CVE-2026-45186-3.patch: tests: Define .attributes the first
time around in expat/tests/basic_tests.c.
- debian/patches/CVE-2026-45186-4.patch: tests: Make
counting_start_element_handler enforce complete attribute lists in
expat/tests/handlers.c.
- debian/patches/CVE-2026-45186-5.patch: lib: Extract a constant for
upcoming reuse in expat/lib/xmlparse.c.
- debian/patches/CVE-2026-45186-6.patch: lib: Introduce
ELEMENT_TYPE.defaultAttsNames in expat/lib/xmlparse.c.
- debian/patches/CVE-2026-45186-7.patch: lib: Leverage
ELEMENT_TYPE.defaultAttsNames for attribute collision detection in
expat/lib/xmlparse.c.
- CVE-2026-45186
* SECURITY UPDATE: hash flooding caused by insufficient entropy
- debian/patches/CVE-2026-41080-1-pre.patch: lib/xmlparse.c: Address clang-
tidy warning misc-no-recursion in expat/lib/xmlparse.c.
- debian/patc
|