{"schemaVersion":4,"id":"CVE-2026-47247","aliases":["UBUNTU-CVE-2026-47247","DEBIAN-CVE-2026-47247"],"status":"published","duplicateOf":null,"title":"libheif Vulnerable to Heap Information Disclosure via Grid Image Gap + Uninitialized Pixel Plane Allocation","description":"libheif is a HEIF and AVIF file format decoder and encoder. Prior to version 1.22.0, two bugs in libheif chain to leak process heap memory as visible pixel values in decoded grid images. An attacker who uploads a crafted AVIF/HEIC file to any server-side image processor (WordPress, Sharp/libvips, ImageMagick, etc.) can recover heap data - including library function pointers sufficient to defeat ASLR, or any other secret - from the publicly-downloadable transcoded JPEG/PNG/WebP output. Local attack vectors are also possible. Version 1.22.0 fixes the issue.","dates":{"published":"2026-07-21T21:16:59.853Z","modified":"2026-07-22T14:29:24.487Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00494,"percentile":0.44044,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00479},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00494,"percentile":0.44044}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00479,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00494,"percentile":0.44044}]},"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-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-226","name":"Sensitive Information in Resource Not Removed Before Reuse","description":"The product releases a resource such as memory or a file so that it can be made available for reuse, but it does not clear or \"zeroize\" the information contained in the resource before the product performs a critical state transition or makes the resource available for reuse by other entities.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/226.html"},{"id":"CWE-682","name":"Incorrect Calculation","description":"The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.","type":"weakness","status":"Draft","abstraction":"Pillar","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/682.html"},{"id":"CWE-908","name":"Use of Uninitialized Resource","description":"The product uses or accesses a resource that has not been initialized.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/908.html"}],"affected":[{"vendor":"debian","product":"libheif","name":"libheif","label":"libheif","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libheif","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1.15.1-1+deb12u2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.15.1-1+deb12u2","endInclusive":false}},{"text":"< 1.19.8-1+deb13u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.19.8-1+deb13u1","endInclusive":false}},{"text":"< 1.23.1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.23.1-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1.15.1-1+deb12u2 | < 1.19.8-1+deb13u1 | < 1.23.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~esm3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.6.1-1ubuntu0.1~esm3","endInclusive":false}},{"text":"< 1.12.0-2ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.12.0-2ubuntu0.1~esm3","endInclusive":false}},{"text":"< 1.17.6-1ubuntu4.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.17.6-1ubuntu4.4","endInclusive":false}},{"text":"< 1.20.2-1ubuntu0.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.20.2-1ubuntu0.4","endInclusive":false}},{"text":"< 1.21.2-3ubuntu0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.21.2-3ubuntu0.1","endInclusive":false}}],"versionsText":"< 1.6.1-1ubuntu0.1~esm3 | < 1.12.0-2ubuntu0.1~esm3 | < 1.17.6-1ubuntu4.4 | < 1.20.2-1ubuntu0.4 | < 1.21.2-3ubuntu0.1","eol":null,"hubHref":null},{"vendor":"struktur","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.22.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.22.0","endInclusive":false}}],"versionsText":"< 1.22.0","eol":null,"hubHref":"/vendor/struktur/libheif"},{"vendor":"strukturag","product":"libheif","name":"libheif","label":"libheif","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.22.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.22.0","endInclusive":false}}],"versionsText":"< 1.22.0","eol":null,"hubHref":"/vendor/strukturag/libheif"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3","label":"github.com/strukturag/libheif/security/advisories/GHSA-2vh6-whr3-cmq3","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Exploit","Vendor Advisory","Mitigation"]},{"url":"https://ubuntu.com/security/CVE-2026-47247","label":"ubuntu.com/security/CVE-2026-47247","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-47247","label":"www.cve.org/CVERecord?id=CVE-2026-47247","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-47247","label":"security-tracker.debian.org/tracker/CVE-2026-47247","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4959-1","DSA-6417-1","OPENSUSE-SU-2026:10878-1","OPENSUSE-SU-2026:20974-1","SUSE-SU-2026:22153-1","SUSE-SU-2026:2622-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10878-1","OPENSUSE-SU-2026:20974-1","SUSE-SU-2026:22153-1","SUSE-SU-2026:2622-1"]},"timeline":[{"kind":"published","date":"2026-07-21T21:16:59.853Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-22T14:29:24.487Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability: affected before 1.22.0 (CNA); fix release not confirmed","rank":[0,0,0,1,0,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00494,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-07-22T14:29:24.487Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2026-07-22T14:29:24.487Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-07-22T14:29:24.487Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-07-22T14:29:24.487Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-07-22T14:29:01.297Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00494,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:55:52.079Z","stale":false,"partial":false}}