Opened 3 weeks ago

Closed 7 days ago

#6012 closed enhancement (fixed)

expat-2.8.4

Reported by: Bruce Dubbs Owned by: SecurityAdvisory
Priority: normal Milestone: 13.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (4)

comment:1 by Joe Locash, 3 weeks ago

This is a security update.

Message-ID: <682cf455-567c-435a-b122-b796f3f2d51a@pipping.org>
Date: Mon, 31 Aug 2026 18:18:50 +0200
From: Sebastian Pipping <sebastian@...ping.org>
To: oss-security@...ts.openwall.com
Subject: libexpat 2.8.4 fixes 4 vulnerabilities

Hello oss-security,


just a quick note that libexpat 2.8.4 (or "Expat 2.8.4") released today
is fixing four vulnerabilities:

- CVE-2026-66046
- CVE-2026-76641
- CVE-2026-76956
- CVE-2026-76957

The related part of the change log is this:

   #1321 #1331  CVE-2026-66046, CVE-2026-76641 -- Fix quadratic runtime
                  from "attribute isCdata lookups" that allowed denial of
                  service attacks through moderately sized crafted XML
                  input (CWE-407).
                  The vulnerability is closely related to past
                  CVE-2026-45186 that was fixed with Expat 2.8.1.
                  Please note that a layer of compression around XML can
                  significantly reduce the minimum attack payload size.
                  Upstream CVSS 3.1 vector:
                  AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS score: 7.5)
                  (Note the "AV:N" for network/remote.)
         #1322  CVE-2026-76957 -- Protect custom encoding callbacks from
                  parser re-entry. The vulnerability is closely related
                  to past issues CVE-2026-50219, CVE-2026-56131 and
                  CVE-2026-56412 that were all fixed with Expat 2.8.2.
         #1326  CVE-2026-76956 -- Fix inverted getentropy() return
                  handling; allowed for hash flooding denial of services
                  in configurations where getentropy is configured or
                  detected as the only high quality entropy extractor.
                  Upstream CVSS 3.1 vector:
                  AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS score: 5.9)
                  (Note the "AV:N" for network/remote.)

Some key links are:

- The blog post about it
   https://blog.hartwork.org/posts/expat-2-8-4-released/

- The full change log of release 2.8.4
   https://github.com/libexpat/libexpat/blob/R_2_8_4/expat/Changes

- The fixing pull requests
   - https://github.com/libexpat/libexpat/pull/1321
   - https://github.com/libexpat/libexpat/pull/1322
   - https://github.com/libexpat/libexpat/pull/1326
   - https://github.com/libexpat/libexpat/pull/1331

- The NVD CVE metadata
   - https://nvd.nist.gov/vuln/detail/cve-2026-66046
   - https://nvd.nist.gov/vuln/detail/cve-2026-76641
   - https://nvd.nist.gov/vuln/detail/cve-2026-76956
   - https://nvd.nist.gov/vuln/detail/cve-2026-76957

comment:2 by Bruce Dubbs, 7 days ago

Other changes:
     CMake: Only add `/source-charset:utf-8` when `/utf-8` is not
            present
     lib:   Resolve (currently unreachable) undefined behavior from
            overshifting a signed int to the left
     lib:   Support read-only hash table lookup with keys that are
            not zero-terminated
     lib:   Use a C99 bool for `ENTITY.open`
            Fix typo in comment
            Sync file headers
     Version info bumped from 13:3:12 (libexpat*.so.1.12.3)
     to 13:4:12 (libexpat*.so.1.12.4); see https://verbump.de/
     for what these numbers do

Infrastructure:
     CI: Cover compilation and execution with Fil-C
     CI: Cover compilation and execution on riscv64
     CI: Cover compilation and execution with Clang-based MinGW
     CI: Cover compilation and execution on (big-endian) s390x
     CI: Run test suite with musl, also
     CI: Bump WASI SDK from 33 to 34
     CI: Bump Clang from 22 to 23

comment:3 by Bruce Dubbs, 7 days ago

Owner: changed from lfs-book to SecurityAdvisory

Updated at commit 9a4ceea7b. Leaving open for advisories.

comment:4 by Bruce Dubbs, 7 days ago

Resolution: fixed
Status: newclosed

Advisory sa-13.1-022 has been issued.

Note: See TracTickets for help on using tickets.