{"id":"UBUNTU-CVE-2023-0996","details":"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.","modified":"2026-04-22T16:31:05.263398Z","published":"2023-02-24T04:15:00Z","related":["USN-6847-1"],"upstream":["CVE-2023-0996"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0996"},{"type":"REPORT","url":"https://github.com/strukturag/libheif/pull/759"},{"type":"REPORT","url":"https://govtech-csg.github.io/security-advisories/2023/02/24/CVE-2023-0996.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-0996"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6847-1"}],"affected":[{"package":{"name":"libheif","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libheif@1.6.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-1ubuntu0.1~esm1"}]}],"versions":["1.5.0-1build1","1.5.1-1","1.5.1-1build1","1.6.0-1","1.6.1-1","1.6.1-1build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"heif-gdk-pixbuf","binary_version":"1.6.1-1ubuntu0.1~esm1"},{"binary_name":"heif-thumbnailer","binary_version":"1.6.1-1ubuntu0.1~esm1"},{"binary_name":"libheif-examples","binary_version":"1.6.1-1ubuntu0.1~esm1"},{"binary_name":"libheif1","binary_version":"1.6.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0996.json"}},{"package":{"name":"libheif","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libheif@1.12.0-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.0-2ubuntu0.1~esm1"}]}],"versions":["1.11.0-1","1.12.0-2build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"heif-gdk-pixbuf","binary_version":"1.12.0-2ubuntu0.1~esm1"},{"binary_name":"heif-thumbnailer","binary_version":"1.12.0-2ubuntu0.1~esm1"},{"binary_name":"libheif-examples","binary_version":"1.12.0-2ubuntu0.1~esm1"},{"binary_name":"libheif1","binary_version":"1.12.0-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0996.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}