CVE-2025-47154CWE-820

LibJS in Ladybird before f5a6704 mishandles the freeing of the vector that arguments_list references, leading to a use-after-free, and allowing remote…

Critical · published May 1, 2025

CVSS v3.1
9.0
EPSS
1%
Percentile
51.8
In the wild
Unconfirmed
What it is

🔥 A use-after-free vulnerability in Ladybird’s LibJS could let attackers execute arbitrary code through a malicious .js file! Think of it like a waiter who mistakenly reuses an order that should have been cleared from the system — if they don’t realize it’s still in play, they might serve up something dangerous instead. 🍽️ An attacker could craft a seemingly innocent JavaScript file that, when executed, opens the door to full control of the system. This could lead to data theft, unauthorized access, or even a complete take-over of the targeted environment! Absolutely devastating!

Put simply

Think of it like a waiter who mistakenly reuses an order that should have been cleared from the system — if they don’t realize it’s still in play, they might serve up something dangerous instead. 🍽️ The vulnerability arises when LibJS mishandles the freeing of a vector referenced by arguments_list, allowing remote code execution via specially crafted JavaScript files. This flaw exploits memory management in the library, making it especially treacherous in the hands of an attacker.

What to do

An attacker could craft a seemingly innocent JavaScript file that, when executed, opens the door to full control of the system. This could lead to data theft, unauthorized access, or even a complete take-over of the targeted environment! Absolutely devastating! Developers should avoid using vulnerable versions of Ladybird, especially since it's still in pre-alpha. Keep an eye on updates from the maintainers and consider using more stable alternatives until this is resolved. If you're experimenting, ensure your environment is isolated! You've got this! Stay vigilant, and keep your environment secure! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00681 · 51.8th percentile
Weakness
CWE-820 · Missing Synchronization
Published
2025-05-01T00:00Z
EPSS history
Timeline
  • 01 MAY 00:00Z
    LibJS in Ladybird before f5a6704 mishandles the freeing of the vector that arguments_list references, leading to a use-after-free, and allowing remote…
    cvelistv5