CVE-2025-15533
raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jan 18, 2026
- Updated
- Feb 23, 2026
- Reserved
- Jan 17, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
raylibraysan5 |
|
References
- VDB-341705 | raysan5 raylib rtext.c GenImageFontAtlas heap-based overflowvdb-entrytechnical-description
- VDB-341705 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #733341 | raysan5 raylib 909f040 Heap-based Buffer Overflowthird-party-advisory
- Submit #733342 | raysan5 raylib 909f040 Heap-based Buffer Overflow (Duplicate)third-party-advisory
- https://github.com/raysan5/raylib/issues/5433issue-tracking
- https://github.com/raysan5/raylib/pull/5450issue-tracking
- https://github.com/oneafter/1224/blob/main/hbf2exploit
- https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146patch
- https://github.com/raysan5/raylib/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.