Process crash via negative pipeline buffer index
Published Dec 28, 2025 · Updated Dec 28, 2025
Stack-buffer underflow in floooh sokol allows local users to crash software built from the affected commit via a crafted pipeline descriptor. The _sg_pipeline_desc_defaults function checks buffer_index only against the upper limit, then uses a negative value to read four bytes before the stack-based auto_offset array. Reachability requires an embedding application to pass attacker-controlled pipeline state to sg_make_pipeline; the public harness demonstrates an AddressSanitizer-detected abort, not code execution.
Summary
What happened
Stack-buffer underflow in floooh sokol allows local users to crash software built from the affected commit via a crafted pipeline descriptor. The _sg_pipeline_desc_defaults function checks buffer_index only against the upper limit, then uses a negative value to read four bytes before the stack-based auto_offset array. Reachability requires an embedding application to pass attacker-controlled pipeline state to sg_make_pipeline; the public harness demonstrates an AddressSanitizer-detected abort, not code execution.
The record
- CVE
- CVE-2025-15155
- Published
- Dec 28, 2025
- Updated
- Dec 28, 2025
- Vendor
- floooh
- Product
- sokol
- Classifications
- CWE-121, CWE-787, CWE-119, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 28, 2025CVE publishedPublication date reported by the CVE source.
- Dec 28, 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=16cbcc864012898793cd2bc57f802499a264ea40
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
- sokol negative-index AddressSanitizer 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