DEBIAN-CVE-2025-5917

Source
https://security-tracker.debian.org/tracker/CVE-2025-5917
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-5917.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2025-5917
Upstream
Downstream
Published
2025-06-09T20:15:27Z
Modified
2026-09-02T08:47:40Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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. This bug affects libarchive versions prior to 3.8.0.

References

Affected packages

Debian:12 / libarchive

Package

Name
libarchive
Purl
pkg:deb/debian/libarchive?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.6.2-1+deb12u3

Affected versions

3.*
3.6.2-1
3.6.2-1+deb12u1
3.6.2-1+deb12u2

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-5917.json"

Debian:13 / libarchive

Package

Name
libarchive
Purl
pkg:deb/debian/libarchive?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.7.4-4

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-5917.json"

Debian:14 / libarchive

Package

Name
libarchive
Purl
pkg:deb/debian/libarchive?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.7.4-4

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-5917.json"