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


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.18% (41st 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-10753662
  • published16 Jul 2025
  • disclosed15 Jul 2025

Introduced: 15 Jul 2025

NewCVE-2025-6021  (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.29.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.

A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.

CVSS Base Scores

version 3.1