There exists a use after free/double free in libwebp. An...
High severity
Unreviewed
Published
Jun 20, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
Jun 20, 2023
Published to the GitHub Advisory Database
Jun 20, 2023
Last updated
Apr 4, 2024
There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free.
References