CVE-2025-15155 Details
Description
A vulnerability was detected in floooh sokol up to 16cbcc864012898793cd2bc57f802499a264ea40. The impacted element is the function _sg_pipeline_desc_defaults in the library sokol_gfx.h. The manipulation results in stack-based buffer overflow. The attack requires a local approach. The exploit is now public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The patch is identified as 5d11344150973f15e16d3ec4ee7550a73fb995e0. It is advisable to implement a patch to correct this issue.
A stack-based buffer overflow vulnerability has been identified in the floooh sokol graphics library, specifically in the function '_sg_pipeline_desc_defaults' within the 'sokol_gfx.h' file. This vulnerability allows for local exploitation and has been publicly disclosed along with a proof-of-concept exploit. The issue arises from improper handling of an array index, which can become negative, leading to memory being read from before the start of a stack-allocated array. This vulnerability affects all versions of the sokol library prior to the latest commit that addresses the issue.
Users are advised to update to the latest version of the floooh sokol library, which includes the necessary patch to fix this vulnerability.
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.
CISA-ADP
Assessed Dec 29, 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://vuldb.com/?submit.719823 | CISA-ADP | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/floooh/sokol/commit/5d11344150973f15e16d3ec4ee7550a73fb995e0 | [email protected] | Patch |
| https://github.com/floooh/sokol/issues/1405 | [email protected] | ExploitIssue Tracking |
| https://github.com/floooh/sokol/issues/1406#issuecomment-3649548096 | [email protected] | ExploitIssue Tracking |
| https://github.com/oneafter/1212/blob/main/hbf1 | [email protected] | Not Applicable |
| https://vuldb.com/?ctiid.338533 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.338533 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.719823 | [email protected] | ExploitThird Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| 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 | <= 2025-12-13 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 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] |
| Jan 6, 2026 | Initial Analysis | [email protected] |
| Dec 29, 2025 | CVE Modified | CISA-ADP |
| Dec 28, 2025 | New CVE Received | [email protected] |