CVE-2025-14958 floooh sokol sokol_gfx.h _sg_pipeline_common_init heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in the sokol graphics library allows local attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-14958?

CVE-2025-14958 is a medium-severity memory corruption vulnerability in floooh sokol, published on 19 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-122, CWE-787, CWE-119

Which versions are affected by CVE-2025-14958?

It affects 1 product.

Products include Floooh Sokol.

How do I fix CVE-2025-14958?

No fix has been published for CVE-2025-14958 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-14958 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14958 exists.

Sources

Also known as GHSA-44xp-hxfq-7fh9.

Is CVE-2025-14958 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free