Vulnerability · Published Apr 29, 2025 · Assigned by mozilla

CVE-2025-4087Unsafe attribute access during XPath parsing

Medium 4.8

In plain English

A medium-severity out-of-bounds read in Firefox from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.3%top 74.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10firefox128.10.0-1.el10_0ALSA-2025:7506
AlmaLinux:8firefox128.10.0-1.el8_10.alma.1ALSA-2025:4458
AlmaLinux:9firefox128.10.0-1.el9_5.alma.1ALSA-2025:4443
AlmaLinux:9firefox128.10.0-1.el9_6.alma.1ALSA-2025:7428
AlmaLinux:9firefox-x11128.10.0-1.el9_6.alma.1ALSA-2025:7428
AlmaLinux:9firefox-x11128.10.0-1.el9_5.alma.1ALSA-2025:4443
AlmaLinux:10thunderbird128.10.0-1.el10_0.alma.1ALSA-2025:7507
AlmaLinux:8thunderbird128.10.0-1.el8_10.alma.1ALSA-2025:4797
AlmaLinux:9thunderbird128.10.0-1.el9_5.alma.1ALSA-2025:4460
Debian:12firefox-esr128.10.0esr-1~deb12u1DSA-5910-1
Debian:12firefox-esr128.10.0esr-1~deb12u1DEBIAN-CVE-2025-4087
Debian:13firefox-esr128.10.0esr-1DEBIAN-CVE-2025-4087
Debian:14firefox-esr128.10.0esr-1DEBIAN-CVE-2025-4087
Debian:12thunderbird1:128.10.0esr-1~deb12u1DSA-5912-1
Debian:12thunderbird1:128.10.0esr-1~deb12u1DEBIAN-CVE-2025-4087
Debian:13thunderbird1:128.10.0esr-1DEBIAN-CVE-2025-4087
Debian:14thunderbird1:128.10.0esr-1DEBIAN-CVE-2025-4087
Rocky Linux:8firefox0:128.10.0-1.el8_10RLSA-2025:4458
Rocky Linux:9firefox0:128.10.0-1.el9_5RLSA-2025:4443
Rocky Linux:9firefox0:128.10.0-1.el9_5RLSA-2025:7428
Rocky Linux:8thunderbird0:128.10.0-1.el8_10RLSA-2025:4797
Rocky Linux:9thunderbird0:128.10.0-1.el9_5RLSA-2025:4460
Ubuntu:22.04:LTSmozjs102no fix listedUBUNTU-CVE-2025-4087
Ubuntu:24.04:LTSmozjs102no fix listedUBUNTU-CVE-2025-4087
Ubuntu:24.04:LTSmozjs115no fix listedUBUNTU-CVE-2025-4087
Ubuntu:22.04:LTSmozjs78no fix listedUBUNTU-CVE-2025-4087
Ubuntu:22.04:LTSmozjs91no fix listedUBUNTU-CVE-2025-4087
Ubuntu:22.04:LTSthunderbird1:128.12.0+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-4087
Ubuntu:22.04:LTSthunderbird1:128.12.0+build1-0ubuntu0.22.04.1USN-7663-1

Affected products (as reported)

VendorProductVersions
Mozilla Firefox see references
Mozilla Thunderbird see references

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

References