Use After Free Affecting libxml2 package, versions [,2.11.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBXML2-17660958
  • published28 Jun 2026
  • disclosed22 Jun 2026
  • creditGeoffrey Humphreys

Introduced: 22 Jun 2026

NewCVE-2026-6653  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.11.3 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the xmlParseInternalSubset function when processing specially crafted XML input with improper entity resolution handling. An attacker can cause the application to crash by supplying malicious XML data.

CVSS Base Scores

version 4.0
version 3.1