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
ALPINE (1)
ALSA (2)
AZL (1)
BELL (1)
CLEANSTART (2)
CLSA (5)
DEBIAN (1)
JLSEC (1)
OESA (6)
openSUSE (1)
RHSA (24)
RLSA (2)
SUSE (4)
UBUNTU (1)
Related
Published
2023-06-20T11:28:52Z
Modified
2026-10-24T10:30:41Z
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
{
    "cna_assigner": "Google",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1999.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "0.4.2"
                        },
                        {
                            "fixed": "1.3.1"
                        },
                        {
                            "introduced": "0.4.2"
                        },
                        {
                            "fixed": "1.3.0-8-ga486d800"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/webmproject/libwebp

Affected ranges

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

Database specific

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