libexpatに整数オーバーフローの脆弱性、heap破壊やアプリ停止のおそれ
Summary
libexpatの2.9.0までには、属性数が過大なXMLを処理させると整数オーバーフローが起き、範囲外への書き込みが発生する脆弱性があります。攻撃を受けるとアプリケーションが停止したり、ヒープ上のメモリが壊れたりするおそれがあります。CVSSv3は5.9、CVSSv4は8.2で、悪用は公表されていません。修正版の情報は公開されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
libexpatの2.9.0までには、属性数が過大なXMLを処理させると整数オーバーフローが起き、範囲外への書き込みが発生する脆弱性があります。攻撃を受けるとアプリケーションが停止したり、ヒープ上のメモリが壊れたりするおそれがあります。CVSSv3は5.9、CVSSv4は8.2で、悪用は公表されていません。修正版の情報は公開されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| libexpatlibexpat |
≤ 2.9.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-118370 expat Fix available
- BellSoft Alpaquita BELL-CVE-2026-118370 expat Fix available
- Debian DEBIAN-CVE-2026-118370 expat Fix available
- Ubuntu UBUNTU-CVE-2026-118370 expat Fix available
Original description The description as published by the source.
libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com