CVE-2026-76641 Expat Out-of-Bounds Read via dtdCopy
HighCVSS 8.7
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Expat through 2.8.3 contains an out-of-bounds read vulnerability that allows attackers to trigger memory corruption by processing XML with external entity parsers created via XML_ExternalEntityParserCreate. A struct size mismatch between ELEMENT_TYPE members causes storeAtts to read the attIndex member past allocated memory boundaries, resulting in failure to normalize whitespace in non-CDATA attributes or a wild pointer dereference causing a segfault. This vulnerability was introduced by the fix for CVE-2026-66046.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libexpat/libexpat | <= 2.8.3 | No fix listed |
| redhat/expat-main(Red Hat:hummingbird:1) | < 2.8.4-0.1.hum1 | 2.8.4-0.1.hum1 |
| redhat/expat(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/compat-expat1(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/expat(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/expat(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/expat(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mingw-expat(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/xmlrpc-c(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/expat(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:22.04) | < 2.4.7-1ubuntu0.9 | 2.4.7-1ubuntu0.9 |
| ubuntu/insighttoolkit4(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libxmltok(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:22.04) | All versions | No fix listed |
| alpine/expat(Alpine:v3.21) | < 2.8.4-r0 | 2.8.4-r0 |
| alpine/expat(Alpine:v3.22) | < 2.8.4-r0 | 2.8.4-r0 |
| alpine/expat(Alpine:v3.23) | < 2.8.4-r0 | 2.8.4-r0 |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/expat(Alpine:v3.24) | < 2.8.4-r0 | 2.8.4-r0 |
| ubuntu/cadaver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:24.04) | < 2.6.1-2ubuntu0.6 | 2.6.1-2ubuntu0.6 |
| ubuntu/matanza(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libxmltok(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/expat(Ubuntu:26.04) | < 2.7.4-1ubuntu0.2 | 2.7.4-1ubuntu0.2 |
| ubuntu/matanza(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/cadaver(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/matanza(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/swish-e(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/tdom(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/wbxml2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/xmlrpc-c(Ubuntu:26.10) | All versions | No fix listed |
References
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:65568 patch vendor-advisory
- Red Hat Bugzilla 2520649 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8813-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2026-76641 vendor-advisory