Advisory

UBUNTU-CVE-2025-5916

Also known as: CVE-2025-5916

Summary

The record has no summary.

Details

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.

Severity

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

Dates

Published
2025-06-09 20:15 UTC
Modified
2026-04-22 16:07 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