---
id: CVE-2023-29469
title: An issue was discovered in libxml2 before 2.10.4
summary: >-
  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 doub…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-415
vendor: xmlsoft
product: libxml2
affected:
  - libxml2 < 2.10.4
  - debian_linux = 10.0
patched:
  - libxml2 2.10.4
published: '2023-04-24'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T23:17:17.977'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-29469'
references:
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/issues/510'
    label: cve@mitre.org
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4'
    label: cve@mitre.org
  - url: 'https://lists.debian.org/debian-lts-announce/2023/04/msg00031.html'
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20230601-0006/'
    label: cve@mitre.org
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/issues/510'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2023/04/msg00031.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20230601-0006/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-341067.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-556635.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-625862.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-769027.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.01005
epssPercentile: 0.62204
ingestedAt: '2026-10-15T00:02:07.133Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-02-04T21:02:27.695033Z'
---

## Overview

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).

## Affected

- `libxml2 < 2.10.4`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `libxml2 2.10.4`
