CVE-2025-4087
Unsafe attribute access during XPath parsing
Reported by mozilla · Published April 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| firefox | Chainguard | 128.10-r0 |
| firefox-esr | Chainguard | 128.10-r0 |
| firefox | Amazon Linux | 128.10.0-1.amzn2023.0.2 |
| thunderbird | Amazon Linux | 128.10.0-1.amzn2.0.1 |
| firefox | Wolfi | 128.10-r0 |
| firefox | mozilla | 138.0, 128.10 |
| Firefox ESR | Mozilla | 128.10 |
| thunderbird | mozilla | 138.0, 128.10.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | 128.10, 138 |
| Mozilla | Thunderbird | 128.10, 138 |
| chainguard | firefox | 0 |
| Mozilla | Thunderbird | 138, 128.10 |
| chainguard | firefox-esr | 0 |
| Mozilla | Firefox ESR | unspecified |
| amazon:2023 | firefox | 0 |
| amazon:2 | thunderbird | 0 |
| wolfi | firefox | 0 |
| Mozilla | Firefox | 138, 128.10 |
Timeline
- Apr 29, 2025 CVE Published
- Apr 30, 2025 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (30 in total, the first dated here)
- Apr 13, 2026 CVE Updated
- Jun 8, 2026 Coalition ESS Score
- Nov 2, 2026 Distribution Patch (22 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4087
vulnetix vdb fixes CVE-2025-4087
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4087/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart