Buffer Overflow Affecting libxml2-static package, versions <0:2.10.4-1.amzn2023.0.20


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (5th 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-AMZN2023-LIBXML2STATIC-18530271
  • published5 Aug 2026
  • disclosed29 Jun 2026

Introduced: 29 Jun 2026

CVE-2026-11979  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libxml2-static to version 0:2.10.4-1.amzn2023.0.20 or higher.
This issue was patched in ALAS2023-2026-1992.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxml2-static package and not the libxml2-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

libxml2 is vulnerable to multiple stack-based buffer overflows in the xmlcatalog utility when running in --shell mode. The usershell() function processes user input using fixed-size stack buffers without proper bounds checking. By supplying an overly long input line, an attacker can overflow internal buffers (command, arg, and argv) during input parsing. This results in memory corruption within the stack frame. Successful exploitation may cause a crash or potentially allow arbitrary code execution in the context of the xmlcatalog process.

This issue has been fixed in the commit c2e233fc.

NOTE: The maintainers of this project did not agree that this issue is a vulnerability and considered it a bug.

CVSS Base Scores

version 3.1