Double Free Affecting libwebp package, versions <0.4.4-1ubuntu0.1~esm2
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU1604-LIBWEBP-5500141
- published 8 May 2023
- disclosed 20 Jun 2023
How to fix?
Upgrade Ubuntu:16.04
libwebp
to version 0.4.4-1ubuntu0.1~esm2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libwebp
package and not the libwebp
package as distributed by Ubuntu
.
See How to fix?
for Ubuntu:16.04
relevant fixed versions and status.
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.