CVE-2025-15533 Details
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.
A heap-based buffer overflow vulnerability has been identified in the Raylib library, specifically in versions up to 909f040. The issue arises in the GenImageFontAtlas function within the src/rtext.c file. This vulnerability allows for writing data beyond the allocated buffer size, which can lead to memory corruption. The problem can be exploited locally, and a public exploit is available.
Users are advised to update to the version of Raylib that includes the patch for this vulnerability. The patched version is available in the official Raylib repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/oneafter/1224/blob/main/hbf2 | [email protected] | Exploit |
| https://github.com/raysan5/raylib/ | [email protected] | |
| https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146 | [email protected] | Patch |
| https://github.com/raysan5/raylib/issues/5433 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/raysan5/raylib/pull/5450 | [email protected] | Issue Tracking |
| https://vuldb.com/?ctiid.341705 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.341705 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.733341 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.733342 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| raylib raylib | < 2026-01-01 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 23, 2026 | CVE Modified | [email protected] |
| Feb 17, 2026 | Initial Analysis | [email protected] |
| Jan 18, 2026 | New CVE Received | [email protected] |