CVE Watchtower

CVE-2026-118370libexpat Integer Overflow or Wraparound

NVD

Vulnerability Summary

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.
Severity Level
HIGH(8.2)
Published Date
Oct 28, 2026
Last Modified
Nov 2, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.50%Probability
Root Weakness (CWE)
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes the resulting value will always be larger than the original.
CVSS v4.0 Base Metrics — Score 8.2 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.9)
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • libexpat <= 2.9.0
Patched Versions
  • libexpat 2.9.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run libexpat and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Oct 28, 2026Published
  • Nov 2, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new libexpat CVEsYou are reading CVE-2026-118370. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More libexpat CVEs

Data last checked: Nov 22, 2026 23:12 UTC