{"id":"CVE-2023-1999","state":"PUBLISHED","title":"Use after free in libwebp","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.","publishedAt":"2023-06-20T11:28:52.547Z","updatedAt":"2025-02-13T16:39:44.993Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"Google"},"assigner":"Google","products":["Chromium libwebp"],"affected":[{"vendor":"Chromium","product":"libwebp","packageName":"libwebp","defaultStatus":"unaffected","versions":[{"version":"0.4.2","status":"affected","lessThan":"1.3.1","versionType":"custom"},{"version":"0.4.2","status":"affected","lessThan":"1.3.0-8-ga486d800","versionType":"custom"}],"collectionURL":"https://chromium.googlesource.com/webm/libwebp","repo":"https://chromium.googlesource.com/"}],"references":["https://chromium.googlesource.com/webm/libwebp","https://security.gentoo.org/glsa/202309-05"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/1xxx/CVE-2023-1999.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-1999","state":"PUBLISHED","datePublished":"2023-06-20T11:28:52.547Z","dateUpdated":"2025-02-13T16:39:44.993Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2023-04-12T09:40:34.560Z"},"containers":{"cna":{"title":"Use after free in libwebp","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Chromium","product":"libwebp","packageName":"libwebp","defaultStatus":"unaffected","versions":[{"version":"0.4.2","status":"affected","lessThan":"1.3.1","versionType":"custom"},{"version":"0.4.2","status":"affected","lessThan":"1.3.0-8-ga486d800","versionType":"custom"}],"collectionURL":"https://chromium.googlesource.com/webm/libwebp","repo":"https://chromium.googlesource.com/"}],"references":[{"url":"https://chromium.googlesource.com/webm/libwebp"},{"url":"https://security.gentoo.org/glsa/202309-05"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2023-09-17T08:07:00.899Z"},"impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://chromium.googlesource.com/webm/libwebp","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202309-05","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T06:05:27.124Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-26T19:14:09.901555Z","id":"CVE-2023-1999","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-26T19:14:21.862Z"}}]}}}