Integer overflow in Raylib
CVE-2025-15534
A vulnerability was identified in raysan5 raylib up to 909f040. Affected by this issue is the function LoadFontData of the file src/rtext.c. The manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The identifier of the patch is 5a3391fdce046bc5473e52afbd835dd2dc127146. It is suggested to install a patch to address this issue.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.002, 14.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Raylib
- Raysan5 Raylib — versions 909f040
Weakness classification (CWE)
References
- VDB-341706 | raysan5 raylib rtext.c LoadFontData integer overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-341706 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #733343 | raysan5 raylib 909f040 Integer Overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/raysan5/raylib/issues/5436 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/raysan5/raylib/pull/5450 (issue-tracking, Issue Tracking)
- github.com/oneafter/1224/blob/main/segv1 (Exploit, exploit)
- github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146 (Patch, patch)
- github.com/raysan5/raylib/ (product)