Freeing arbitrary <code>nsIInputStream</code>'s on a different thread than creation could have led to a use-after-free and potentially exploitable crash. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.
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://www.mozilla.org/security/advisories/mfsa2022-47/ | vendor advisory |
https://www.mozilla.org/security/advisories/mfsa2022-49/ | vendor advisory |
https://www.mozilla.org/security/advisories/mfsa2022-48/ | vendor advisory |
https://bugzilla.mozilla.org/show_bug.cgi?id=1791314 | vendor advisory issue tracking permissions required |