Skip to content
Fencer Vulns
high 7.5

CVE-2022-40303 in the critical feed json

An issue was discovered in libxml2 before 2.10.3

published 2022-11-22 3 y ago modified 2026-10-14 25 d ago also EUVD-2022-43600 , JLSEC-2025-77

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
41.4%
EPSS 41.4% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.

Patch / fix

  • julia XML2_jll 2.10.3+0
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • libxml2 Debian 14, Debian 13, Debian 12 2.9.14+dfsg-1.1

debian advisories DEBIAN-CVE-2022-40303

  • libxml2 Ubuntu 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.8
  • libxml2 Ubuntu 20.04 LTS 2.9.10+dfsg-5ubuntu0.20.04.5
  • libxml2 Ubuntu 22.04 LTS 2.9.13+dfsg-1ubuntu0.2
  • libxml2 Ubuntu Pro 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13+esm4
  • libxml2 Ubuntu Pro 16.04 LTS 2.9.3+dfsg1-1ubuntu0.7+esm4

ubuntu advisories UBUNTU-CVE-2022-40303

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 RHEL 9 2.9.13-3.el9_1
  • python3-libxml2 RHEL 9 2.9.13-3.el9_1
  • libxml2 RHEL 8 2.9.7-15.el8_7.1
  • python3-libxml2 RHEL 8 2.9.7-15.el8_7.1
  • libxml2 RHEL 8.6 EUS 2.9.7-13.el8_6.4
  • python3-libxml2 RHEL 8.6 EUS 2.9.7-13.el8_6.4

red hat advisories RHSA-2024:0413RHSA-2023:0338RHSA-2023:0173

  • libxml2 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +21 more 2.9.7-150000.3.51.1
  • python-libxml2-python SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +22 more 2.9.7-150000.3.51.1
  • libxml2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +6 more 2.9.4-46.59.2
  • python-libxml2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +5 more 2.9.4-46.59.3
  • libxml2 SLE Module for Basesystem 15 SP4, SLE Micro 5.3, openSUSE Leap 15.4 2.9.14-150400.5.10.1
  • libxml2-python SLE Module for Basesystem 15 SP4, SLE Micro 5.3, openSUSE Leap 15.4 2.9.14-150400.5.10.1

suse advisories SUSE-SU-2022:3871-1SUSE-SU-2022:3717-1SUSE-SU-2022:3692-1

  • libxml2 openSUSE Tumbleweed 2.10.3-1.1

opensuse advisories openSUSE-SU-2024:12419-1

  • libxml2 AlmaLinux 9 2.9.13-3.el9_1
  • python3-libxml2 AlmaLinux 9 2.9.13-3.el9_1
  • libxml2 AlmaLinux 8 2.9.7-15.el8_7.1
  • python3-libxml2 AlmaLinux 8 2.9.7-15.el8_7.1

almalinux advisories ALSA-2023:0338ALSA-2023:0173

  • libxml2 Rocky Linux 9 2.9.13-3.el9_1
  • libxml2 Rocky Linux 8 2.9.7-15.el8_7.1

rocky linux advisories RLSA-2023:0338RLSA-2023:0173

  • libxml2 Alpine 3.16, Alpine 3.15, Alpine 3.14 +1 more 2.9.14-r2
  • libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.10.3-r0

alpine advisories ALPINE-CVE-2022-40303

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 CBL-Mariner 2.0 2.10.3-1

azure linux advisories AZL-11471

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-40303 updated cvss 7.5

