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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| raysan5 | raylib | 909f040 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | raylib | 5.5-2.1 | openSUSE-SU-2026:10071-1 |
Advisories 1
- openSUSE-SU-2026:10071-1 libraylib550-5.5-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
References
- VDB-341705 | raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow vdb-entry technical-description
- VDB-341705 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #733341 | raysan5 raylib 909f040 Heap-based Buffer Overflow third-party-advisory
- Submit #733342 | raysan5 raylib 909f040 Heap-based Buffer Overflow (Duplicate) third-party-advisory
- https://github.com/raysan5/raylib/issues/5433 issue-tracking
- https://github.com/raysan5/raylib/pull/5450 issue-tracking
- https://github.com/oneafter/1224/blob/main/hbf2 exploit
- https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146 patch
- https://github.com/raysan5/raylib/ product