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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-29 · Modified: 2026-04-13
- Aliases: UBUNTU-CVE-2025-4087, DEBIAN-CVE-2025-4087, CGA-7f2m-qmhj-h8f8, CGA-j99g-r4h3-gfwr, CGA-69gg-pj7r-r83w, CGA-qp6p-2fxf-3wg2
- Record: https://cvemate.com/vulnerability/CVE-2025-4087 · JSON: https://cvemate.com/vulnerability/CVE-2025-4087/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.329%, percentile 28.061%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard firefox (Chainguard): \< 128.10-r0
- chainguard firefox-esr (Chainguard): \< 128.10-r0
- wolfi firefox (Wolfi): \< 128.10-r0
- debian firefox-esr (Debian): \< 128.10.0esr-1~deb12u1 \| \< 128.10.0esr-1
- debian thunderbird (Debian): \< 1:128.10.0esr-1~deb12u1 \| \< 1:128.10.0esr-1
- ubuntu mozjs102 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs115 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs91 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): \< 1:128.12.0+build1-0ubuntu0.22.04.1
- mozilla firefox: \< 128.10 \| \< 138.0
- mozilla thunderbird: \< 128.10.0 \| \< 138.0

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1952465>
- <https://www.mozilla.org/security/advisories/mfsa2025-28/>
- <https://www.mozilla.org/security/advisories/mfsa2025-29/>
- <https://www.mozilla.org/security/advisories/mfsa2025-31/>
- <https://www.mozilla.org/security/advisories/mfsa2025-32/>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00024.html>
- <https://ubuntu.com/security/CVE-2025-4087>
- <https://www.cve.org/CVERecord?id=CVE-2025-4087>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-28/#CVE-2025-4087>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-29/#CVE-2025-4087>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2025-32/#CVE-2025-4087>
- <https://ubuntu.com/security/notices/USN-7663-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-4087>

---

Data as of 2026-12-05T03:32:13.248Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
