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.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://bugzilla.mozilla.org/show_bug.cgi?id=1883158 | issue tracking |
https://lists.debian.org/debian-lts-announce/2024/04/msg00012.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2024/04/msg00013.html | third party advisory mailing list |
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 |