{"schemaVersion":3,"id":"CVE-2026-21413","aliases":["RHSA-2026:13860","RHSA-2026:13868","UBUNTU-CVE-2026-21413","DEBIAN-CVE-2026-21413"],"status":"published","duplicateOf":null,"title":null,"description":"A heap-based buffer overflow vulnerability exists in the lossless_jpeg_load_raw functionality of LibRaw Commit 0b56545 and Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.","dates":{"published":"2026-04-07T13:49:29.784Z","modified":"2026-10-13T21:15:31.015Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","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:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01381,"percentile":0.71759,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.4489999999999999,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00932},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01381,"percentile":0.71759}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00932,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01381,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01381,"percentile":0.71759}]},"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":"REF_C32FD64B00F1F263","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_EA7CF227E4628502","name":"Exploit Reference (talosintelligence.com)","source":"reference","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-129","name":"Improper Validation of Array Index","description":"The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/129.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":"libraw","name":"libraw","label":"libraw","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libraw","purlType":"deb","versions":[{"text":"< 0.20.2-2.1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.21.4-2+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.22.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.20.2-2.1+deb12u2 | < 0.21.4-2+deb13u1 | < 0.22.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"darktable","name":"darktable","label":"darktable","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/darktable","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dcraw","name":"dcraw","label":"dcraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dcraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"digikam","name":"digikam","label":"digikam","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/digikam","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"exactimage","name":"exactimage","label":"exactimage","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/exactimage","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"kodi","name":"kodi","label":"kodi","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/kodi","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libraw","name":"libraw","label":"libraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.20.2-2ubuntu2.22.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.21.2-2.1ubuntu0.24.04.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0.21.5b-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.20.2-2ubuntu2.22.04.3 | < 0.21.2-2.1ubuntu0.24.04.2 | < 0.21.5b-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rawtherapee","name":"rawtherapee","label":"rawtherapee","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rawtherapee","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ufraw","name":"ufraw","label":"ufraw","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ufraw","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"libraw","product":"libraw","name":"LibRaw","label":"libraw","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Commit 0b56545","noFixRecorded":false,"fixedIn":null},{"text":"Commit d20315b","noFixRecorded":false,"fixedIn":null},{"text":"0.22.0","noFixRecorded":false,"fixedIn":null},{"text":"0.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"Commit 0b56545 | Commit d20315b | 0.22.0 | 0.22.1","eol":null,"hubHref":"/vendor/libraw/libraw"},{"vendor":"redhat","product":"LibRaw","name":"LibRaw","label":"LibRaw","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/LibRaw","purlType":"rpm","versions":[{"text":"< 0:0.20.2-6.el9_0","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.20.2-6.el9_2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.20.2-6.el9_0 | < 0:0.20.2-6.el9_2","eol":null,"hubHref":null},{"vendor":"redhat","product":"LibRaw-debuginfo","name":"LibRaw-debuginfo","label":"LibRaw-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/LibRaw-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.20.2-6.el9_0","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.20.2-6.el9_2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.20.2-6.el9_0 | < 0:0.20.2-6.el9_2","eol":null,"hubHref":null},{"vendor":"redhat","product":"LibRaw-debugsource","name":"LibRaw-debugsource","label":"LibRaw-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/LibRaw-debugsource","purlType":"rpm","versions":[{"text":"< 0:0.20.2-6.el9_0","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.20.2-6.el9_2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.20.2-6.el9_0 | < 0:0.20.2-6.el9_2","eol":null,"hubHref":null},{"vendor":"redhat","product":"LibRaw-samples-debuginfo","name":"LibRaw-samples-debuginfo","label":"LibRaw-samples-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/LibRaw-samples-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.20.2-6.el9_0","noFixRecorded":false,"fixedIn":null},{"text":"< 0:0.20.2-6.el9_2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.20.2-6.el9_0 | < 0:0.20.2-6.el9_2","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2026-2331","label":"talosintelligence.com/vulnerability_reports/TALOS-2026-2331","hostname":"talosintelligence.com","tags":["ARTICLE","REPORT","Exploit","Third Party Advisory"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331","label":"www.talosintelligence.com/vulnerability_reports/TALOS-2026-2331","hostname":"www.talosintelligence.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-21413","label":"access.redhat.com/security/cve/CVE-2026-21413","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2455929","label":"bugzilla.redhat.com/show_bug.cgi?id=2455929","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21413.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13284","label":"access.redhat.com/errata/RHSA-2026:13284","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14224","label":"access.redhat.com/errata/RHSA-2026:14224","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14655","label":"access.redhat.com/errata/RHSA-2026:14655","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:14673","label":"access.redhat.com/errata/RHSA-2026:14673","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13860","label":"access.redhat.com/errata/RHSA-2026:13860","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13868","label":"access.redhat.com/errata/RHSA-2026:13868","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13870","label":"access.redhat.com/errata/RHSA-2026:13870","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:13854","label":"access.redhat.com/errata/RHSA-2026:13854","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:11360","label":"access.redhat.com/errata/RHSA-2026:11360","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19345","label":"access.redhat.com/errata/RHSA-2026:19345","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13860.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13860.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-21413","label":"www.cve.org/CVERecord?id=CVE-2026-21413","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21413","label":"nvd.nist.gov/vuln/detail/CVE-2026-21413","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13868.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13868.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-21413","label":"ubuntu.com/security/CVE-2026-21413","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8522-1","label":"ubuntu.com/security/notices/USN-8522-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-21413","label":"security-tracker.debian.org/tracker/CVE-2026-21413","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10565-1","OPENSUSE-SU-2026:20574-1","RHSA-2026:11360","RHSA-2026:13284","RHSA-2026:13854","RHSA-2026:13870","RHSA-2026:14224","RHSA-2026:14655","RHSA-2026:14673","RHSA-2026:19345","SUSE-SU-2026:1438-1","SUSE-SU-2026:1555-1","SUSE-SU-2026:1556-1","USN-8522-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10565-1","OPENSUSE-SU-2026:20574-1","SUSE-SU-2026:1438-1","SUSE-SU-2026:1555-1","SUSE-SU-2026:1556-1","USN-8522-1"]},"timeline":[{"kind":"published","date":"2026-04-07T13:49:29.784Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-13T21:15:31.015Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:18:58.497Z","stale":false,"partial":false}}