{"id":"CVE-2025-15533","summary":"raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow","details":"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.","modified":"2026-08-12T15:13:41.543678Z","published":"2026-01-18T05:02:08.672Z","related":["openSUSE-SU-2026:10071-1","openSUSE-SU-2026:20717-1"],"database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15533.json","unresolved_ranges":[{"extracted_events":[{"introduced":"909f040"},{"last_affected":"909f040"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://github.com/raysan5/raylib/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15533.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15533"},{"type":"ADVISORY","url":"https://vuldb.com/?id.341705"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.733341"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.733342"},{"type":"REPORT","url":"https://github.com/raysan5/raylib/issues/5433"},{"type":"REPORT","url":"https://github.com/raysan5/raylib/pull/5450"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.341705"},{"type":"FIX","url":"https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146"},{"type":"EVIDENCE","url":"https://github.com/oneafter/1224/blob/main/hbf2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/raysan5/raylib","events":[{"introduced":"0"},{"fixed":"5a3391fdce046bc5473e52afbd835dd2dc127146"}],"database_specific":{"source":"REFERENCES"}}],"versions":["5.5","5.0","4.6-dev","4.5.0","4.2.0","4.0.0","3.7.0","3.5.0","3.0.0","2.6.0","2.5.0","2.0.0","1.9.7-dev","1.9.4-dev","1.8.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.2","1.1.1","1.0.6","1.0.4"],"database_specific":{"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"234469333386703523857927165168932325348","length":3384},"id":"CVE-2025-15533-05d02998","signature_type":"Function","signature_version":"v1","source":"https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146","target":{"file":"src/rtext.c","function":"LoadFontData"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146","target":{"file":"src/rtext.c"},"deprecated":false,"digest":{"line_hashes":["332257193890744966421266547215807177755","69155136182134254974640663417851473280","53255552284342855521330384830423396404","82135624135239829001516267008426002024","147913653490708871360953052069682210993","187171658754174233657820797333401035340","2535815641054325530376181763151890285","149408708091834066723013942769178210272","62859044455939651782200933963596858122","131486697162642799079019230129460296213","238686409694605816825582341723282941646","228156470512688113567503060070558604679","257567488424114353946328242809205991731","136712349953632112137137025296133978707","276860857922939190157884323072188030822","16157231882590559801189920768438303654","52050982601172229907284802952912222231","315631060798723098329702554826932767726","201511853958977940773605360352656473499","188081470204997281143823320117578986043","238988064144760471881704204726844483966","91193683439524711667059389137104120152","158397199167085365075675736253606848385","19380465476333779530712608586491897474","318359799784021952918852448865519281972","137320951051540641656550138121906424824"],"threshold":0.9},"id":"CVE-2025-15533-08153269"},{"id":"CVE-2025-15533-d1660dec","signature_type":"Function","signature_version":"v1","source":"https://github.com/raysan5/raylib/commit/5a3391fdce046bc5473e52afbd835dd2dc127146","target":{"file":"src/rtext.c","function":"GenImageFontAtlas"},"deprecated":false,"digest":{"function_hash":"64547695484077864789327173104088640145","length":4601}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15533.json","vanir_signatures_modified":"2026-08-12T15:13:41Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}