Vulnerability CVE-2023-1999: Information

Description

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.

Severity: HIGH (7.5) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Published: June 20, 2023
Modified: Feb. 13, 2025
Error type identifier: CWE-415CWE-416

Fixed packages

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:webmproject:libwebp:*:*:*:*:*:*:*:*
      Start including
      0.4.2
      End excluding
      1.3.1