CVE-2025-60753 Details
Description
An issue was discovered in libarchive bsdtar before version 3.8.1 in function apply_substitution in file tar/subst.c when processing crafted -s substitution rules. This can cause unbounded memory allocation and lead to denial of service (Out-of-Memory crash).
A denial-of-service vulnerability has been identified in libarchive's bsdtar component, prior to version 3.8.1. The issue arises in the 'apply_substitution' function within 'tar/subst.c', where crafted '-s' substitution rules can trigger an infinite loop. This loop occurs when the search pattern matches the empty string under global replacement, leading to unbounded memory growth and eventual out-of-memory crashes.
To address this vulnerability, the substitution processing code should be modified to prevent infinite loops caused by zero-length pattern matches. This can be done by breaking the loop for that rule or by ensuring that the input pointer advances after a match is found.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libarchive/libarchive/issues/2725 | [email protected] | ExploitIssue TrackingPatch |
| https://github.com/Papya-j/CVE/tree/main/CVE-2025-60753 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libarchive libarchive | <= 3.8.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Nov 5, 2025 | New CVE Received | [email protected] |
| Nov 5, 2025 | CVE Modified | CISA-ADP |