# CVE-2025-15533: raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-01-18T05:02:08.672Z
- Modified: 2026-06-17T08:37:58.237Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- raysan5 raylib: 909f040
- raylib raylib: before 2026-01-01

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/raysan5/raylib/issues/5433> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/oneafter/1224/blob/main/hbf2> (exploit)
- <https://vuldb.com/?id.341705> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.341705> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.733341> (third-party-advisory, vdb-entry)
- <https://vuldb.com/?submit.733342> (third-party-advisory, vdb-entry)
- <https://github.com/raysan5/raylib/pull/5450> (issue-tracking)
- <https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146> (patch)
- <https://github.com/raysan5/raylib/> (product)

## Sources

- CVE List: [CVE-2025-15533](https://www.cve.org/CVERecord?id=CVE-2025-15533), CVE Terms of Use, modified 2026-02-23
- NVD: [CVE-2025-15533](https://nvd.nist.gov/vuln/detail/CVE-2025-15533), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-15533 · Whole record: https://cve.day/CVE-2025-15533.json · Rebuilt by cve.day 2026-11-25T22:59:10.689Z
