Stack-based Buffer Overflow Affecting python3-libxml2 package, versions <2.10.3-150500.5.41.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server 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-SLES155-PYTHON3LIBXML2-18010732
  • published18 Jul 2026
  • disclosed17 Jul 2026

Introduced: 17 Jul 2026

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

How to fix?

Upgrade SLES:15.5 python3-libxml2 to version 2.10.3-150500.5.41.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-libxml2 package and not the python3-libxml2 package as distributed by SLES. See How to fix? for SLES:15.5 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