{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-1999 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-1999 is a medium-severity use after free vulnerability in Chromium libwebp, published on 20 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1999 and fix it if it is affected.\n\nWhat it is: CVE-2023-1999 is a medium-severity use after free vulnerability in Chromium libwebp, published on 20 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-1999 in the wild and no public exploit code.\n\nAffected product: Chromium libwebp. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-1999/ (Markdown: https://insights.sbomify.com/CVE-2023-1999/index.md)","id":"CVE-2023-1999","markdown":"https://insights.sbomify.com/CVE-2023-1999/index.md","name":"CVE-2023-1999","record":{"aliases":["ALPINE-CVE-2023-1999","ALSA-2023:2076","ALSA-2023:2078","AZL-27181","CLSA-2023-1697135462","CLSA-2023-1697136085","DEBIAN-CVE-2023-1999","DLA-3439-1","DSA-5408-1","GHSA-8x9p-cw2c-6253","JLSEC-2026-440","OESA-2023-1317","OESA-2023-1684","OESA-2023-1685","RHSA-2023:2072","RHSA-2023:2073","RHSA-2023:2075","RHSA-2023:2076","RHSA-2023:2077","RHSA-2023:2078","RHSA-2023:2084","RHSA-2023:2085","RLSA-2023:2076","RLSA-2023:2078","SUSE-SU-2023:2467-1","SUSE-SU-2023:2490-1","SUSE-SU-2023:2552-1","UBUNTU-CVE-2023-1999","USN-6078-1","USN-6078-2","openSUSE-SU-2024:13019-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libwebp image library","requires_auth":"low_privilege","summary":"A use-after-free vulnerability in libwebp allows attackers to cause a double free, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"libwebp","vendor":"webmproject"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"},{"id":"CWE-416","name":"Use After Free"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.2::appstream","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_tus:8.2::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Package Hub 15 SP4","SUSE:Linux Enterprise Module for Package Hub 15 SP5","SUSE:Linux Enterprise Real Time 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP4-ESPOS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 15 SP4","SUSE:Linux Enterprise Workstation Extension 15 SP5","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-11-12","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-11-12T11:12:23Z","kind":"github_poc","ref":"https://github.com/Pazhanivelmani/webp_Android10_r33_CVE-2023-1999","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Use after free in libwebp","id":"CVE-2023-1999","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2023"},"n_packages":105,"n_references":2,"next":{"headline":"Unrestricted navigation due to unvalidated mattermost server redirection","id":"CVE-2023-2000"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/almalinux/libwebp","source":"ALSA-2023:2076"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/almalinux/libwebp-devel","source":"ALSA-2023:2076"},{"ecosystem":"AlmaLinux:9","fixed":["1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/almalinux/libwebp","source":"ALSA-2023:2078"},{"ecosystem":"AlmaLinux:9","fixed":["1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/almalinux/libwebp-devel","source":"ALSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-java","purl":"pkg:rpm/redhat/libwebp-java","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools","purl":"pkg:rpm/redhat/libwebp-tools","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-java","purl":"pkg:rpm/redhat/libwebp-java","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools","purl":"pkg:rpm/redhat/libwebp-tools","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-java","purl":"pkg:rpm/redhat/libwebp-java","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools","purl":"pkg:rpm/redhat/libwebp-tools","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-java","purl":"pkg:rpm/redhat/libwebp-java","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.3.0-11.el7"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools","purl":"pkg:rpm/redhat/libwebp-tools","source":"RHSA-2023:2077"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-debugsource","purl":"pkg:rpm/redhat/libwebp-debugsource","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-java-debuginfo","purl":"pkg:rpm/redhat/libwebp-java-debuginfo","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.0-8.el8_7"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools-debuginfo","purl":"pkg:rpm/redhat/libwebp-tools-debuginfo","source":"RHSA-2023:2076"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-debugsource","purl":"pkg:rpm/redhat/libwebp-debugsource","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-java-debuginfo","purl":"pkg:rpm/redhat/libwebp-java-debuginfo","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.2.0-6.el9_1"],"introduced":["0"],"last_affected":[],"package":"libwebp-tools-debuginfo","purl":"pkg:rpm/redhat/libwebp-tools-debuginfo","source":"RHSA-2023:2078"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.0.0-7.el8_2"],"introduced":["0"],"last_affected":[],"package":"libwebp","purl":"pkg:rpm/redhat/libwebp","source":"RHSA-2023:2072"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.0.0-7.el8_2"],"introduced":["0"],"last_affected":[],"package":"libwebp-debuginfo","purl":"pkg:rpm/redhat/libwebp-debuginfo","source":"RHSA-2023:2072"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.0.0-7.el8_2"],"introduced":["0"],"last_affected":[],"package":"libwebp-debugsource","purl":"pkg:rpm/redhat/libwebp-debugsource","source":"RHSA-2023:2072"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.0.0-7.el8_2"],"introduced":["0"],"last_affected":[],"package":"libwebp-devel","purl":"pkg:rpm/redhat/libwebp-devel","source":"RHSA-2023:2072"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.0.0-7.el8_2"],"introduced":["0"],"last_affected":[],"package":"libwebp-java-debuginfo","purl":"pkg:rpm/redhat/libwebp-java-debuginfo","source":"RHSA-2023:2072"}],"prev":{"headline":"Spectre v2 SMT mitigations problem in Linux kernel","id":"CVE-2023-1998"},"products":["libwebp"],"published":"2023-06-20","related":[{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2016-9969","kev_date_added":null,"published":"2019-05-23"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Chromium"]},"summary":"A use-after-free vulnerability in libwebp allows attackers to cause a double free, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2023-1999/"}