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-5917: Out-of-bounds Write

0
Low
VulnerabilityCVE-2025-5917cvecve-2025-5917
Published: Mon Jun 09 2025 (06/09/2025, 19:49:13 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 10

Description

A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation.

AI-Powered Analysis

AILast updated: 11/21/2025, 08:36:51 UTC

Technical Analysis

CVE-2025-5917 is a vulnerability identified in the libarchive library, specifically affecting Red Hat Enterprise Linux 10. The flaw is an off-by-one miscalculation in handling filename prefixes and suffixes, which results in a 1-byte out-of-bounds write overflow. This overflow can corrupt adjacent memory, potentially causing unpredictable program behavior or crashes. While the overflow is limited to a single byte, such memory corruption can sometimes be exploited as part of a more complex attack chain, although no known exploits currently exist in the wild. The CVSS score of 2.8 reflects a low severity, primarily because exploitation requires local access with low privileges, user interaction, and the impact is limited to availability (causing crashes) without compromising confidentiality or integrity. The vulnerability does not allow remote exploitation and does not escalate privileges by itself. The affected product is Red Hat Enterprise Linux 10, a widely used enterprise operating system in server environments. The vulnerability was published on June 9, 2025, and no patch links are currently provided, indicating that organizations should monitor vendor advisories for updates. The technical root cause is a boundary condition error in libarchive’s filename processing logic, which is a common library for handling archive files (e.g., tar, zip).

Potential Impact

For European organizations, the primary impact of CVE-2025-5917 is potential denial of service due to application or system crashes when processing specially crafted archive files. This can disrupt business operations, particularly in environments where automated processing of archive files is common. Since the vulnerability requires local access and user interaction, the risk of widespread exploitation is low, but insider threats or compromised user accounts could leverage this flaw to cause instability. The lack of confidentiality or integrity impact reduces the risk of data breaches directly from this vulnerability. However, in critical infrastructure or high-availability environments, even minor disruptions can have significant operational consequences. Organizations relying heavily on Red Hat Enterprise Linux 10 for server workloads, especially those processing large volumes of archive files, should consider this vulnerability a potential availability risk. The absence of known exploits reduces immediate threat but does not eliminate future risk as attackers may develop exploitation techniques over time.

Mitigation Recommendations

1. Monitor Red Hat security advisories closely for the release of patches addressing CVE-2025-5917 and apply them promptly once available. 2. Restrict local user privileges to the minimum necessary to reduce the risk of exploitation by low-privileged users. 3. Implement application whitelisting and restrict execution of untrusted archive files, especially from unknown or untrusted sources. 4. Employ runtime application self-protection or memory protection mechanisms (such as Address Space Layout Randomization and stack canaries) to mitigate the impact of memory corruption. 5. Monitor system and application logs for crashes or abnormal behavior related to libarchive usage to detect potential exploitation attempts. 6. Educate users about the risks of opening untrusted archive files and enforce policies to limit user interaction with potentially malicious content. 7. Consider isolating services that process archive files in sandboxed or containerized environments to limit the blast radius of any exploitation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-06-09T08:11:04.787Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68487f561b0bd07c3938a587

Added to database: 6/10/2025, 6:54:14 PM

Last enriched: 11/21/2025, 8:36:51 AM

Last updated: 11/22/2025, 10:47:32 AM

Views: 45

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats