Vulnerability · Published Dec 22, 2025 · Assigned by VulDB
CVE-2025-15013floooh sokol sokol_gfx.h _sg_validate_pipeline_desc 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.1% (higher than 4% of all known vulnerabilities).
Official description
A vulnerability was identified in floooh sokol up to 5d11344150973f15e16d3ec4ee7550a73fb995e0. The impacted element is the function _sg_validate_pipeline_desc in the library sokol_gfx.h. Such manipulation leads to stack-based buffer overflow. The attack must be carried out locally. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The name of the patch is b95c5245ba357967220c9a860c7578a7487937b0. It is best practice to apply a patch to resolve 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-337719 | floooh sokol sokol_gfx.h _sg_validate_pipeline_desc stack-based overflow vdb-entry, technical-description
- VDB-337719 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #719820 | floooh sokol e0832c9 Stack-based Buffer Overflow third-party-advisory
- https://github.com/floooh/sokol/issues/1404 issue-tracking
- https://github.com/seyhajin/sokol/pull/246 issue-tracking
- https://github.com/oneafter/1212/blob/main/stack1 exploit
- https://github.com/seyhajin/sokol/commit/b95c5245ba357967220c9a860c7578a7487937b0 patch