---
id: CVE-2026-6732
title: A flaw was found in libxml2
summary: >-
  A flaw was found in libxml2. This vulnerability occurs when the library
  processes a specially crafted XML Schema Definition (XSD) validated document
  that includes an internal entity reference. An attacker could exploit this by
  providing …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-843
vendor: xmlsoft
product: libxml2
affected:
  - 'libxml2 >= 2.13.0, < 2.15.3'
  - hardened_images
  - jboss_core_services
  - openshift_container_platform = 4.0
  - enterprise_linux = 6.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
  - 'vios >= 4.1.0, < 4.1.1.30'
  - vios = 4.1.2.0
  - 'aix >= 7.2.5, < 7.2.5.12'
  - 'aix >= 7.3.2, < 7.3.3.3'
  - aix = 7.3.4
patched:
  - libxml2 2.15.3
  - vios 4.1.1.30
  - aix 7.3.3.3
published: '2026-04-23'
updated: '2026-06-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-6732'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:11503'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-6732'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2461300'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/issues/1097'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/411'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00632
epssPercentile: 0.48942
ingestedAt: '2026-07-01T09:50:45.521Z'
---

## Overview

A flaw was found in libxml2. This vulnerability occurs when the library processes a specially crafted XML Schema Definition (XSD) validated document that includes an internal entity reference. An attacker could exploit this by providing a malicious document, leading to a type confusion error that causes the application to crash. This results in a denial of service (DoS), making the affected system or application unavailable.

## Affected

- `libxml2 >= 2.13.0, < 2.15.3`
- `hardened_images`
- `jboss_core_services`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 6.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`
- `vios >= 4.1.0, < 4.1.1.30`
- `vios = 4.1.2.0`
- `aix >= 7.2.5, < 7.2.5.12`
- `aix >= 7.3.2, < 7.3.3.3`
- `aix = 7.3.4`

## Remediation

Upgrade past the affected range:

- `libxml2 2.15.3`
- `vios 4.1.1.30`
- `aix 7.3.3.3`
