CVE-2025-15155
floooh sokol sokol_gfx.h _sg_pipeline_desc_defaults stack-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Dec 28, 2025
- Updated
- Dec 29, 2025
- Reserved
- Dec 27, 2025
Description
A vulnerability was detected in floooh sokol up to 16cbcc864012898793cd2bc57f802499a264ea40. The impacted element is the function _sg_pipeline_desc_defaults in the library sokol_gfx.h. The manipulation results in stack-based buffer overflow. The attack requires a local approach. The exploit is now public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The patch is identified as 5d11344150973f15e16d3ec4ee7550a73fb995e0. It is advisable to implement a patch to correct this issue.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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 | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
sokolfloooh |
|
References
- VDB-338533 | floooh sokol sokol_gfx.h _sg_pipeline_desc_defaults stack-based overflowvdb-entrytechnical-description
- VDB-338533 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #719823 | floooh sokol e0832c9 Stack-based Buffer Overflowthird-party-advisory
- https://github.com/floooh/sokol/issues/1405issue-tracking
- https://github.com/floooh/sokol/issues/1406#issuecomment-3649548096issue-tracking
- https://github.com/oneafter/1212/blob/main/hbf1exploit
- https://github.com/floooh/sokol/commit/5d11344150973f15e16d3ec4ee7550a73fb995e0patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.