floooh sokol up to 5d11344150973f15e16d3ec4ee7550a73fb995e0 sokol_gfx.h _sg_validate_pipeline_desc stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in floooh sokol up to 5d11344150973f15e16d3ec4ee7550a73fb995e0. This affects the function _sg_validate_pipeline_desc in the library sokol_gfx.h. Performing a manipulation results in stack-based overflow.
This vulnerability is cataloged as CVE-2025-15013. The attack must be initiated from a local position. Furthermore, there is an exploit available.
This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. It is recommended to apply a patch to fix this issue.
Details
A vulnerability, which was classified as critical, was found in floooh sokol up to 5d11344150973f15e16d3ec4ee7550a73fb995e0. This affects the function _sg_validate_pipeline_desc in the library sokol_gfx.h. The manipulation with an unknown input leads to a stack-based overflow vulnerability. CWE is classifying the issue as CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). This is going to have an impact on confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-15013. The exploitability is told to be easy. Attacking locally is a requirement. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept.
Applying the patch b95c5245ba357967220c9a860c7578a7487937b0 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-204685). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/floooh/sokol/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: b95c5245ba357967220c9a860c7578a7487937b0
Timeline
12/21/2025 Advisory disclosed12/21/2025 VulDB entry created
12/22/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 1404
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-15013 (🔒)
GCVE (CVE): GCVE-0-2025-15013
GCVE (VulDB): GCVE-100-337719
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 12/21/2025 17:43Updated: 12/22/2025 06:39
Changes: 12/21/2025 17:43 (61), 12/22/2025 06:30 (30), 12/22/2025 06:39 (1)
Complete: 🔍
Submitter: Oneafter
Cache ID: 216::103
Submit
Accepted
- Submit #719820: floooh sokol e0832c9 Stack-based Buffer Overflow (by Oneafter)
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.