CVE-2024-3861 Use after free in Firefox
A self-move assignment in AlignedBuffer causes a use-after-free, potentially allowing remote code execution in Firefox and Thunderbird.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-3861?
CVE-2024-3861 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 16 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
If an AlignedBuffer were assigned to itself, the subsequent self-move could result in an incorrect reference count and later use-after-free. This vulnerability affects Firefox < 125, Firefox ESR < 115.10, and Thunderbird < 115.10.
Weakness: CWE-416
Which versions are affected by CVE-2024-3861?
It affects 3 products.
Products include Debian Debian Linux, Mozilla Firefox, Mozilla Thunderbird.
How do I fix CVE-2024-3861?
Upgrade to a fixed version.
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-2024-3861 being exploited?
There is no known exploitation of CVE-2024-3861 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2024-3861, GHSA-mvc5-vcrh-v937, UBUNTU-CVE-2024-3861.