CVE-2025-60753

NameCVE-2025-60753
DescriptionAn 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).
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)bullseye3.4.3-2+deb11u1vulnerable
bullseye (security)3.4.3-2+deb11u3vulnerable
bookworm3.6.2-1+deb12u3vulnerable
bookworm (security)3.6.2-1+deb12u2vulnerable
forky, trixie3.7.4-4vulnerable
sid3.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesource(unstable)3.8.4-1unimportant

Notes

https://github.com/libarchive/libarchive/issues/2725
https://github.com/libarchive/libarchive/pull/2787
Fixed by: https://github.com/libarchive/libarchive/commit/81bc00a549e4e0c85ab15136315ef32d70412dc7
Fixed by: https://github.com/libarchive/libarchive/commit/df9967323ee89c07e59c82999dcbbdc6a54a3282 (v3.8.4)
Negligible security impact

Search for package or bug name: Reporting problems