# 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 misbe…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.63%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-01-01T18:47:46.000Z
- Modified: 2026-10-14T13:17:10.723Z
- Weaknesses: CWE-682
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libexpat_project libexpat: before 2.4.3
- tenable nessus: before 8.15.3; from 10.0.0 before 10.1.1
- debian debian_linux: 10.0; 11.0
- siemens sinema_remote_connect_server: before 3.1
- netapp active_iq_unified_manager: no versions given
- netapp hci_baseboard_management_controller: h610c; h610s; h615c
- netapp oncommand_workflow_automation: no versions given
- netapp solidfire_&_hci_management_node: no versions given

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/libexpat/libexpat/issues/531> (exploit, issue-tracking, patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/01/17/3> (exploit, mailing-list, third-party-advisory)
- <https://github.com/libexpat/libexpat/pull/534> (patch, third-party-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1217609> (issue-tracking, permissions-required, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220121-0004/> (third-party-advisory)
- <https://www.tenable.com/security/tns-2022-05> (third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5073> (issue-tracking, third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202209-24> (third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-484086.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-45960](https://www.cve.org/CVERecord?id=CVE-2021-45960), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-45960](https://nvd.nist.gov/vuln/detail/CVE-2021-45960), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-45960 · Whole record: https://cve.day/CVE-2021-45960.json · Rebuilt by cve.day 2026-11-25T22:58:06.325Z
