Stack out-of-bounds read via unchecked color count
Published Dec 22, 2025 · Updated Dec 22, 2025
Stack-based buffer overflow in floooh sokol at commit 5d11344150973f15e16d3ec4ee7550a73fb995e0 allows local users to crash the process. _sg_validate_pipeline_desc uses desc->color_count as the loop bound and indexes desc->colors[color_index].blend without first enforcing SG_MAX_COLOR_ATTACHMENTS. Local low-privileged code that can submit a crafted pipeline descriptor can trigger the four-byte out-of-bounds stack read and process abort.
Summary
What happened
Stack-based buffer overflow in floooh sokol at commit 5d11344150973f15e16d3ec4ee7550a73fb995e0 allows local users to crash the process. _sg_validate_pipeline_desc uses desc->color_count as the loop bound and indexes desc->colors[color_index].blend without first enforcing SG_MAX_COLOR_ATTACHMENTS. Local low-privileged code that can submit a crafted pipeline descriptor can trigger the four-byte out-of-bounds stack read and process abort.
The record
- CVE
- CVE-2025-15013
- Published
- Dec 22, 2025
- Updated
- Dec 22, 2025
- Vendor
- floooh
- Product
- sokol
- Classifications
- CWE-119, CWE-121
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 22, 2025CVE publishedPublication date reported by the CVE source.
- Dec 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5d11344150973f15e16d3ec4ee7550a73fb995e0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- stack1 reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo