{"schemaVersion":3,"id":"CVE-2025-3407","aliases":["UBUNTU-CVE-2025-3407","DEBIAN-CVE-2025-3407"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in Nothings stb up to f056911. It has been declared as critical. Affected by this vulnerability is the function stbhw_build_tileset_from_image. The manipulation of the argument h_count/v_count leads to out-of-bounds read. The attack can be launched remotely. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The vendor was contacted early about this disclosure but did not respond in any way.","dates":{"published":"2025-04-08T04:00:11.732Z","modified":"2025-04-08T18:23:58.113Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/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":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00473,"percentile":0.39608,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00473},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00473,"percentile":0.39608}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00473,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00473,"percentile":0.39608}]},"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-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"}],"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","name":"stb","label":"stb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"f056911","noFixRecorded":false,"fixedIn":null}],"versionsText":"f056911","eol":null,"hubHref":"/vendor/nothings/stb"},{"vendor":"nothings","product":"stb_image.h","name":"stb image.h","label":"stb_image.h","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.13","eol":null,"hubHref":"/vendor/nothings/stb_imageh"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.303685","label":"vuldb.com?id.303685","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.303685","label":"vuldb.com?ctiid.303685","hostname":"vuldb.com","tags":["Signature","Permissions Required","VDB Entry"]},{"url":"https://vuldb.com/?submit.544227","label":"vuldb.com?submit.544227","hostname":"vuldb.com","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://ubuntu.com/security/CVE-2025-3407","label":"ubuntu.com/security/CVE-2025-3407","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-3407","label":"www.cve.org/CVERecord?id=CVE-2025-3407","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/nothings/stb/issues/1769","label":"github.com/nothings/stb/issues/1769","hostname":"github.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-3407","label":"security-tracker.debian.org/tracker/CVE-2025-3407","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-08T04:00:11.732Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-08T18:23:58.113Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:08:10.073Z","stale":false,"partial":false}}