Skip to main content
Public proof of conceptFix available

CVE-2021-46143

A public proof of concept exists; no exploitation attested.

  • Published2022-01-06
  • WeaknessCWE-190

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

Timeline

dates in UTC
  1. 2022-01-0604:15CVE publishedNVD

Versions per branch

NVD
Netapp hci baseboard management controller
BranchAffectedFixed in
—= h610cno fix published
—= h610sno fix published
—= h615cno fix published
Tenable nessus
BranchAffectedFixed in
10.x≥ 10.0.0, < 10.1.110.1.1
8.15< 8.15.38.15.3
Libexpat project libexpat
BranchAffectedFixed in
2.4< 2.4.32.4.3

5 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • astropyUbuntu:Pro:22.04:LTSall versions · no fixed version listedand 3 other packages
  • astropyUbuntu:Pro:20.04:LTSall versions · no fixed version listedand 3 other packages
  • coin3Ubuntu:Pro:18.04:LTSall versions · no fixed version listedand 4 other packages
  • expatUbuntu:Pro:16.04:LTSall versions · fixed in 2.1.0-7ubuntu0.16.04.5+esm2
  • expatUbuntu:Pro:14.04:LTSall versions · fixed in 2.1.0-4ubuntu1.4+esm4
  • expatUbuntu:22.04:LTSall versions · fixed in 2.4.3-1
  • expatUbuntu:20.04:LTSall versions · fixed in 2.2.9-1ubuntu0.2
  • expatUbuntu:18.04:LTSall versions · fixed in 2.2.5-3ubuntu0.4

120 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-46143 Red Hat Product Security209 products fixed · 27 known affected

    expat: Integer overflow in doProlog in xmlparse.c

    expat as a component of Red Hat Enterprise Linux 6 · expat-devel as a component of Red Hat Enterprise Linux 6 · expat.src as a component of Red Hat Enterprise Linux 6 · +24 more

  • RHSA-2025:22871 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: expat security update

  • RHSA-2025:22785 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: expat security update

  • ICSA-23-348-10 CISA5 known affected

    Siemens SIMATIC S7-1500

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more

  • SSA-398330 Siemens ProductCERT5 known affected

    SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more

  • ICSA-23-278-01 CISA8 known affected

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

    AFF66X FW: <= 03.0.02 · AFS66X-S: vers:all/* · AFS660-C: vers:all/* · +5 more

7 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:22871 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
  3. Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
  4. Vendor fix CISA ICSA-23-278-01 · 1 productAFF66X FW 03.0.02 and earlier: For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to upcoming AFF66X 04.x.xx FW when released.
  5. Vendor fix CISA ICSA-23-278-01 · 4 productsAFS66X-S, AFS660-C, AFS66X-B, AFS670-V20 devices: For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to upcoming AFS66X, AFS670-V20 7.1.08 FW when released. Disable HTTP/HTTPS server or restrict access to HTTP/HTTPS to trus…
  6. Vendor fix CISA ICSA-23-278-01 · 3 productsAFS65X, AFS67X, AFR677 devices: For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to AFS65X, AFS67X, AFR677 09.1.08 FW. Disable HTTP/HTTPS server or restrict access to HTTP/HTTPS to trusted IP addresses. Disable IEC61850-M…

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2022-01-06
Last modified
2026-10-14
NVD status
Modified
GitHub advisory
GHSA-j6g2-cvhq-p8xr

Frequently asked questions

What is CVE-2021-46143?

In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.

Is CVE-2021-46143 actively exploited?

A proof-of-concept exploit exists for CVE-2021-46143, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2021-46143?

CVE-2021-46143 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running expat? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record