CVE-2024-48958

NameCVE-2024-48958
Descriptionexecute_filter_delta in archive_read_support_format_rar.c in libarchive before 3.7.5 allows out-of-bounds access via a crafted archive file because src can move beyond dst.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1084978

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libarchive (PTS)jessie, jessie (lts)3.1.2-11+deb8u11fixed
stretch (security)3.2.2-2+deb9u3fixed
stretch (lts), stretch3.2.2-2+deb9u4fixed
buster (security), buster, buster (lts)3.3.3-4+deb10u3fixed
bullseye3.4.3-2+deb11u1fixed
bookworm (security), bookworm3.6.2-1+deb12u1fixed
trixie3.7.4-1fixed
sid3.7.4-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libarchivesourcejessie(not affected)
libarchivesourcestretch(not affected)
libarchivesourcebuster(not affected)
libarchivesourcebullseye(not affected)
libarchivesourcebookworm3.6.2-1+deb12u1
libarchivesource(unstable)3.7.2-2.11084978

Notes

[bullseye] - libarchive <not-affected> (RAR filter support introduced in 3.6.0)
https://github.com/libarchive/libarchive/pull/2148
https://github.com/libarchive/libarchive/commit/a1cb648d52f5b6d3f31184d9b6a7cbca628459b7 (v3.7.5)
[buster] - libarchive <not-affected> (RAR filter support introduced in 3.6.0)
[stretch] - libarchive <not-affected> (RAR filter support introduced in 3.6.0)
[jessie] - libarchive <not-affected> (RAR filter support introduced in 3.6.0)

Search for package or bug name: Reporting problems