CVEfocus › CVE database › CVE-2025-4087

CVE-2025-4087Unsafe attribute access during XPath parsing

CVSS 4.8 MediumEPSS 0.3% (higher than 26% of CVEs)Published 2025-04-29Updated 2026-04-13Assigner: mozilla

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.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
6Fix pending
12Will not fix
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 26.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 25.10firefoxNot affected
vulnerable_code_not_present
Ubuntu 25.10thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 24.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 24.04mozjs102Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 24.04mozjs115Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 24.04thunderbirdNot affected
vulnerable_code_not_present
Ubuntu 22.04firefoxNot affected
vulnerable_code_not_present
Ubuntu 22.04mozjs102Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 22.04mozjs78Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 22.04mozjs91Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 22.04thunderbirdFixed1:128.12.0+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-4087
Ubuntu 20.04firefoxWill not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
Ubuntu 20.04mozjs52Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 20.04mozjs68Will not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
UBUNTU-CVE-2025-4087
Ubuntu 20.04thunderbirdWill not fix
mozjs* contain a copy of the SpiderMonkey JavaScript engine. It is not feasible to backport security fixes to the mozjs* packages, as such, marking them as…
Ubuntu 18.04mozjs38Fix pendingUBUNTU-CVE-2025-4087
Ubuntu 18.04mozjs52Fix pendingUBUNTU-CVE-2025-4087
Debian 14firefox-esrFixed128.10.0esr-1DEBIAN-CVE-2025-4087
Debian 14thunderbirdFixed1:128.10.0esr-1DEBIAN-CVE-2025-4087
Debian 13firefox-esrFixed128.10.0esr-1DEBIAN-CVE-2025-4087
Debian 13thunderbirdFixed1:128.10.0esr-1DEBIAN-CVE-2025-4087
Debian 12firefox-esrFixed128.10.0esr-1~deb12u1DEBIAN-CVE-2025-4087
Debian 12thunderbirdFixed1:128.10.0esr-1~deb12u1DEBIAN-CVE-2025-4087
Red Hat Enterprise Linux 10firefoxFixed0:128.10.0-1.el10_0RHSA-2025:7506
Red Hat Enterprise Linux 10firefox-flatpak-containerFix pending
Affected
Red Hat Enterprise Linux 10thunderbirdFixed0:128.10.0-1.el10_0RHSA-2025:7507
Red Hat Enterprise Linux 10thunderbird-flatpak-containerFix pending
Affected
Red Hat Enterprise Linux 9firefoxFixed0:128.10.0-1.el9_6RHSA-2025:4443
Red Hat Enterprise Linux 9firefox-flatpak-containerFix pending
Affected
Red Hat Enterprise Linux 9firefox-x11Fixed0:128.10.0-1.el9_5RHSA-2025:7428
Red Hat Enterprise Linux 9thunderbirdFixed0:128.10.0-1.el9_5RHSA-2025:4460
Red Hat Enterprise Linux 9thunderbird-flatpak-containerFix pending
Affected
Red Hat Enterprise Linux 8firefoxFixed0:128.10.0-1.el8_10RHSA-2025:4458
Red Hat Enterprise Linux 8thunderbirdFixed0:128.10.0-1.el8_10RHSA-2025:4797
Red Hat Enterprise Linux 7thunderbirdWill not fix
Out of support scope
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 6thunderbirdWill not fix
Out of support scope
AlmaLinux 10firefoxFixed128.10.0-1.el10_0ALSA-2025:7506
AlmaLinux 10thunderbirdFixed128.10.0-1.el10_0.alma.1ALSA-2025:7507
AlmaLinux 9firefoxFixed128.10.0-1.el9_6.alma.1ALSA-2025:4443
AlmaLinux 9firefox-x11Fixed128.10.0-1.el9_5.alma.1ALSA-2025:7428
AlmaLinux 9thunderbirdFixed128.10.0-1.el9_5.alma.1ALSA-2025:4460
AlmaLinux 8firefoxFixed128.10.0-1.el8_10.alma.1ALSA-2025:4458
AlmaLinux 8thunderbirdFixed128.10.0-1.el8_10.alma.1ALSA-2025:4797
Rocky Linux 9firefoxFixed0:128.10.0-1.el9_5RLSA-2025:7428
Rocky Linux 9thunderbirdFixed0:128.10.0-1.el9_5RLSA-2025:4460
Rocky Linux 8firefoxFixed0:128.10.0-1.el8_10RLSA-2025:4458
Rocky Linux 8thunderbirdFixed0:128.10.0-1.el8_10RLSA-2025:4797

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.