CVE-2025-15013

Source
https://cve.org/CVERecord?id=CVE-2025-15013
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15013.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-15013
Published
2025-12-22T05:16:21.317Z
Modified
2026-03-15T22:50:56.213507Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

A vulnerability was identified in floooh sokol up to 5d11344150973f15e16d3ec4ee7550a73fb995e0. The impacted element is the function sgvalidatepipelinedesc in the library sokol_gfx.h. Such manipulation leads to stack-based buffer overflow. The attack must be carried out locally. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The name of the patch is b95c5245ba357967220c9a860c7578a7487937b0. It is best practice to apply a patch to resolve this issue.

References

Affected packages

Git / github.com/seyhajin/sokol

Affected ranges

Type
GIT
Repo
https://github.com/seyhajin/sokol
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other
old-pixelformats
pre-feb2021-api-changes
pre-webgpu

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15013.json"
vanir_signatures
[
    {
        "signature_type": "Function",
        "id": "CVE-2025-15013-153904e4",
        "source": "https://github.com/seyhajin/sokol/commit/b95c5245ba357967220c9a860c7578a7487937b0",
        "signature_version": "v1",
        "target": {
            "function": "_sg_validate_pipeline_desc",
            "file": "sokol_gfx.h"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "228286485881916558634987884008315182924",
            "length": 3553.0
        }
    },
    {
        "signature_type": "Line",
        "id": "CVE-2025-15013-fcf44605",
        "source": "https://github.com/seyhajin/sokol/commit/b95c5245ba357967220c9a860c7578a7487937b0",
        "signature_version": "v1",
        "target": {
            "file": "sokol_gfx.h"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "320753152805109499508376260271938559484",
                "75384926760937339464393601314124424571",
                "21206934254184159827319496090036478348",
                "322097192775636885982854497298272964685"
            ]
        }
    }
]