CVE-2025-60753 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 allo...
MediumCVSS 5.5
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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).
Upgrade path
8 packages: 4 fixed, 2 partially fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libarchive(Debian 12) | = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2; = 3.6.2-1+deb12u3 +22 more | No fix listed | No fix yet |
| debian/libarchive(Debian 13) | = 3.7.4-4; = 3.7.4-4+deb13u1; = 3.8.4-1; = 3.8.5-1 +8 more | No fix listed | No fix yet |
| azure linux libarchive(Azure Linux 3.0) | < 3.7.7-4; All versions | 3.7.7-4 | Partially fixed |
| cbl-mariner libarchive(CBL-Mariner 2.0) | < 3.6.1-8; All versions | 3.6.1-8 | Partially fixed |
| debian/libarchive(Debian 14) | < 3.8.4-1; = 3.7.4-4 | 3.8.4-1 | Fixed |
| libarchive | <= 3.8.1 | after 3.8.1 | Fixed |
| ubuntu/libarchive(Ubuntu 22.04) | < 3.6.0-1ubuntu1.6 | 3.6.0-1ubuntu1.6 | Fixed |
| ubuntu/libarchive(Ubuntu 24.04) | < 3.7.2-2ubuntu0.6 | 3.7.2-2ubuntu0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux libarchive(Azure Linux:3.0) | All versions | No fix listed |
| cbl-mariner libarchive(CBL-Mariner:2.0) | All versions | No fix listed |
| azure linux libarchive(Azure Linux:3.0) | < 3.7.7-4 | 3.7.7-4 |
| cbl-mariner libarchive(CBL-Mariner:2.0) | < 3.6.1-8 | 3.6.1-8 |
| debian/libarchive(Debian:12) | All versions | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u5 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1~exp1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.10-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.10-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.5-1 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libarchive(Debian:12) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.9-1 | No fix listed |
| debian/libarchive(Debian:13) | All versions | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4+deb13u1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.10-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.10-2 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.9-1 | No fix listed |
| debian/libarchive(Debian:14) | < 3.8.4-1 | 3.8.4-1 |
| debian/libarchive(Debian:14) | = 3.7.4-4 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | < 3.6.0-1ubuntu1.6 | 3.6.0-1ubuntu1.6 |
| ubuntu/libarchive(Ubuntu:24.04) | < 3.7.2-2ubuntu0.6 | 3.7.2-2ubuntu0.6 |
| libarchive | <= 3.8.1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-60753 vendor-advisory
- github.com exploit issue-tracking patch
- github.com exploit third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8147-1 vendor-advisory
- www.cve.org