VYPR
Medium severity5.3NVD Advisory· Published Dec 28, 2025· Updated Apr 29, 2026

CVE-2025-15155

CVE-2025-15155

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.

Affected products

1
  • cpe:2.3:a:floooh:sokol:*:*:*:*:*:*:*:*
    Range: <=2025-12-13

Patches

1
5d1134415097

sokol_gfx.h: fix another gap in assert check (fixes #1405)

https://github.com/floooh/sokolAndre WeissflogDec 13, 2025via nvd-ref
1 file changed · +1 1
  • sokol_gfx.h+1 1 modified
    @@ -24077,7 +24077,7 @@ _SOKOL_PRIVATE sg_pipeline_desc _sg_pipeline_desc_defaults(const sg_pipeline_des
             if (a_state->format == SG_VERTEXFORMAT_INVALID) {
                 break;
             }
    -        SOKOL_ASSERT(a_state->buffer_index < SG_MAX_VERTEXBUFFER_BINDSLOTS);
    +        SOKOL_ASSERT((a_state->buffer_index >= 0) && (a_state->buffer_index < SG_MAX_VERTEXBUFFER_BINDSLOTS));
             if (use_auto_offset) {
                 a_state->offset = auto_offset[a_state->buffer_index];
             }
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.