A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Expat | Ubuntu | devel | * |
Expat | Ubuntu | esm-infra-legacy/trusty | * |
Expat | Ubuntu | esm-infra/bionic | * |
Expat | Ubuntu | esm-infra/xenial | * |
Expat | Ubuntu | focal | * |
Expat | Ubuntu | jammy | * |
Expat | Ubuntu | noble | * |
Expat | Ubuntu | oracular | * |
Expat | Ubuntu | upstream | * |
Matanza | Ubuntu | devel | * |
Matanza | Ubuntu | esm-apps/noble | * |
Matanza | Ubuntu | focal | * |
Matanza | Ubuntu | jammy | * |
Matanza | Ubuntu | noble | * |
Matanza | Ubuntu | oracular | * |