CVE-2025-15533 raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow
A local attacker can trigger a heap-based buffer overflow in raylib's font atlas generation, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-15533?
CVE-2025-15533 is a medium-severity memory corruption vulnerability in raysan5 raylib, published on 18 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-15533?
It affects 1 product.
Products include Raylib Raylib.
How do I fix CVE-2025-15533?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-15533 being exploited?
There is no known exploitation of CVE-2025-15533 in the wild and no public exploit code.
Other vulnerabilities in raysan5 raylib
Sources
Also known as GHSA-g5rv-h647-hjj3, JLSEC-2026-530.