Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-15534: Integer Overflow in raysan5 raylib

0
Medium
VulnerabilityCVE-2025-15534cvecve-2025-15534
Published: Sun Jan 18 2026 (01/18/2026, 06:32:06 UTC)
Source: CVE Database V5
Vendor/Project: raysan5
Product: raylib

Description

A vulnerability was identified in raysan5 raylib up to 909f040. Affected by this issue is the function LoadFontData of the file src/rtext.c. The manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The identifier of the patch is 5a3391fdce046bc5473e52afbd835dd2dc127146. It is suggested to install a patch to address this issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/23/2026, 22:42:24 UTC

Technical Analysis

CVE-2025-15534 is a medium-severity integer overflow vulnerability found in the LoadFontData function within the src/rtext.c source file of the raylib library maintained by raysan5. The vulnerability arises when the function improperly handles font data sizes or counts, leading to an integer overflow condition. This overflow can cause memory corruption, potentially resulting in application crashes or undefined behavior. The vulnerability requires local access with limited privileges (PR:L) and does not require user interaction (UI:N). The attack vector is local (AV:L), meaning an attacker must have some form of access to the system to exploit it. The vulnerability affects raylib up to commit 909f040, and a patch has been released (commit 5a3391fdce046bc5473e52afbd835dd2dc127146) to fix the issue. While an exploit is publicly available, there are no reports of active exploitation in the wild. The CVSS 4.0 vector indicates low complexity and privileges required but limited scope and impact, resulting in a medium overall severity. The flaw could be leveraged to destabilize applications using raylib or potentially escalate local privileges if combined with other vulnerabilities. Raylib is widely used in game development and graphical applications, so affected software may include games, educational tools, or embedded systems that rely on this library for font rendering.

Potential Impact

The integer overflow vulnerability in raylib's LoadFontData function can lead to memory corruption, causing application crashes or erratic behavior. For organizations, this may result in denial of service conditions in applications relying on raylib for font rendering. Although the vulnerability requires local access, it could be exploited by malicious insiders or through compromised local accounts. In environments where raylib is embedded in critical software or devices, this could lead to system instability or potential escalation paths when combined with other vulnerabilities. The medium severity indicates that while the impact is not catastrophic, it can disrupt operations and degrade user experience. Organizations developing or deploying software with raylib should consider the risk of local exploitation and the potential for attackers to leverage this flaw to gain further foothold or cause disruption.

Mitigation Recommendations

To mitigate CVE-2025-15534, organizations should immediately apply the official patch identified by commit 5a3391fdce046bc5473e52afbd835dd2dc127146 to all affected raylib versions. Developers should audit their use of raylib, especially any custom font loading or rendering code, to ensure no unsafe assumptions about font data sizes exist. Restrict local access to systems running raylib-based applications to trusted users only, and implement strict access controls and monitoring to detect suspicious local activity. Employ memory protection mechanisms such as ASLR and DEP to reduce the impact of memory corruption. Additionally, conduct thorough testing of applications after patching to confirm stability and absence of regressions. For embedded or specialized environments, consider recompiling raylib with additional security hardening flags and perform static code analysis to detect similar vulnerabilities. Finally, maintain an updated inventory of software dependencies to quickly identify and remediate vulnerable raylib versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-01-17T16:11:45.728Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 696c842dd302b072d9a6f20f

Added to database: 1/18/2026, 6:56:45 AM

Last enriched: 2/23/2026, 10:42:24 PM

Last updated: 3/24/2026, 9:50:36 PM

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses