Buffer overflow in Raylib
CVE-2025-15533
A vulnerability was determined in raysan5 raylib up to 909f040. Affected by this vulnerability is the function GenImageFontAtlas of the file src/rtext.c. Executing a manipulation can lead to heap-based buffer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. This patch is called 5a3391fdce046bc5473e52afbd835dd2dc127146. Applying a patch is advised to resolve this issue.
Vulnerability class: Buffer Overflow
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.003 (25.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 25.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Raylib
- Raysan5 Raylib — versions 909f040
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/raysan5/raylib/issues/5433 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/raysan5/raylib/pull/5450 (issue-tracking, Issue Tracking)
- github.com/oneafter/1224/blob/main/hbf2 (Exploit, exploit)
- github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146 (Patch, patch)
- github.com/raysan5/raylib/ (product)
Frequently asked questions
- What is CVE-2025-15533?
- CVE-2025-15533 is a medium-severity vulnerability in Raylib, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2026-01-18.
- How severe is CVE-2025-15533?
- Medium severity. CVSS v3 base score is 5.3 out of 10.