{"schemaVersion":3,"id":"CVE-2026-5185","aliases":["UBUNTU-CVE-2026-5185","DEBIAN-CVE-2026-5185"],"status":"published","duplicateOf":null,"title":null,"description":"A security flaw has been discovered in Nothings stb_image up to 2.30. This affects the function stbi__gif_load_next of the file stb_image.h of the component Multi-frame GIF File Handler. The manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.","dates":{"published":"2026-03-31T06:45:24.723Z","modified":"2026-03-31T18:04:42.847Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.9,"severity":"low","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00169,"percentile":0.05893,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.015000000000000017,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00154},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00169,"percentile":0.05893}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00169,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00169,"percentile":0.05893}]},"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-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"debian","product":"libstb","name":"libstb","label":"libstb","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libstb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libstb","name":"libstb","label":"libstb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libstb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"nothings","product":"stb_image","name":"stb_image","label":"stb_image","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0","noFixRecorded":false,"fixedIn":null},{"text":"2.1","noFixRecorded":false,"fixedIn":null},{"text":"2.2","noFixRecorded":false,"fixedIn":null},{"text":"2.3","noFixRecorded":false,"fixedIn":null},{"text":"2.4","noFixRecorded":false,"fixedIn":null},{"text":"2.5","noFixRecorded":false,"fixedIn":null},{"text":"2.6","noFixRecorded":false,"fixedIn":null},{"text":"2.7","noFixRecorded":false,"fixedIn":null},{"text":"2.8","noFixRecorded":false,"fixedIn":null},{"text":"2.9","noFixRecorded":false,"fixedIn":null},{"text":"2.10","noFixRecorded":false,"fixedIn":null},{"text":"2.11","noFixRecorded":false,"fixedIn":null},{"text":"2.12","noFixRecorded":false,"fixedIn":null},{"text":"2.13","noFixRecorded":false,"fixedIn":null},{"text":"2.14","noFixRecorded":false,"fixedIn":null},{"text":"2.15","noFixRecorded":false,"fixedIn":null},{"text":"2.16","noFixRecorded":false,"fixedIn":null},{"text":"2.17","noFixRecorded":false,"fixedIn":null},{"text":"2.18","noFixRecorded":false,"fixedIn":null},{"text":"2.19","noFixRecorded":false,"fixedIn":null},{"text":"2.20","noFixRecorded":false,"fixedIn":null},{"text":"2.21","noFixRecorded":false,"fixedIn":null},{"text":"2.22","noFixRecorded":false,"fixedIn":null},{"text":"2.23","noFixRecorded":false,"fixedIn":null},{"text":"2.24","noFixRecorded":false,"fixedIn":null},{"text":"2.25","noFixRecorded":false,"fixedIn":null},{"text":"2.26","noFixRecorded":false,"fixedIn":null},{"text":"2.27","noFixRecorded":false,"fixedIn":null},{"text":"2.28","noFixRecorded":false,"fixedIn":null},{"text":"2.29","noFixRecorded":false,"fixedIn":null},{"text":"2.30","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 2.8 | 2.9 | 2.10 | 2.11 | 2.12 | 2.13 | 2.14 | 2.15 | 2.16 | 2.17 | 2.18 | 2.19 | 2.20 | 2.21 | 2.22 | 2.23 | 2.24 | 2.25 | 2.26 | 2.27 | 2.28 | 2.29 | 2.30","eol":null,"hubHref":"/vendor/nothings/stb_image"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/vuln/354253","label":"vuldb.com/vuln/354253","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","REPORT"]},{"url":"https://vuldb.com/vuln/354253/cti","label":"vuldb.com/vuln/354253/cti","hostname":"vuldb.com","tags":["Signature","Permissions Required","REPORT"]},{"url":"https://vuldb.com/submit/780390","label":"vuldb.com/submit/780390","hostname":"vuldb.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-5185","label":"ubuntu.com/security/CVE-2026-5185","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5185","label":"www.cve.org/CVERecord?id=CVE-2026-5185","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-5185","label":"security-tracker.debian.org/tracker/CVE-2026-5185","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-31T06:45:24.723Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-31T18:04:42.847Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:55:08.483Z","stale":false,"partial":false}}