In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libxml2 | Xmlsoft | * | 2.13.8 (excluding) |
Libxml2 | Xmlsoft | 2.14.0 (including) | 2.14.2 (excluding) |
Libxml2 | Ubuntu | devel | * |
Libxml2 | Ubuntu | esm-infra/bionic | * |
Libxml2 | Ubuntu | esm-infra/xenial | * |
Libxml2 | Ubuntu | focal | * |
Libxml2 | Ubuntu | jammy | * |
Libxml2 | Ubuntu | noble | * |
Libxml2 | Ubuntu | oracular | * |
Libxml2 | Ubuntu | plucky | * |
Specified quantities include size, length, frequency, price, rate, number of operations, time, and others. Code may rely on specified quantities to allocate resources, perform calculations, control iteration, etc. When the quantity is not properly validated, then attackers can specify malicious quantities to cause excessive resource allocation, trigger unexpected failures, enable buffer overflows, etc.