CVE-2025-15013 Details
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.
A stack-based buffer overflow vulnerability has been identified in the Sokol graphics library, specifically in the function '_sg_validate_pipeline_desc' within 'sokol_gfx.h'. This vulnerability allows for local exploitation, where the validation logic can be manipulated to read beyond the bounds of an array, causing a buffer overflow. The issue has been confirmed by the vendor and is present in the latest rolling release version.
The vulnerability has been fixed in commit 'b95c5245ba357967220c9a860c7578a7487937b0', which is available for download on the author's GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 22, 2025CISA-ADP
Assessed Dec 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/floooh/sokol/issues/1404 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/oneafter/1212/blob/main/stack1 | [email protected] | Exploit |
| https://github.com/seyhajin/sokol/commit/b95c5245ba357967220c9a860c7578a7487937b0 | [email protected] | Source CodeVendor |
| https://github.com/seyhajin/sokol/pull/246 | [email protected] | Issue TrackingSource CodeVendor |
| https://vuldb.com/?ctiid.337719 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.337719 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/?submit.719820 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| floooh sokol | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Dec 22, 2025 | New CVE Received | [email protected] |
Volerion