libexpat out-of-bounds write in attribute parsing
libexpat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| libexpat libexpat |
| No fix yet |
Original description
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.
From the CVE record · VulnCheck