When adding a range to an object in the DOM, it is possible to use "addRange" to add the range to an incorrect root object. This triggers a use-after-free, resulting in a potentially exploitable crash. This vulnerability affects Firefox < 52 and Thunderbird < 52.
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/mfsa2017-09/ | vendor advisory |
https://bugzilla.mozilla.org/show_bug.cgi?id=1340186 | issue tracking vendor advisory |
https://www.mozilla.org/security/advisories/mfsa2017-05/ | vendor advisory |
http://www.securitytracker.com/id/1037966 | vdb entry third party advisory |
http://www.securityfocus.com/bid/96691 | vdb entry third party advisory |