CVE-2025-49709 Memory corruption in canvas surfaces

Critical 9.8 Published Updated

Memory corruption in canvas operations allows attackers to execute arbitrary code, requiring users to upgrade Firefox.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-49709?

CVE-2025-49709 is a critical memory corruption vulnerability in Mozilla Firefox, published on 11 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Certain canvas operations could have lead to memory corruption. This vulnerability was fixed in Firefox 139.0.4.

Weakness: CWE-787

Which versions are affected by CVE-2025-49709?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2025-49709?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-49709 being exploited?

There is no known exploitation of CVE-2025-49709 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-p5g7-573c-m74m, UBUNTU-CVE-2025-49709.

Is CVE-2025-49709 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free