xmlregexp in libxml2 before 2.15.4 has a NULL pointer dereference in xmlRegNewParserCtxt after a strdup failure, i.e., it does not calculate a string length after NULL checking.Referenceshttps://github.com/GNOME/libxml2/compare/v2.15.3...v2.15.4https://github.com/GNOME/libxml2/commit/e89a8aae4c9b40cdafcf66b3f9e57c62db37bb55https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1107