
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-3861 is a security vulnerability discovered in Mozilla Firefox and Thunderbird that affects versions of Firefox < 125, Firefox ESR < 115.10, and Thunderbird < 115.10. The vulnerability was disclosed on April 16, 2024, and involves a potential use-after-free condition that occurs when an AlignedBuffer is assigned to itself (Mozilla Advisory, NVD).
The vulnerability occurs in the AlignedBuffer component where if an AlignedBuffer were assigned to itself, the subsequent self-move operation could result in an incorrect reference count. The technical issue stems from the move operator not checking for self-move before calling ~AlignedBuffer(), which invalidates the entire object. This leads to the mBuffer member retaining an invalid value that could later be used by ~UniquePtr(), potentially releasing memory it doesn't own (Mozilla Bug). The vulnerability has been assessed with a CVSS 3.1 Base Score of 4.0 MEDIUM (AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) (NVD).
The vulnerability could potentially lead to use-after-free conditions, which might result in memory corruption. While the severity is rated as moderate, the impact is somewhat limited as it requires specific conditions to be exploited (Mozilla Advisory).
The vulnerability has been fixed in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10. Users are advised to upgrade to these versions or later to mitigate the risk. The fix involves correcting the move operator to handle self-move cases properly (Mozilla Advisory, Debian LTS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."