CVE-2023-29469 Use after free in n/a

Medium 6.5 Published Updated

A double free vulnerability in libxml2 allows attackers to cause memory corruption and potentially execute arbitrary code via crafted XML documents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-29469?

CVE-2023-29469 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).

Weakness: CWE-415

Which versions are affected by CVE-2023-29469?

It affects 2 products.

Products include Debian Debian Linux, Xmlsoft Libxml2.

How do I fix CVE-2023-29469?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-29469 being exploited?

There is no known exploitation of CVE-2023-29469 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-29469, AZL-26282, DEBIAN-CVE-2023-29469, ECHO-cb85-d498-d0e4, GHSA-7jv7-hr35-fwjr, JLSEC-2025-80 and 1 more.

Is CVE-2023-29469 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free