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

Machine-generated threat intelligence

AILast updated: 02/26/2026, 15:22:15 UTC

Technical Analysis

CVE-2025-5917 is a security vulnerability identified in the libarchive library, a widely used tool for reading and writing various archive formats. The vulnerability arises from an off-by-one miscalculation when processing prefixes and suffixes in file names, which results in a 1-byte out-of-bounds write. This overflow can overwrite adjacent memory, potentially leading to memory corruption. While a single byte overflow might seem minor, it can cause unpredictable program behavior such as crashes or, under specific conditions, be leveraged as a primitive for more complex exploits. The flaw affects all libarchive versions prior to 3.8.0 and has been observed in Red Hat Enterprise Linux 10. The vulnerability requires local access with low privileges and user interaction, limiting remote exploitation. The CVSS v3.1 base score is 2.8, reflecting low severity due to limited impact on confidentiality and integrity, and only availability being affected through potential crashes. No public exploits or active exploitation have been reported. The vulnerability's root cause is a boundary check error during string handling, which is a common source of memory corruption bugs. Remediation involves updating libarchive to version 3.8.0 or later where this issue has been fixed.

Potential Impact

The primary impact of CVE-2025-5917 is potential denial of service through application crashes caused by memory corruption from the 1-byte overflow. While the vulnerability does not directly compromise confidentiality or integrity, the corrupted memory could lead to unpredictable behavior, which in some scenarios might be chained with other vulnerabilities to escalate privileges or execute arbitrary code. However, given the requirement for local privileges and user interaction, the attack surface is limited. Organizations running software that relies on libarchive for archive extraction, especially on Red Hat Enterprise Linux 10 and similar distributions, may experience instability or crashes if exploited. The lack of known exploits in the wild reduces immediate risk, but the vulnerability could be leveraged in targeted attacks against systems where local access is possible. Overall, the impact is low but non-negligible, particularly in environments where stability and availability are critical.

Mitigation Recommendations

To mitigate CVE-2025-5917, organizations should promptly update libarchive to version 3.8.0 or later, where the off-by-one overflow has been corrected. System administrators should verify the version of libarchive installed on their systems, especially on Red Hat Enterprise Linux 10 deployments, and apply vendor patches as soon as they become available. Additionally, restricting local user privileges and limiting user interaction with untrusted archive files can reduce the risk of exploitation. Employing application whitelisting and sandboxing techniques for archive extraction utilities can further contain potential crashes or memory corruption effects. Monitoring system logs for unusual crashes or behavior related to archive handling may help detect attempted exploitation. Finally, integrating libarchive updates into regular patch management cycles ensures timely remediation of this and similar vulnerabilities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to 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: 2/26/2026, 3:22:15 PM

Last updated: 3/22/2026, 12:30:02 AM

Views: 75

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