Vulnerability · Published Dec 19, 2025 · Assigned by VulDB
CVE-2025-14958floooh sokol sokol_gfx.h _sg_pipeline_common_init heap-based overflow
Medium 5.3
In plain English
A medium-severity heap 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 security flaw has been discovered in floooh sokol up to 33e2271c431bf21de001e972f72da17a984da932. This vulnerability affects the function _sg_pipeline_common_init in the library sokol_gfx.h. Performing manipulation results in heap-based buffer overflow. The attack needs to be approached locally. The exploit has been released to the public and may be exploited. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The patch is named 33e2271c431bf21de001e972f72da17a984da932. It is suggested to install a patch to address this issue.
Affected products (as reported)
Weakness: CWE-122, 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-337594 | floooh sokol sokol_gfx.h _sg_pipeline_common_init heap-based overflow vdb-entry, technical-description
- VDB-337594 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #717320 | floooh sokol e0832c9 Heap-based Buffer Overflow third-party-advisory
- https://github.com/floooh/sokol/issues/1406 issue-tracking
- https://github.com/floooh/sokol/issues/1406#issuecomment-3649515551 issue-tracking
- https://github.com/oneafter/1212/blob/main/hbf1 exploit
- https://github.com/seyhajin/sokol/commit/33e2271c431bf21de001e972f72da17a984da932 patch