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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2025-12-19T17:32:08.136Z
- Modified: 2026-06-17T08:36:50.480Z
- Weaknesses: CWE-119, CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- floooh sokol: 33e2271c431bf21de001e972f72da17a984da932; up to 2025-12-13

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?submit.717320> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/floooh/sokol/issues/1406> (exploit, issue-tracking)
- <https://github.com/floooh/sokol/issues/1406#issuecomment-3649515551> (exploit, issue-tracking)
- <https://github.com/oneafter/1212/blob/main/hbf1> (exploit, product)
- <https://vuldb.com/?id.337594> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.337594> (permissions-required, signature, vdb-entry)
- <https://github.com/seyhajin/sokol/commit/33e2271c431bf21de001e972f72da17a984da932> (patch)

## Sources

- CVE List: [CVE-2025-14958](https://www.cve.org/CVERecord?id=CVE-2025-14958), CVE Terms of Use, modified 2025-12-19
- NVD: [CVE-2025-14958](https://nvd.nist.gov/vuln/detail/CVE-2025-14958), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-14958 · Whole record: https://cve.day/CVE-2025-14958.json · Rebuilt by cve.day 2026-11-25T22:59:09.752Z
