Heap-based Buffer Overflow Affecting libxml2 package, versions [,2.11.8)[2.12.0,2.12.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (13th 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 IDSNYK-UNMANAGED-LIBXML2-6840348
  • published14 May 2024
  • disclosed13 May 2024
  • creditZhineng Zhong

Introduced: 13 May 2024

CVE-2024-34459  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.11.8, 2.12.7 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow through the xmlHTMLPrintFileContext function in xmllint.c. An attacker can read memory contents that may contain sensitive data by triggering a buffer over-read condition.

CVSS Scores

version 3.1