libxml2: integer overflows with XML_PARSE_HUGE

  • Red Hat Enterprise Linux 6 libxml2, libxml2-python Red Hat Enterprise Linux 7 libxml2, libxml2-python
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-15.el8_7.1, libxml2-debuginfo 2.9.7-15.el8_7.1, libxml2-debugsource 2.9.7-15.el8_7.1, python3-libxml2-debuginfo 2.9.7-15.el8_7.1
    fixed: vendor fix RHSA-2023:0173
  • Red Hat Enterprise Linux AppStream (v. 9) libxml2-devel 2.9.13-3.el9_1, libxml2-debuginfo 2.9.13-3.el9_1, libxml2-debugsource 2.9.13-3.el9_1, python3-libxml2-debuginfo 2.9.13-3.el9_1
    fixed: vendor fix RHSA-2023:0338
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) libxml2-devel 2.9.7-13.el8_6.4, libxml2-debuginfo 2.9.7-13.el8_6.4, libxml2-debugsource 2.9.7-13.el8_6.4, python3-libxml2-debuginfo 2.9.7-13.el8_6.4
    fixed: vendor fix RHSA-2024:0413
  • Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-15.el8_7.1, python3-libxml2 2.9.7-15.el8_7.1
    fixed: vendor fix RHSA-2023:0173
  • Red Hat Enterprise Linux BaseOS (v. 9) libxml2 2.9.13-3.el9_1, python3-libxml2 2.9.13-3.el9_1
    fixed: vendor fix RHSA-2023:0338
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) libxml2 2.9.7-13.el8_6.4, python3-libxml2 2.9.7-13.el8_6.4
    fixed: vendor fix RHSA-2024:0413
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2022:8841

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 7.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-044-09 updated cvss 7.5

Siemens SCALANCE W700 IEEE 802.11ax

  • Siemens SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) <V3.0.0 Siemens SCALANCE WAM763-1 (6GK5763-1AL00-7DA0) <V3.0.0 Siemens SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) <V3.0.0 Siemens SCALANCE WAM763-1 (US) (6GK5763-1AL00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 (6GK5766-1GE00-7DA0) <V3.0.0 Siemens SCALANCE WAM766-1 (ME) (6GK5766-1GE00-7DC0) <V3.0.0
    +13 more products
    Siemens SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (6GK5766-1GE00-7TA0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (ME) (6GK5766-1GE00-7TC0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0) <V3.0.0 Siemens SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) <V3.0.0 Siemens SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3DA0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3AB0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3DB0) <V3.0.0 Siemens SCALANCE WUM766-1 (6GK5766-1GE00-3DA0) <V3.0.0 Siemens SCALANCE WUM766-1 (ME) (6GK5766-1GE00-3DC0) <V3.0.0 Siemens SCALANCE WUM766-1 (USA) (6GK5766-1GE00-3DB0) <V3.0.0
    affected: fixed in V3.0.0 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-165-06 updated cvss 7.5

Siemens TIM 1531 IRC

  • Siemens SIPLUS TIM 1531 IRC (6AG1543-1MX00-7XE0) <V2.4.8 Siemens TIM 1531 IRC (6GK7543-1MX00-0XE0) <V2.4.8
    affected: fixed in V2.4.8 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-165-04 updated cvss 7.5

Siemens ST7 ScadaConnect

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-165-10 updated cvss 7.5

Siemens SIMATIC and SIPLUS

  • Siemens SIMATIC CP 1542SP-1 (6GK7542-6UX00-0XE0) <V2.3 Siemens SIMATIC CP 1542SP-1 IRC (6GK7542-6VX00-0XE0) <V2.3 Siemens SIMATIC CP 1543SP-1 (6GK7543-6WX00-0XE0) <V2.3 Siemens SIPLUS ET 200SP CP 1542SP-1 IRC TX RAIL (6AG2542-6VX00-4XE0) <V2.3 Siemens SIPLUS ET 200SP CP 1543SP-1 ISEC (6AG1543-6WX00-7XE0) <V2.3 Siemens SIPLUS ET 200SP CP 1543SP-1 ISEC TX RAIL (6AG2543-6WX00-4XE0) <V2.3
    affected: fixed in V2.3 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

41.37% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia XML2_jll
<2.10.3+0
2.10.3+0

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.