Memory Leak Affecting libxml2-debuginfo package, versions <0:2.10.4-1.amzn2023.0.18


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (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 Learn

Learn about Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-LIBXML2DEBUGINFO-15435939
  • published6 Mar 2026
  • disclosed2 Feb 2026

Introduced: 2 Feb 2026

CVE-2026-1757  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libxml2-debuginfo to version 0:2.10.4-1.amzn2023.0.18 or higher.
This issue was patched in ALAS2023-2026-1446.

NVD Description

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

A flaw was identified in the interactive shell of the xmllint utility, part of the libxml2 project, where memory allocated for user input is not properly released under certain conditions. When a user submits input consisting only of whitespace, the program skips command execution but fails to free the allocated buffer. Repeating this action causes memory to continuously accumulate. Over time, this can exhaust system memory and terminate the xmllint process, creating a denial-of-service condition on the local system.

CVSS Base Scores

version 3.1