Name | CVE-2025-5917 |
Description | A vulnerability has been identified in the libarchive library. This flaw involves an 'off-by-one' miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1107626 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libarchive (PTS) | bullseye | 3.4.3-2+deb11u1 | vulnerable |
bullseye (security) | 3.4.3-2+deb11u2 | vulnerable | |
bookworm, bookworm (security) | 3.6.2-1+deb12u2 | vulnerable | |
sid, trixie | 3.7.4-3 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libarchive | source | (unstable) | (unfixed) | 1107626 |
[bookworm] - libarchive <no-dsa> (Minor issue)
[bullseye] - libarchive <postponed> (Minor issue)
https://github.com/libarchive/libarchive/pull/2588
Fixed by: https://github.com/libarchive/libarchive/commit/7c02cde37a63580cd1859183fbbd2cf04a89be85 (v3.8.0)