CVE-2021-45960: debian debian_linux Incorrect Calculation
Vulnerability summary
CVE-2021-45960 is a high (CVSS 9.0) Incorrect Calculation vulnerability in debian debian_linux. EPSS estimates a 4.67% chance of exploitation in the next 30 days, higher than 91.7% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 6Timeline
- 01-01-2022PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
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).
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.67%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
Increase +0.44 pp
From 4.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundLibexpat
Maturity: poc
Exploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu15 products
- ayttmAll versions (No fix recorded)
- cableswigAll versions (No fix recorded)
- cadaverAll versions (No fix recorded)
- coin3All versions (No fix recorded)
- expat< 2.1.0-4ubuntu1.4+esm4 | < 2.1.0-7ubuntu0.16.04.5+esm2 | < 2.2.5-3ubuntu0.4 | < 2.2.9-1ubuntu0.2 | < 2.4.3-1
Netapp4 products
Debian3 products
- expat< 2.4.3-1
- libxmltokAll versions (No fix recorded)
- debian_linuxEOL10.0 | 11.0
Alpine1 product
- expat< 2.2.10-r0 | < 2.2.10-r2 | < 2.4.3-r0
Libexpat_project1 product
- libexpat< 2.4.3
Siemens1 product
Tenable1 product
- nessus< 8.15.3 | ≥ 10.0.0, < 10.1.1
7 vendors · 26 products
References
18 links- github.com/libexpat/libexpat/issues/531X Refsource MISCExploitIssue TrackingPatchThird Party Advisory
- bugzilla.mozilla.org/show_bug.cgi?id=1217609X Refsource MISCIssue TrackingPermissions RequiredThird Party Advisory
- www.openwall.com/lists/oss-security/2022/01/17/3Mailing ListX Refsource MLISTExploitThird Party Advisory
- www.debian.org/security/2022/dsa-5073Vendor AdvisoryX Refsource DEBIANIssue TrackingThird Party Advisory