Vulnerability · Published Dec 28, 2025 · Assigned by VulDB
CVE-2025-15155floooh sokol sokol_gfx.h _sg_pipeline_desc_defaults stack-based overflow
Medium 5.3
In plain English
A medium-severity stack buffer overflow in sokol from floooh. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-121, CWE-119 · Vector: 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
References
- VDB-338533 | floooh sokol sokol_gfx.h _sg_pipeline_desc_defaults stack-based overflow vdb-entry, technical-description
- VDB-338533 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #719823 | floooh sokol e0832c9 Stack-based Buffer Overflow third-party-advisory
- https://github.com/floooh/sokol/issues/1405 issue-tracking
- https://github.com/floooh/sokol/issues/1406#issuecomment-3649548096 issue-tracking
- https://github.com/oneafter/1212/blob/main/hbf1 exploit
- https://github.com/floooh/sokol/commit/5d11344150973f15e16d3ec4ee7550a73fb995e0 patch