Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2021-45960: In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbeh

Noroxi assessment

Priority: Monitor (action score 36/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 4.6% (FIRST EPSS); higher than 91.8% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: expat (AlmaLinux:8) 2.2.5-8.el8_6.2; expat-devel (AlmaLinux:8) 2.2.5-8.el8_6.2; expat (Alpine:v3.12) 2.2.10-r0.
  • Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to expat (AlmaLinux:8) 2.2.5-8.el8_6.2; expat-devel (AlmaLinux:8) 2.2.5-8.el8_6.2; expat (Alpine:v3.12) 2.2.10-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).

HighCVSS 8.8 · v3.1—Proof of concept Fix available
Published
Jan 1, 2022
Updated
Oct 14, 2026
EPSS
4.6% · 91th percentile

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.6%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
8.8
CNA · mitre
8.8
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-45960

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
libexpat projectlibexpat
tenablenessus
debiandebian linux
siemenssinema remote connect server
netappactive iq unified manager
netapphci baseboard management controller
netapponcommand workflow automation
netappsolidfire & hci management node

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux11.0
  • libexpat project libexpatbefore 2.4.3
  • netapp active iq unified managerall versions
  • netapp hci baseboard management controllerh610c
  • netapp hci baseboard management controllerh610s
  • netapp hci baseboard management controllerh615c
  • netapp oncommand workflow automationall versions
  • netapp solidfire & hci management nodeall versions
  • siemens sinema remote connect serverbefore 3.1
  • tenable nessusbefore 8.15.3
  • tenable nessus10.0.0 and later · before 10.1.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8expatbefore 2.2.5-8.el8_6.22.2.5-8.el8_6.2
AlmaLinux:8expat-develbefore 2.2.5-8.el8_6.22.2.5-8.el8_6.2
Alpine:v3.12expatbefore 2.2.10-r02.2.10-r0
Alpine:v3.13expatbefore 2.2.10-r22.2.10-r2
Alpine:v3.14expatbefore 2.4.3-r02.4.3-r0
Debian:10expatbefore 2.2.6-2+deb10u22.2.6-2+deb10u2
Debian:11expatbefore 2.2.10-2+deb11u12.2.10-2+deb11u1
Debian:12expatbefore 2.4.3-12.4.3-1
Debian:12libxmltokfrom 0—
Debian:9expatbefore 2.2.0-2+deb9u42.2.0-2+deb9u4
openSUSE:Leap 15.3expatbefore 2.2.5-3.9.12.2.5-3.9.1
openSUSE:Tumbleweedexpatbefore 2.4.3-1.12.4.3-1.1
Red Hat:enterprise_linux:7::clientexpatbefore 0:2.1.0-14.el7_90:2.1.0-14.el7_9
Red Hat:enterprise_linux:7::clientexpat-debuginfobefore 0:2.1.0-14.el7_90:2.1.0-14.el7_9
Red Hat:enterprise_linux:7::clientexpat-develbefore 0:2.1.0-14.el7_90:2.1.0-14.el7_9
Red Hat:enterprise_linux:7::clientexpat-staticbefore 0:2.1.0-14.el7_90:2.1.0-14.el7_9
Red Hat:enterprise_linux:8::baseosexpatbefore 0:2.2.5-4.el8_5.30:2.2.5-4.el8_5.3
Red Hat:enterprise_linux:8::baseosexpat-debuginfobefore 0:2.2.5-4.el8_5.30:2.2.5-4.el8_5.3
Red Hat:enterprise_linux:8::baseosexpat-debugsourcebefore 0:2.2.5-4.el8_5.30:2.2.5-4.el8_5.3
Red Hat:enterprise_linux:8::baseosexpat-develbefore 0:2.2.5-4.el8_5.30:2.2.5-4.el8_5.3
Red Hat:rhel_aus:8.2::baseosexpatbefore 0:2.2.10-1.el8_20:2.2.10-1.el8_2
Red Hat:rhel_aus:8.4::baseosexpatbefore 0:2.2.10-1.el8_40:2.2.10-1.el8_4
Rocky Linux:8expatbefore 0:2.2.5-4.el8_5.30:2.2.5-4.el8_5.3
SUSE:HPE Helion OpenStack 8expatbefore 2.1.0-21.12.12.1.0-21.12.1

+2

Other highest-scoring records for the same primary product.

  • CVE-2022-25236xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.
    50Plan
  • CVE-2022-23852Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.
    41Plan
  • CVE-2022-22822addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
    41Plan

Published before and after this one in the same product

  • ← EarlierCVE-2018-20843Jun 24, 2019 · In libexpat in Expat before 2.2.7, XML input including XML names that contain a large number of colons could make the XML parser consume a h
    32Monitor
  • ← EarlierCVE-2019-15903Sep 4, 2019 · In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutiv
    32Monitor
  • Later →CVE-2021-46143Jan 6, 2022 · In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.
    32Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:expat2.2.5-8.el8_6.2 · AlmaLinux:8Package registry (OSV)
almalinux:expat-devel2.2.5-8.el8_6.2 · AlmaLinux:8Package registry (OSV)
alpine:expat2.2.10-r0 · Alpine:v3.12Package registry (OSV)
debian:expat2.4.3-1 · Debian:12Package registry (OSV)
opensuse:expat2.2.5-3.9.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:expat0:2.2.5-4.el8_5.3 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-debuginfo0:2.2.5-4.el8_5.3 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-debugsource0:2.2.5-4.el8_5.3 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-devel0:2.2.5-4.el8_5.3 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:expat-static0:2.1.0-14.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
rocky linux:expat0:2.2.5-4.el8_5.3 · Rocky Linux:8Package registry (OSV)
suse:expat2.2.5-3.9.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP3Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02022-04-11
Proof-of-concept repository on GitHubstars:02022-05-25

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+99 d
  3. TodayNov 6, 2026+1770 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records