Advisory

UBUNTU-CVE-2025-5917

Also known as: CVE-2025-5917

Summary

The record has no summary.

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.

Severity

Low Basis: CVSS v3 score 2.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L

Dates

Published
2025-06-09 20:15 UTC
Modified
2026-04-22 16:06 UTC

Affected packages and fixes

libarchive

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.6.0-1ubuntu1.5 (ecosystem)

Fixed versions

3.6.0-1ubuntu1.5

Fix

  • Fixed version 3.6.0-1ubuntu1.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libarchive

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.7.2-2ubuntu0.5 (ecosystem)

Fixed versions

3.7.2-2ubuntu0.5

Fix

  • Fixed version 3.7.2-2ubuntu0.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libarchive

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.7.7-0ubuntu3 (ecosystem)

Fixed versions

3.7.7-0ubuntu3

Fix

  • Fixed version 3.7.7-0ubuntu3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences