CVE Vulnerabilities

CVE-2025-32415

Improper Validation of Specified Quantity in Input

Published: Apr 17, 2025 | Modified: Nov 03, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

Weakness

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Affected Software

NameVendorStart VersionEnd Version
Libxml2Xmlsoft*2.13.8 (excluding)
Libxml2Xmlsoft2.14.0 (including)2.14.2 (excluding)
Red Hat Enterprise Linux 10RedHatlibxml2-0:2.12.5-9.el10_0*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatlibxml2-0:2.9.1-6.el7_9.13*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-21.el8_10.3*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-21.el8_10.3*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatlibxml2-0:2.9.7-9.el8_2.5*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatlibxml2-0:2.9.7-9.el8_4.8*
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnRedHatlibxml2-0:2.9.7-9.el8_4.8*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatlibxml2-0:2.9.7-13.el8_6.12*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatlibxml2-0:2.9.7-13.el8_6.12*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.7-13.el8_6.12*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatlibxml2-0:2.9.7-16.el8_8.12*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.7-16.el8_8.12*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-12.el9_6*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-12.el9_6*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.13-1.el9_0.7*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatlibxml2-0:2.9.13-3.el9_2.9*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatlibxml2-0:2.9.13-12.el9_4*
Red Hat JBoss Core Services 2.4.62.SP1RedHatlibxml2*
Red Hat OpenShift Container Platform 4.12RedHatrhcos-412.86.202509030110-0*
Red Hat OpenShift Container Platform 4.13RedHatrhcos-413.92.202509030117-0*
Red Hat OpenShift Container Platform 4.14RedHatrhcos-414.92.202508270040-0*
Red Hat OpenShift Container Platform 4.15RedHatrhcos-415.92.202509170209-0*
Red Hat OpenShift Container Platform 4.16RedHatrhcos-416.94.202508261955-0*
Red Hat OpenShift Container Platform 4.17RedHatrhcos-417.94.202508141510-0*
Red Hat OpenShift Container Platform 4.18RedHatrhcos-418.94.202508261658-0*
Red Hat OpenShift Container Platform 4.19RedHatrhcos-4.19.9.6.202508271124-0*
Red Hat Ceph Storage 7RedHatrhceph/rhceph-7-rhel9:sha256:6b79ed10423d954d21dd24c9cb1cf507f6e02c2942ace7fa30cf7af2ffaeb631*
Red Hat Discovery 2RedHatdiscovery/discovery-server-rhel9:sha256:7d200c5dcd40e0885171fe20e3edb5d432a8675080846fb3ba273c601c5957a1*
Red Hat Insights proxy 1.5RedHatinsights-proxy/insights-proxy-container-rhel9:sha256:b7f671263af799e681ccca9b07420c1b5cee369282b5e1520557ee2414618652*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-agent-rhel8:sha256:ef10956a206329b8213fb31855fbcc849d00e1e44adb307985009be2bfdb966e*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-all-in-one-rhel8:sha256:57ef3d922681abc67745773f5f7232b23038767b05b5b4c713c3b5089ea9e295*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-collector-rhel8:sha256:6f60741c03460bfdc70789640b83b8c2611f62bd3971a7eeb8316c895e4cbf48*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-es-index-cleaner-rhel8:sha256:deb807f053dacbbea6e950e13ee123bb8b9184e0d8eca0d04d5e8f48d3ef6a95*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-es-rollover-rhel8:sha256:39b2d56b8f0eb3b539697fc387ae84230182c7e8cf5c184b8ee6c02e29386120*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-ingester-rhel8:sha256:453d643c17511e3e981706e5ba5b88ee8df3334dc38232ecb2069f67e269cc8b*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-operator-bundle:sha256:264613b2add0f32e5f537ee7cf9ba8019e5e9a347fdf20bc3de8d1678157ba66*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-query-rhel8:sha256:2509c7cc0bdf6d001442d2e83e21925b09a59c4b05eef81e98af93327f6f6c6d*
Red Hat OpenShift distributed tracing 3.5.1RedHatrhosdt/jaeger-rhel8-operator:sha256:f61bf9363bf43e6e6f0156d1c2eeeecef927a46e0940062429a47a058da057ab*
Libxml2Ubuntudevel*
Libxml2Ubuntuesm-infra-legacy/trusty*
Libxml2Ubuntuesm-infra/bionic*
Libxml2Ubuntuesm-infra/focal*
Libxml2Ubuntuesm-infra/xenial*
Libxml2Ubuntufocal*
Libxml2Ubuntujammy*
Libxml2Ubuntunoble*
Libxml2Ubuntuoracular*
Libxml2Ubuntuplucky*
Libxml2Ubuntuquesting*
Libxml2Ubuntuupstream*

Extended Description

Specified quantities include size, length, frequency, price, rate, number of operations, time, and others. Code may rely on specified quantities to allocate resources, perform calculations, control iteration, etc.

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References