Skip to content
Fencer Vulns
critical 9.8

CVE-2022-23852 json

Expat (aka libexpat) before 2.4.4 has a signed integer overflow in `XML_GetBuffer`, for...

published 2022-01-24 4 y ago modified 2026-10-14 25 d ago also EUVD-2022-28778 , JLSEC-2025-50

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

Summary

Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.

Patch / fix

  • julia Expat_jll 2.4.4+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
  • expat Debian 14, Debian 13, Debian 12 2.4.3-2

debian advisories DEBIAN-CVE-2022-23852

  • expat Ubuntu 18.04 LTS 2.2.5-3ubuntu0.4
  • expat Ubuntu 20.04 LTS 2.2.9-1ubuntu0.2
  • expat Ubuntu 22.04 LTS 2.4.3-2
  • firefox Ubuntu 22.04 LTS 1:1snap1-0ubuntu1
  • expat Ubuntu Pro 14.04 LTS 2.1.0-4ubuntu1.4+esm4
  • expat Ubuntu Pro 16.04 LTS 2.1.0-7ubuntu0.16.04.5+esm2

ubuntu advisories UBUNTU-CVE-2022-23852

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

  • expat RHEL 9 2.2.10-12.el9_0
  • expat RHEL 7 2.1.0-14.el7_9
  • expat RHEL 8 2.2.5-4.el8_5.3
  • expat RHEL 8.4 EUS 2.2.5-4.el8_4.3

red hat advisories RHBA-2022:4046RHSA-2022:1069RHSA-2022:0951RHSA-2022:4834

  • expat SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +20 more 2.2.5-3.12.1
  • expat SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 2.1.0-21.15.1
  • expat SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 2.0.1-88.42.15.1

suse advisories SUSE-SU-2022:0498-1SUSE-SU-2022:0495-1SUSE-SU-2022:14884-1

  • expat openSUSE Tumbleweed 2.4.4-1.1
  • expat openSUSE Leap 15.3 2.2.5-3.12.1

opensuse advisories openSUSE-SU-2024:11793-1openSUSE-SU-2022:0498-1

  • expat AlmaLinux 8 2.2.5-8.el8_6.2

almalinux advisories ALSA-2022:0951

  • expat Rocky Linux 8 2.2.5-4.el8_5.3

rocky linux advisories RLSA-2022:0951

  • expat Alpine 3.12 2.2.10-r1
  • expat Alpine 3.13 2.2.10-r3
  • expat Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 2.4.4-r0
  • qt5-qtwebengine Alpine 3.15 5.15.3_git20211127-r4
  • qt5-qtwebengine Alpine 3.23, Alpine 3.22, Alpine 3.21 +5 more 5.15.3_git20220121-r4

alpine advisories ALPINE-CVE-2022-23852

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

  • expat CBL-Mariner 2.0 2.4.8-1

azure linux advisories AZL-7835

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-23852 updated cvss 9.8

expat: Integer overflow in function XML_GetBuffer

  • Red Hat Enterprise Linux 6 expat, firefox, xulrunner, thunderbird
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 xulrunner
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 9) expat-devel 2.2.10-12.el9_0, expat-debuginfo 2.2.10-12.el9_0, expat-debugsource 2.2.10-12.el9_0
    fixed: vendor fix RHBA-2022:4046
  • Red Hat Enterprise Linux BaseOS (v. 8) expat 2.2.5-4.el8_5.3
    fixed: vendor fix RHSA-2022:0951
  • Red Hat Enterprise Linux BaseOS (v. 9) expat 2.2.10-12.el9_0
    fixed: vendor fix RHBA-2022:4046
  • Red Hat Enterprise Linux BaseOS EUS (v.8.4) expat 2.2.5-4.el8_4.3
    fixed: vendor fix RHSA-2022:4834
  • Red Hat Enterprise Linux Client (v. 7) expat 2.1.0-14.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) expat-devel 2.1.0-14.el7_9, expat-static 2.1.0-14.el7_9, expat-debuginfo 2.1.0-14.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) expat-devel 2.1.0-14.el7_9, expat-static 2.1.0-14.el7_9, expat-debuginfo 2.1.0-14.el7_9 Red Hat Enterprise Linux Server (v. 7) expat 2.1.0-14.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) expat-static 2.1.0-14.el7_9, expat-debuginfo 2.1.0-14.el7_9 Red Hat Enterprise Linux Workstation (v. 7) expat 2.1.0-14.el7_9
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 7) expat-static 2.1.0-14.el7_9, expat-debuginfo 2.1.0-14.el7_9
    fixed: vendor fix RHSA-2022:1069
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2022:7144
show 1 more
  • Red Hat Enterprise Linux 7 firefox, thunderbird
    not affected: vulnerable code not present

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 9.8

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-22-167-17 updated cvss 9.8

Siemens OpenSSL Affecting Industrial Products

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

cisa ICSA-23-278-01 updated cvss 9.8

Hitachi Energy AFS65x,AFF66x, AFS67x, and AFR67x Series Products

  • Hitachi Energy AFF66X FW <= 03.0.02 Hitachi Energy AFR677 Hitachi Energy AFS65X Hitachi Energy AFS66X-B Hitachi Energy AFS66X-S Hitachi Energy AFS67X
    +2 more products
    Hitachi Energy AFS660-C Hitachi Energy AFS670-V20
    affected: vendor fix, mitigation “Hitachi energy recommends the following actions:” publisher.hitachienergy.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

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

CVSS scores

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

Affected packages

ecosystem package affected fixed in
julia Expat_jll
<2.4.4+0
2.4.4+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.