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. This bug affects libarchive versions prior to 3.8.0.

AI-Powered Analysis

AILast updated: 12/12/2025, 04:18:31 UTC

Technical Analysis

CVE-2025-5917 is a vulnerability identified in the libarchive library, a widely used tool for reading and writing various archive formats. The flaw stems from an off-by-one miscalculation during the handling of prefixes and suffixes in file names, which leads to a one-byte out-of-bounds write. Although the overflow is minimal, it can corrupt adjacent memory, potentially causing application crashes or undefined behavior. In some scenarios, such memory corruption could be leveraged by attackers as part of a more sophisticated exploit chain to escalate privileges or execute arbitrary code. The vulnerability affects libarchive versions prior to 3.8.0 and is present in Red Hat Enterprise Linux 10 and potentially other Linux distributions using vulnerable libarchive versions. The CVSS score is 2.8 (low severity), reflecting that exploitation requires local privileges, low attack complexity, user interaction, and results primarily in availability impact without compromising confidentiality or integrity. No public exploits have been reported, and no patches were linked in the provided data, but Red Hat and other vendors are expected to release updates. The vulnerability is classified as an out-of-bounds write, a common memory corruption issue that can be a precursor to more severe attacks if combined with other vulnerabilities.

Potential Impact

For European organizations, the primary impact of CVE-2025-5917 is potential denial of service or application instability due to memory corruption caused by the 1-byte overflow. While the vulnerability does not directly compromise confidentiality or integrity, the resulting crashes or unpredictable behavior could disrupt critical services that rely on libarchive for archive processing. This is particularly relevant for organizations handling large volumes of archived data or automating archive extraction in workflows. Since exploitation requires local privileges and user interaction, the risk of remote exploitation is low, but insider threats or compromised user accounts could leverage this flaw. The vulnerability could also serve as a building block in multi-stage attacks, increasing risk in environments where other vulnerabilities exist. European sectors such as finance, government, and critical infrastructure that use Red Hat Enterprise Linux 10 or other affected systems should be aware of potential service disruptions and the need for patch management.

Mitigation Recommendations

Organizations should prioritize updating libarchive to version 3.8.0 or later once patches are available from their Linux distribution vendors, including Red Hat. Until patches are applied, restrict local user privileges to minimize the risk of exploitation, and monitor systems for unusual crashes or application behavior related to archive processing. Implement strict access controls and user activity monitoring to detect potential misuse by insiders or compromised accounts. Review and harden archive handling workflows to limit exposure to untrusted archive files. Additionally, consider deploying memory protection mechanisms such as Address Space Layout Randomization (ASLR) and stack canaries to reduce the impact of memory corruption vulnerabilities. Regularly audit installed software versions and maintain an up-to-date inventory of systems using libarchive to ensure timely patching. Engage with vendor security advisories for updates and exploit information.

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: 12/12/2025, 4:18:31 AM

Last updated: 1/7/2026, 4:53:33 AM

Views: 59

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