GNOME libxml2
cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*
- < 2.12.10
- >= 2.13.0, < 2.13.6
A NULL pointer dereference vulnerability has been identified in Libxml2 versions prior to 2.12.10 and 2.13.0 prior to 2.13.6. The issue occurs in the 'xmlPatMatch' function within 'pattern.c', where the pattern compiler incorrectly handles explicit 'child' axes, leading to a runtime error. This vulnerability can be exploited to cause a Denial of Service (DoS).
Exploitation of this vulnerability leads to a NULL pointer dereference, causing a runtime error and potentially allowing for a Denial of Service (DoS) condition.
The vulnerability can be reproduced by using 'xmllint' with the '--walker' or '--stream --pattern' options, which are primarily intended for debugging. The issue arises when a pattern is applied that includes the 'child' axis, causing the pattern compiler to use 'XML_OP_CHILD' instead of the correct 'XML_OP_ELEM', resulting in a NULL pointer dereference when the pattern is matched.
Users should upgrade to Libxml2 version 2.12.10 or 2.13.6.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.