Description (CNA)
In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| xmlsoft / libxml2 | affected 0 before 2.15.4 |
CWE
CWE-192
References
- https://github.com/GNOME/libxml2/compare/v2.15.3...v2.15.4
- https://github.com/GNOME/libxml2/commit/90f293ba74d28b1d570920382e707586f68ebf35
- https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1111
ADP enrichment
No English description supplied.
No references supplied.