{"schemaVersion":3,"id":"CVE-2024-41311","aliases":["MGASA-2024-0352","SUSE-SU-2024:3960-1","UBUNTU-CVE-2024-41311","USN-7082-1","DEBIAN-CVE-2024-41311","DLA-3934-1"],"status":"published","duplicateOf":null,"title":null,"description":"In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can lead to an out-of-bounds read and write.","dates":{"published":"2024-10-15T00:00:00.000Z","modified":"2024-10-23T00:10:12.649Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00774,"percentile":0.55215,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.03300000000000004,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00807},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00774,"percentile":0.55215}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00807,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00774,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00774,"percentile":0.55215}]},"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":[{"id":"GITHUB_STRUKTURAG_LIBHEIF","name":"Libheif","source":"github","url":"https://github.com/strukturag/libheif/issues/123","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.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+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.18.1-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.0-1+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15.1-1+deb12u1 | < 1.18.1-1 | < 1.11.0-1+deb11u1","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.17.6-1ubuntu4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.17.6-1ubuntu4.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/libheif","purlType":"rpm","versions":[{"text":"< 1.16.2-1.2.mga9","noFixRecorded":false,"fixedIn":null},{"text":"< 1.16.2-1.2.mga9.tainted","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.16.2-1.2.mga9 | < 1.16.2-1.2.mga9.tainted","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libheif&distro=openSUSE Leap 15.5","name":"libheif","label":"libheif&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libheif&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"libheif&distro=openSUSE Leap 15.6","name":"libheif","label":"libheif&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/libheif&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","name":"libheif","label":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP5","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6","name":"libheif","label":"libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libheif&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP6","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","name":"libheif","label":"libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"suse","product":"libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","name":"libheif","label":"libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/libheif&distro=SUSE Linux Enterprise Module for Package Hub 15 SP6","purlType":"rpm","versions":[{"text":"< 1.12.0-150400.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.0-150400.3.14.1","eol":null,"hubHref":null},{"vendor":"struktur","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.17.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.17.6","eol":null,"hubHref":"/vendor/struktur/libheif"}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/strukturag/libheif/issues/1226","label":"github.com/strukturag/libheif/issues/1226","hostname":"github.com","tags":["REPORT","Exploit","Issue Tracking"]},{"url":"https://github.com/strukturag/libheif/pull/1227","label":"github.com/strukturag/libheif/pull/1227","hostname":"github.com","tags":["REPORT","Issue Tracking","Patch"]},{"url":"https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36","label":"github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36","hostname":"github.com","tags":["REPORT","Patch"]},{"url":"https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0","label":"gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0","hostname":"gist.github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html","label":"lists.debian.org/debian-lts-announce/2024/10/msg00025.html","hostname":"lists.debian.org","tags":["Mailing List"]},{"url":"https://advisories.mageia.org/MGASA-2024-0352.html","label":"advisories.mageia.org/MGASA-2024-0352.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33662","label":"bugs.mageia.org/show_bug.cgi?id=33662","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7082-1","label":"ubuntu.com/security/notices/USN-7082-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20243960-1/","label":"www.suse.com/support/update/announcement/2024/suse-su-20243960-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1231714","label":"bugzilla.suse.com/1231714","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-41311","label":"www.suse.com/security/cve/CVE-2024-41311","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-41311","label":"ubuntu.com/security/CVE-2024-41311","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-41311","label":"www.cve.org/CVERecord?id=CVE-2024-41311","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-41311","label":"security-tracker.debian.org/tracker/CVE-2024-41311","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5796-1","OPENSUSE-SU-2024:14579-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:14579-1"]},"timeline":[{"kind":"published","date":"2024-10-15T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-10-23T00:10:12.649Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T16:01:06.548Z","stale":false,"partial":false}}