Out-of-bounds read in Mozilla products - CVE-2025-4087
Published: April 29, 2025
Vulnerability identifier: #VU108048
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-4087
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to a boundary condition when parsing XPath content. A remote attacker can trick the victim into visiting a specially crafted website, trigger an out-of-bounds read error and execute arbitrary code on the system.
Affected software
Firefox for Android
Mozilla Firefox
Firefox ESR
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Slackware Linux
SUSE Package Hub 15
Desktop Applications Module
openSUSE Leap
openEuler
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mozilla-firefox
mozilla-thunderbird
firefox-esr (Debian package)
thunderbird (Debian package)
firefox-debuginfo
firefox
firefox-debugsource
firefox (Red Hat package)
thunderbird (Red Hat package)
thunderbird
MozillaThunderbird-translations-common
MozillaThunderbird-translations-other
MozillaThunderbird
MozillaThunderbird-debuginfo
MozillaThunderbird-debugsource
MozillaFirefox
MozillaFirefox-debugsource
MozillaFirefox-devel
MozillaFirefox-debuginfo
MozillaFirefox-translations-common
MozillaFirefox-branding-upstream
MozillaFirefox-translations-other
thunderbird-debuginfo
thunderbird-debugsource
thunderbird-librnp-rnp
thunderbird-wayland
thunderbird (Ubuntu package)
Mozilla Thunderbird
Mozilla Firefox
Firefox ESR
Debian Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Slackware Linux
SUSE Package Hub 15
Desktop Applications Module
openSUSE Leap
openEuler
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
mozilla-firefox
mozilla-thunderbird
firefox-esr (Debian package)
thunderbird (Debian package)
firefox-debuginfo
firefox
firefox-debugsource
firefox (Red Hat package)
thunderbird (Red Hat package)
thunderbird
MozillaThunderbird-translations-common
MozillaThunderbird-translations-other
MozillaThunderbird
MozillaThunderbird-debuginfo
MozillaThunderbird-debugsource
MozillaFirefox
MozillaFirefox-debugsource
MozillaFirefox-devel
MozillaFirefox-debuginfo
MozillaFirefox-translations-common
MozillaFirefox-branding-upstream
MozillaFirefox-translations-other
thunderbird-debuginfo
thunderbird-debugsource
thunderbird-librnp-rnp
thunderbird-wayland
thunderbird (Ubuntu package)
Mozilla Thunderbird
How to mitigate CVE-2025-4087
Install updates from vendor's website.
Firefox for Android - update to 138.0
Mozilla Firefox - update to 138.0
Firefox ESR - update to 128.10.0
Mozilla Thunderbird - addressed in versions 128.10, 138.0
mozilla-firefox - update to 128.10.0esr
mozilla-thunderbird - update to 128.10.0esr
firefox-esr (Debian package) - update to 128.10.0esr-1~deb12u1
thunderbird (Debian package) - update to 1:128.10.0esr-1~deb12u1
firefox-debuginfo - update to 128.10.0-1
firefox - update to 128.10.0-1
firefox-debugsource - update to 128.10.0-1
firefox (Red Hat package) - addressed in versions 128.10.0-1.el7_9, 128.10.0-1.el8_2, 128.10.0-1.el8_4, 128.10.0-1.el8_6, 128.10.0-1.el8_8, 128.10.0-1.el8_10, 128.10.0-1.el9_0, 128.10.0-1.el9_2, 128.10.0-1.el9_4, 128.10.0-1.el9_5
thunderbird (Red Hat package) - addressed in versions 128.10.0-1.el8_10, 128.10.0-1.el9_5
firefox - addressed in versions 128.10.0-1.0.1, 128.10.0-1.0.2
thunderbird - update to 128.10.0-1.0.1
MozillaThunderbird-translations-common - update to 128.10.0-150200.8.212.1
MozillaThunderbird-translations-other - update to 128.10.0-150200.8.212.1
MozillaThunderbird - update to 128.10.0-150200.8.212.1
MozillaThunderbird-debuginfo - update to 128.10.0-150200.8.212.1
MozillaThunderbird-debugsource - update to 128.10.0-150200.8.212.1
MozillaFirefox - update to 128.10.0-150200.152.179.1
MozillaFirefox-debugsource - update to 128.10.0-150200.152.179.1
MozillaFirefox-devel - update to 128.10.0-150200.152.179.1
MozillaFirefox-debuginfo - update to 128.10.0-150200.152.179.1
MozillaFirefox-translations-common - update to 128.10.0-150200.152.179.1
MozillaFirefox-branding-upstream - update to 128.10.0-150200.152.179.1
MozillaFirefox-translations-other - update to 128.10.0-150200.152.179.1
thunderbird - update to 128.11.1-1
thunderbird-debuginfo - update to 128.11.1-1
thunderbird-debugsource - update to 128.11.1-1
thunderbird-librnp-rnp - update to 128.11.1-1
thunderbird-wayland - update to 128.11.1-1
thunderbird (Ubuntu package) - update to 1:128.12.0+build1-0ubuntu0.22.04.1
Mozilla Firefox - update to 138.0
Firefox ESR - update to 128.10.0
Mozilla Thunderbird - addressed in versions 128.10, 138.0
mozilla-firefox - update to 128.10.0esr
mozilla-thunderbird - update to 128.10.0esr
firefox-esr (Debian package) - update to 128.10.0esr-1~deb12u1
thunderbird (Debian package) - update to 1:128.10.0esr-1~deb12u1
firefox-debuginfo - update to 128.10.0-1
firefox - update to 128.10.0-1
firefox-debugsource - update to 128.10.0-1
firefox (Red Hat package) - addressed in versions 128.10.0-1.el7_9, 128.10.0-1.el8_2, 128.10.0-1.el8_4, 128.10.0-1.el8_6, 128.10.0-1.el8_8, 128.10.0-1.el8_10, 128.10.0-1.el9_0, 128.10.0-1.el9_2, 128.10.0-1.el9_4, 128.10.0-1.el9_5
thunderbird (Red Hat package) - addressed in versions 128.10.0-1.el8_10, 128.10.0-1.el9_5
firefox - addressed in versions 128.10.0-1.0.1, 128.10.0-1.0.2
thunderbird - update to 128.10.0-1.0.1
MozillaThunderbird-translations-common - update to 128.10.0-150200.8.212.1
MozillaThunderbird-translations-other - update to 128.10.0-150200.8.212.1
MozillaThunderbird - update to 128.10.0-150200.8.212.1
MozillaThunderbird-debuginfo - update to 128.10.0-150200.8.212.1
MozillaThunderbird-debugsource - update to 128.10.0-150200.8.212.1
MozillaFirefox - update to 128.10.0-150200.152.179.1
MozillaFirefox-debugsource - update to 128.10.0-150200.152.179.1
MozillaFirefox-devel - update to 128.10.0-150200.152.179.1
MozillaFirefox-debuginfo - update to 128.10.0-150200.152.179.1
MozillaFirefox-translations-common - update to 128.10.0-150200.152.179.1
MozillaFirefox-branding-upstream - update to 128.10.0-150200.152.179.1
MozillaFirefox-translations-other - update to 128.10.0-150200.152.179.1
thunderbird - update to 128.11.1-1
thunderbird-debuginfo - update to 128.11.1-1
thunderbird-debugsource - update to 128.11.1-1
thunderbird-librnp-rnp - update to 128.11.1-1
thunderbird-wayland - update to 128.11.1-1
thunderbird (Ubuntu package) - update to 1:128.12.0+build1-0ubuntu0.22.04.1
External References
Related Security Bulletins
- Multiple vulnerabilities in Mozilla Firefox
- Multiple vulnerabilities in Mozilla Thunderbird
- Multiple vulnerabilities in Mozilla Thunderbird ESR
- Slackware Linux update for mozilla-firefox
- Slackware Linux update for mozilla-thunderbird
- Debian update for firefox-esr
- Debian update for thunderbird
- SUSE update for MozillaFirefox
- Red Hat Enterprise Linux 9 update for firefox
- Red Hat Enterprise Linux 8 update for firefox
- Red Hat Enterprise Linux 9 update for thunderbird
- SUSE update for MozillaThunderbird
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for firefox
- Red Hat Enterprise Linux 9 update for firefox
- Red Hat Enterprise Linux 9 update for firefox
- Red Hat Enterprise Linux 9 update for firefox
- openEuler 22.03 LTS SP4 update for firefox
- openEuler 22.03 LTS SP3 update for firefox
- openEuler 24.03 LTS SP1 update for firefox
- openEuler 24.03 LTS update for firefox
- Red Hat Enterprise Linux 8 update for thunderbird
- Red Hat Enterprise Linux 8 update for firefox
- Red Hat Enterprise Linux 8 update for firefox
- Red Hat Enterprise Linux 8 update for firefox
- Red Hat Enterprise Linux 8 update for firefox
- Anolis OS update for thunderbird
- Anolis OS update for firefox
- openEuler 24.03 LTS SP2 update for thunderbird
- Ubuntu update for thunderbird
- Anolis OS update for firefox