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
EPSS: 0.003 (22.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Raylib
- Raysan5 Raylib — versions 909f040
Weakness classification (CWE)
References
- cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
- cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
- cna@vuldb.com (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- cna@vuldb.com (issue-tracking, Issue Tracking)
- cna@vuldb.com (Exploit, exploit)
- cna@vuldb.com (Patch, patch)
- cna@vuldb.com (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.