CVE-2025-15155
Stack-Based Buffer Overflow in sokol_gfx.h _sg_pipeline_desc_defaults
Publication date: 2025-12-28
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| floooh | sokol | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
| 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). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a stack-based buffer overflow in the function _sg_pipeline_desc_defaults within the sokol_gfx.h library of floooh sokol. It occurs due to improper manipulation leading to overflow on the stack. The attack requires local access to exploit, and the exploit code is publicly available. A patch has been identified to fix this issue.
How can this vulnerability impact me? :
The vulnerability can lead to unauthorized manipulation of the program's execution flow due to the stack-based buffer overflow. This can result in partial compromise of confidentiality, integrity, and availability of the affected system. Since the attack requires local access, an attacker with local privileges could exploit this to escalate privileges or cause denial of service.
What immediate steps should I take to mitigate this vulnerability?
It is advisable to implement the patch identified as 5d11344150973f15e16d3ec4ee7550a73fb995e0 to correct this issue.