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

CVE-2025-5917 is an out-of-bounds write vulnerability in the libarchive library affecting versions prior to 3. 8. 0. It arises from an off-by-one error when processing filename prefixes and suffixes, causing a 1-byte overflow that can corrupt adjacent memory. Although the CVSS score is low (2. 8) due to limited impact on confidentiality and integrity, the overflow can cause application crashes or unpredictable behavior. Exploitation requires local privileges and user interaction, and no known exploits are currently in the wild. The vulnerability affects Red Hat Enterprise Linux 10 and potentially other systems using vulnerable libarchive versions. European organizations relying on Red Hat Enterprise Linux or software that depends on libarchive should prioritize patching to prevent stability issues and potential escalation vectors. Countries with significant Red Hat Enterprise Linux deployments and critical infrastructure are most at risk.

AI-Powered Analysis

AILast updated: 01/15/2026, 04:44:39 UTC

Technical Analysis

CVE-2025-5917 is a vulnerability identified in the libarchive library, a widely used tool for reading and writing archive files such as tar, cpio, and zip. The flaw is an off-by-one error in the handling of filename prefixes and suffixes, resulting in a one-byte out-of-bounds write. This overflow can corrupt adjacent memory, which may lead to unpredictable program behavior including crashes or memory corruption. While the immediate impact on confidentiality and integrity is minimal, such memory corruption can be leveraged as a primitive in more complex exploit chains. The vulnerability affects libarchive versions prior to 3.8.0 and is present in Red Hat Enterprise Linux 10 among other distributions. The CVSS 3.1 base score is 2.8, reflecting low severity due to the requirement for local privileges, user interaction, and limited impact on confidentiality and integrity. No known exploits have been reported in the wild. The vulnerability’s exploitation vector is local, requiring an attacker to have some level of access and to trigger archive processing with crafted filenames. This vulnerability underscores the importance of careful boundary checking in low-level libraries that handle untrusted input. Patch availability is implied but no direct patch links are provided; updating to libarchive 3.8.0 or later is recommended.

Potential Impact

For European organizations, the primary impact is on system stability and reliability, as the vulnerability can cause application crashes or unpredictable behavior when processing maliciously crafted archive files. Although the direct risk to confidentiality and integrity is low, the memory corruption could be used as a stepping stone in multi-stage attacks, especially in environments where local user privileges can be escalated. Organizations using Red Hat Enterprise Linux 10 or other Linux distributions with vulnerable libarchive versions in critical infrastructure, development, or production environments may face service disruptions. The vulnerability could affect automated systems that process archives, such as CI/CD pipelines, backup solutions, or software deployment tools, potentially leading to downtime or data loss. Given the low CVSS score and lack of known exploits, the immediate risk is limited, but the presence of the vulnerability in foundational libraries warrants timely remediation to maintain operational security.

Mitigation Recommendations

1. Upgrade libarchive to version 3.8.0 or later, where the vulnerability is fixed. 2. For Red Hat Enterprise Linux 10 users, apply all relevant security updates from Red Hat promptly. 3. Audit and restrict local user permissions to minimize the risk of exploitation by unprivileged users. 4. Implement monitoring to detect abnormal crashes or memory corruption events related to archive processing applications. 5. Review and harden applications and scripts that automatically process archive files, ensuring they validate input and handle errors gracefully. 6. Use sandboxing or containerization for processes that handle untrusted archive files to limit potential damage from crashes or exploits. 7. Educate users about the risks of opening untrusted archive files, especially in environments where local user privileges exist. 8. Maintain an inventory of software dependencies to identify all systems using vulnerable libarchive versions and prioritize patching accordingly.

Need more detailed analysis?Upgrade to Pro Console

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: 1/15/2026, 4:44:39 AM

Last updated: 2/3/2026, 10:37:31 PM

Views: 66

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