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-15533: Heap-based Buffer Overflow in raysan5 raylib

0
Medium
VulnerabilityCVE-2025-15533cvecve-2025-15533
Published: Sun Jan 18 2026 (01/18/2026, 05:02:08 UTC)
Source: CVE Database V5
Vendor/Project: raysan5
Product: raylib

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.

AI-Powered Analysis

AILast updated: 01/25/2026, 19:36:01 UTC

Technical Analysis

CVE-2025-15533 identifies a heap-based buffer overflow vulnerability in the raysan5 raylib open-source graphics library, specifically in the GenImageFontAtlas function located in src/rtext.c. This function is responsible for generating font atlases used in rendering text images. The vulnerability arises from improper handling of input data sizes, leading to a buffer overflow on the heap when manipulated inputs exceed expected bounds. The overflow can corrupt adjacent memory, potentially allowing an attacker to alter program behavior, cause crashes, or execute arbitrary code. Exploitation requires local access with limited privileges, no user interaction, and no authentication bypass, limiting the attack vector to local users or processes. The CVSS 4.0 base score of 4.8 reflects medium severity, considering the local attack vector and limited impact on confidentiality, integrity, and availability. The vulnerability has been publicly disclosed, increasing the risk of exploitation, although no active exploits have been reported. A patch identified by commit 5a3391fdce046bc5473e52afbd835dd2dc127146 has been released to fix the issue by correcting input validation and buffer management in the affected function. Organizations using raylib, especially in development or local runtime environments, should apply this patch to prevent potential exploitation.

Potential Impact

For European organizations, the primary impact of CVE-2025-15533 lies in the potential for local privilege escalation or denial of service in applications using raylib for graphics rendering or game development. While the vulnerability requires local access, it could be leveraged by malicious insiders or through compromised local accounts to disrupt services or gain unauthorized code execution capabilities. This may affect software development firms, multimedia companies, and educational institutions using raylib in their workflows. The impact on confidentiality, integrity, and availability is limited but non-negligible, as heap corruption can lead to application crashes or data manipulation. Given the medium severity and local attack vector, the threat is less critical for large-scale remote attacks but remains relevant for organizations with shared workstations or multi-user environments. Failure to patch could lead to increased risk of exploitation as public disclosure raises attacker awareness.

Mitigation Recommendations

To mitigate CVE-2025-15533, European organizations should immediately apply the official patch (commit 5a3391fdce046bc5473e52afbd835dd2dc127146) to all affected raylib versions, specifically those up to 909f040. Additionally, organizations should audit and restrict local user permissions to minimize the number of users who can execute or manipulate applications using raylib. Implementing strict access controls and monitoring local system activity can help detect and prevent exploitation attempts. Developers should review their use of the GenImageFontAtlas function to ensure inputs are properly sanitized and consider employing additional runtime protections such as heap integrity checks or memory-safe coding practices. Regularly updating dependencies and integrating vulnerability scanning into the software development lifecycle will reduce exposure to similar issues. Finally, educating local users about the risks of executing untrusted code can further reduce attack surface.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

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

Threat ID: 696c6b91d302b072d998d84a

Added to database: 1/18/2026, 5:11:45 AM

Last enriched: 1/25/2026, 7:36:01 PM

Last updated: 2/7/2026, 12:48:07 AM

Views: 68

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats