CVE-2025-60753

libarchive: bsdtar hangs and OOMs with zero-length pattern matches

Published Nov 5, 2025 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8147-1 libarchive vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title libarchive: bsdtar hangs and OOMs with zero-length pattern matches
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
Vendors & Products Libarchive
Libarchive libarchive
Type Values Removed Values Added
Weaknesses CWE-400
CWE-835
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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).
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 5, 2025, 3:44 PM
Reserved
Sep 26, 2025, 12:00 AM
Status
Analyzed
Published
Nov 5, 2025, 4:15 PM
Modified
Nov 5, 2026, 2:10 PM
Severity
Moderate
Public date
Nov 5, 2025, 12:00 AM