Out-of-bounds Write Affecting libxml2 package, versions [,2.9.14)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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-2807797
  • published4 May 2022
  • disclosed4 May 2022
  • creditUnknown

Introduced: 4 May 2022

CVE-2022-29824  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.14 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in buf.c (xmlBuf*) and tree.c (xmlBuffer*). This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file.

CVSS Scores

version 3.1