Out-of-bounds read in Mozilla products - CVE-2025-4087

 

Out-of-bounds read in Mozilla products - CVE-2025-4087

Published: April 29, 2025


Vulnerability identifier: #VU108048
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2025-4087
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
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

Detailed vulnerability description

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.


How to mitigate CVE-2025-4087

Install updates from vendor's website.

Sources