CVE-2025-47154 Use after free in Ladybird

Critical 9.0 Published Updated

Remote attackers can execute arbitrary code via crafted JavaScript files due to a use-after-free vulnerability in the Ladybird browser's LibJS engine.

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

What is CVE-2025-47154?

CVE-2025-47154 is a critical use after free vulnerability in Ladybird, published on 1 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibJS in Ladybird before f5a6704 mishandles the freeing of the vector that arguments_list references, leading to a use-after-free, and allowing remote attackers to execute arbitrary code via a crafted .js file. NOTE: the GitHub README says "Ladybird is in a pre-alpha state, and only suitable for use by developers."

Weakness: CWE-820

Which versions are affected by CVE-2025-47154?

How do I fix CVE-2025-47154?

No fix has been published for CVE-2025-47154 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-47154 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47154 exists.

Sources

Also known as GHSA-g8g2-3hvq-w5f4.

Is CVE-2025-47154 in your software?

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

Check your SBOMs for free