CVE-2023-1999

Source
https://cve.org/CVERecord?id=CVE-2023-1999
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1999.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-1999
Downstream
Related
Published
2023-06-20T11:28:52.547Z
Modified
2026-05-08T04:50:59.205688Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Use after free in libwebp
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1999.json",
    "cna_assigner": "Google",
    "cwe_ids": [
        "CWE-416"
    ],
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "0.4.2"
                },
                {
                    "fixed": "1.3.1"
                },
                {
                    "introduced": "0.4.2"
                },
                {
                    "fixed": "1.3.0-8-ga486d800"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/webmproject/libwebp

Affected ranges

Type
GIT
Repo
https://github.com/webmproject/libwebp
Events
Database specific
{
    "cpe": "cpe:2.3:a:webmproject:libwebp:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.4.2"
        },
        {
            "fixed": "1.3.1"
        }
    ],
    "source": "CPE_FIELD"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1999.json"