{"schemaVersion":3,"id":"CVE-2023-0996","aliases":["MGASA-2023-0144","SUSE-SU-2023:1766-1","UBUNTU-CVE-2023-0996","DEBIAN-CVE-2023-0996"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-02-24T03:35:58.752Z","modified":"2025-03-11T20:47:36.950Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00307,"percentile":0.22106,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00307},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00307,"percentile":0.22106}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00307,"percentile":0.22106}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"debian","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libheif","purlType":"deb","versions":[{"text":"< 1.15.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libheif","purlType":"deb","versions":[{"text":"< 1.6.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.12.0-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.1-1ubuntu0.1~esm1 | < 1.12.0-2ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"mageia","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libheif","purlType":"rpm","versions":[{"text":"< 1.10.0-1.2.mga8","noFixRecorded":false,"fixedIn":null},{"text":"< 1.10.0-1.2.mga8.tainted","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-1.2.mga8 | < 1.10.0-1.2.mga8.tainted","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libheif&distro=openSUSE Leap 15.4","name":"libheif","label":"libheif&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libheif&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.8.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","name":"libheif","label":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.8.1","eol":null,"hubHref":null},{"vendor":"struktur","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.14.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.14.2","eol":null,"hubHref":"/vendor/struktur/libheif"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/strukturag/libheif/pull/759","label":"github.com/strukturag/libheif/pull/759","hostname":"github.com","tags":["REPORT","Patch","Vendor Advisory"]},{"url":"https://govtech-csg.github.io/security-advisories/2023/02/24/CVE-2023-0996.html","label":"govtech-csg.github.io/security-advisories/2023/02/24/CVE-2023-0996.html","hostname":"govtech-csg.github.io","tags":["REPORT","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0144.html","label":"advisories.mageia.org/MGASA-2023-0144.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31768","label":"bugs.mageia.org/show_bug.cgi?id=31768","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.suse.com/pipermail/sle-security-updates/2023-April/014381.html","label":"lists.suse.com/pipermail/sle-security-updates/2023-April/014381.html","hostname":"lists.suse.com","tags":["WEB"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1208640","label":"bugzilla.suse.com/show_bug.cgi?id=1208640","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20231766-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20231766-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-0996","label":"www.suse.com/security/cve/CVE-2023-0996","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2023-0996","label":"ubuntu.com/security/CVE-2023-0996","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0996","label":"www.cve.org/CVERecord?id=CVE-2023-0996","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6847-1","label":"ubuntu.com/security/notices/USN-6847-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-0996","label":"security-tracker.debian.org/tracker/CVE-2023-0996","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3945-1","OPENSUSE-SU-2024:14579-1","USN-6847-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:14579-1","USN-6847-1"]},"timeline":[{"kind":"published","date":"2023-02-24T03:35:58.752Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-11T20:47:36.950Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:48:58.863Z","stale":false,"partial":false}}