{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-0996 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-0996 is a high-severity memory corruption vulnerability in Struktur libheif, published on 24 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-0996 and fix it if it is affected.\n\nWhat it is: CVE-2023-0996 is a high-severity memory corruption vulnerability in Struktur libheif, published on 24 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-0996 in the wild and no public exploit code.\n\nAffected product: Struktur libheif. 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-0996/ (Markdown: https://insights.sbomify.com/CVE-2023-0996/index.md)","id":"CVE-2023-0996","markdown":"https://insights.sbomify.com/CVE-2023-0996/index.md","name":"CVE-2023-0996","record":{"aliases":["DEBIAN-CVE-2023-0996","GHSA-3hqh-h748-xjx8","MGASA-2023-0144","SUSE-SU-2023:1766-1","UBUNTU-CVE-2023-0996"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"libheif image library","requires_auth":"none","summary":"A buffer overflow in libheif's strided image parsing allows attackers to execute arbitrary code or cause denial of service via crafted image files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GovTech CSG","cpe":[{"product":"libheif","vendor":"struktur"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"There is a vulnerability in the strided image data parsing code in the emscripten wrapper for libheif. An attacker could exploit this through a crafted image file to cause a buffer overflow in linear memory during a memcpy call.","ecosystems":["SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in libheif","id":"CVE-2023-0996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"SourceCodester Moosikay E-Commerce System POST Parameter order.php sql injection","id":"CVE-2023-0997"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["1.12.0-150400.3.8.1"],"introduced":["0"],"last_affected":[],"package":"libheif","purl":"pkg:rpm/suse/libheif\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2023:1766-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.12.0-150400.3.8.1"],"introduced":["0"],"last_affected":[],"package":"libheif","purl":"pkg:rpm/opensuse/libheif\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1766-1"}],"prev":{"headline":"Cross-site Scripting (XSS) - Stored in unilogies/bumsys","id":"CVE-2023-0995"},"products":["libheif"],"published":"2023-02-24","related":[{"cvss_score":8.8,"headline":"libheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositing","id":"CVE-2026-32740","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":8.8,"headline":"Null dereference in n/a","id":"CVE-2023-49460","kev_date_added":null,"published":"2023-12-07"},{"cvss_score":8.8,"headline":"Null dereference in n/a","id":"CVE-2023-49462","kev_date_added":null,"published":"2023-12-07"},{"cvss_score":8.8,"headline":"Null dereference in n/a","id":"CVE-2023-49463","kev_date_added":null,"published":"2023-12-07"},{"cvss_score":8.8,"headline":"Null dereference in n/a","id":"CVE-2023-49464","kev_date_added":null,"published":"2023-12-07"},{"cvss_score":8.8,"headline":"Denial of service in n/a","id":"CVE-2020-19498","kev_date_added":null,"published":"2021-07-21"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2020-19499","kev_date_added":null,"published":"2021-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-11","vendors":["Struktur"]},"summary":"A buffer overflow in libheif's strided image parsing allows attackers to execute arbitrary code or cause denial of service via crafted image files.","url":"https://insights.sbomify.com/CVE-2023-0996/"}