Nixpkgs Security Tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Untriaged
(browse all)
created 5 hours ago
Libxml2: memory leak leading to local denial of service in xmllint interactive shell

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.

Affected products

rhcos
libxml2

Matching in nixpkgs

pkgs.python314Packages.libxml2

XML parsing library for C

pkgs.perl5Packages.AlienLibxml2

Install the C libxml2 library on your system

pkgs.perl540Packages.AlienLibxml2

Install the C libxml2 library on your system

pkgs.tests.pkg-config.defaultPkgConfigPackages."libxml-2.0"

Test whether libxml2-2.14.4-unstable-2025-06-20 exposes pkg-config modules libxml-2.0

Package maintainers