CVEfocus › CVE database › CVE-2025-5272

CVE-2025-5272Memory safety bugs fixed in Firefox 139 and Thunderbird 139

CVSS 7.3 HighEPSS 0.6% (higher than 41% of CVEs)Published 2025-05-27Updated 2026-04-13Assigner: mozilla

Memory safety bugs present in Firefox 138 and Thunderbird 138. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox 139 and Thunderbird 139.

CWE-787

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Ubuntu has 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

1Fixed
2Fix pending
10Will not fix
12Not 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-5272
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-5272
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-5272
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-5272
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-5272
Ubuntu 22.04thunderbirdFixed1:140.7.1+build1-0ubuntu0.22.04.1UBUNTU-CVE-2025-5272
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-5272
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-5272
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-5272
Ubuntu 18.04mozjs52Fix pendingUBUNTU-CVE-2025-5272
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope

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.