{"id":"CVE-2026-5318","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-5318","generatedAt":"2026-10-28T07:04:02.331Z","title":"A weakness has been identified in LibRaw up to 0.22.0.","description":"A weakness has been identified in LibRaw up to 0.22.0. This impacts the function HuffTable::initval of the file src/decompressors/losslessjpeg.cpp of the component JPEG DHT Parser. This manipulation of the argument bits[] causes out-of-bounds write. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 0.22.1 will fix this issue. Patch name: a6734e867b19d75367c05f872ac26322464e3995. It is advisable to upgrade the affected component.","published":"2026-04-02T03:16:07.000Z","lastModified":"2026-06-17T10:58:48.000Z","status":"Analyzed","sourceIdentifier":"cna@vuldb.com","cvss":{"version":"4.0","score":2.1,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-119","CWE-787"],"affected":["libraw/libraw"],"epss":{"score":0.00629,"percentile":0.49948,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.63%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/LibRaw/LibRaw/","tags":["Product"],"source":"cna@vuldb.com"},{"url":"https://github.com/LibRaw/LibRaw/commit/a6734e867b19d75367c05f872ac26322464e3995","tags":["Patch"],"source":"cna@vuldb.com"},{"url":"https://github.com/LibRaw/LibRaw/issues/794","tags":["Issue Tracking"],"source":"cna@vuldb.com"},{"url":"https://github.com/LibRaw/LibRaw/issues/794#issuecomment-4065342499","tags":["Issue Tracking"],"source":"cna@vuldb.com"},{"url":"https://github.com/LibRaw/LibRaw/releases/tag/0.22.1","tags":["Product","Release Notes"],"source":"cna@vuldb.com"},{"url":"https://github.com/biniamf/pocs/tree/main/libraw_lljpeg","tags":["Exploit","Third Party Advisory"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/submit/780538","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/354650","tags":["Third Party Advisory","VDB Entry"],"source":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/354650/cti","tags":["Permissions Required","VDB Entry"],"source":"cna@vuldb.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5318","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}