CVE-2025-15013
MediumCVSS 5.3Exploitation Probability (EPSS)
Low risk4th percentile - higher than 4% of all known CVEs
Summary
A stack-based buffer overflow vulnerability was identified in the sokol library (sokol_gfx.h) in the _sg_validate_pipeline_desc function. The attack must be carried out locally, and the exploit is publicly available. The product uses a rolling release model, so version information is not disclosed; a patch named b95c5245ba357967220c9a860c7578a7487937b0 is available.
Risk Assessment
A local attacker could exploit the buffer overflow to execute arbitrary code or destabilize applications using sokol.
Recommendation
Apply patch b95c5245ba357967220c9a860c7578a7487937b0 or update the sokol library to a version containing this fix.
Other vulnerabilities in sokol
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

