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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Alpine | edge-community | noarch | firefox-esr | <ย 102.10.0-r0 | UNKNOWN |
Alpine | edge-main | noarch | libwebp | <ย 1.3.0-r3 | UNKNOWN |
Alpine | 3.15-main | noarch | libwebp | <ย 1.2.2-r1 | UNKNOWN |
Alpine | 3.16-main | noarch | libwebp | <ย 1.2.3-r1 | UNKNOWN |
Alpine | 3.17-main | noarch | libwebp | <ย 1.2.4-r2 | UNKNOWN |
Alpine | 3.18-community | noarch | firefox-esr | <ย 102.10.0-r0 | UNKNOWN |
Alpine | 3.18-main | noarch | libwebp | <ย 1.3.0-r2 | UNKNOWN |
Alpine | 3.19-community | noarch | firefox-esr | <ย 102.10.0-r0 | UNKNOWN |
Alpine | 3.19-main | noarch | libwebp | <ย 1.3.0-r3 | UNKNOWN |