# JLSEC-2025-42: In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function...

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `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
- Published: 2025-10-14T15:35:41.198Z
- Modified: 2026-07-25T18:23:43.173Z
- Related: CVE-2021-45960

## 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 Julia Security Advisories.)

## Affected

- Expat_jll (Julia): before 2.4.4+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:L/Au:S/C:C/I:C/A:C`
- Julia Security Advisories: 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`

## References

- <http://www.openwall.com/lists/oss-security/2022/01/17/3> (web)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1217609> (web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf> (web)
- <https://github.com/libexpat/libexpat/issues/531> (web)
- <https://github.com/libexpat/libexpat/pull/534> (web)
- <https://security.gentoo.org/glsa/202209-24> (web)
- <https://security.netapp.com/advisory/ntap-20220121-0004/> (web)
- <https://www.debian.org/security/2022/dsa-5073> (web)
- <https://www.tenable.com/security/tns-2022-05> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-42](https://osv.dev/vulnerability/JLSEC-2025-42), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-42 · Whole record: https://cve.day/JLSEC-2025-42.json · Rebuilt by cve.day 2026-11-25T22:56:25.811Z
