| Name | CVE-2026-76957 |
| Description | libexpat before 2.8.4 lacks handler call depth tracking with custom encoding callbacks. Thus, a use-after-free can occur. NOTE: this is similar to CVE-2026-50219, CVE-2026-56131 and CVE-2026-56412. |
| 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) |
| References | DLA-4765-1, DSA-6566-1 |
| Debian Bugs | 1144927 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| expat (PTS) | bookworm | 2.5.0-1+deb12u2 | vulnerable |
| bookworm (security) | 2.5.0-1+deb12u4 | fixed | |
| trixie | 2.8.3-1~deb13u1 | vulnerable | |
| trixie (security) | 2.9.0-1~deb13u1 | fixed | |
| forky, sid | 2.9.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| expat | source | bookworm | 2.5.0-1+deb12u3 | DLA-4765-1 | ||
| expat | source | trixie | 2.9.0-1~deb13u1 | DSA-6566-1 | ||
| expat | source | (unstable) | 2.8.4-1 | 1144927 |
https://github.com/libexpat/libexpat/pull/1322
Fixed by: https://github.com/libexpat/libexpat/commit/127b7d4beb8fe7e5ce5cb021c2e56379c95863d0 (R_2_8_4)
Fixed by: https://github.com/libexpat/libexpat/commit/acbd2e1179c04fe9a8c3f3837701904d05de71fc (R_2_8_4)