# CVE-2024-3861: If an AlignedBuffer were assigned to itself, the subsequent self-move could result in an incorrect reference count and later use-after-free.

- Severity: Medium 4.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-16T15:14:08.332Z
- Modified: 2026-06-17T07:45:18.727Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mozilla

## 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.

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 125; -; before 115.0; before 125.0
- Mozilla Firefox ESR: from unspecified before 115.10
- Mozilla Thunderbird: from unspecified before 115.10; before 115.0
- debian debian_linux: 10.0

## References

- <https://bugzilla.mozilla.org/show_bug.cgi?id=1883158> (issue-tracking)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00012.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00013.html> (mailing-list, third-party-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2024-18/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2024-19/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2024-20/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-3861](https://www.cve.org/CVERecord?id=CVE-2024-3861), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3861](https://nvd.nist.gov/vuln/detail/CVE-2024-3861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3861 · Whole record: https://cve.day/CVE-2024-3861.json · Rebuilt by cve.day 2026-11-25T22:58:39.255Z
