---
id: CVE-2025-15155
title: >-
  A vulnerability was detected in floooh sokol up to
  16cbcc864012898793cd2bc57f802499a264ea40
summary: >-
  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 overf…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-121
  - CWE-787
vendor: floooh
product: sokol
affected:
  - sokol <= 2025-12-13
published: '2025-12-28'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T12:10:00.170'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-15155'
references:
  - url: >-
      https://github.com/floooh/sokol/commit/5d11344150973f15e16d3ec4ee7550a73fb995e0
    label: cna@vuldb.com
  - url: 'https://github.com/floooh/sokol/issues/1405'
    label: cna@vuldb.com
  - url: 'https://github.com/floooh/sokol/issues/1406#issuecomment-3649548096'
    label: cna@vuldb.com
  - url: 'https://github.com/oneafter/1212/blob/main/hbf1'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?ctiid.338533'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?id.338533'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?submit.719823'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?submit.719823'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00223
epssPercentile: 0.11825
ingestedAt: '2026-10-07T12:29:01.320Z'
---

## Overview

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

- `sokol <= 2025-12-13`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
