# CVE-2025-4087: Unsafe attribute access during XPath parsing

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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): 0.33%, higher than 28% of CVEs (2026-12-02)
- Published: 2025-04-29T13:13:42.302Z
- Modified: 2026-10-05T15:10:00.590Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mozilla

## Description

A vulnerability was identified in Thunderbird where XPath parsing could trigger undefined behavior due to missing null checks during attribute access. This could lead to out-of-bounds read access and potentially, memory corruption. This vulnerability was fixed in Firefox 138, Firefox ESR 128.10, Thunderbird 138, and Thunderbird 128.10.

(As written by CVE List.)

## Affected

- Mozilla Firefox: before 128.10; before 138.0 (not affected: from 128.10 up to 128.*; from 138 up to *)
- Mozilla Thunderbird: before 128.10.0; before 138.0 (not affected: from 128.10 up to 128.*; from 138 up to *)

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1952465> (permissions-required)
- <https://www.mozilla.org/security/advisories/mfsa2025-28/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-29/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-31/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2025-32/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00024.html>

## Sources

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

---

Page: https://cve.day/CVE-2025-4087 · Whole record: https://cve.day/CVE-2025-4087.json · Rebuilt by cve.day 2026-11-25T22:58:57.090Z
