Advisory

UBUNTU-CVE-2025-6297

Also known as: CVE-2025-6297

Summary

The record has no summary.

Details

It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which is documented as being a safe operation even on untrusted data. This may result in leaving temporary files behind on cleanup. Given automated and repeated execution of dpkg-deb commands on adversarial .deb packages or with well compressible files, placed inside a directory with permissions not allowing removal by a non-root user, this can end up in a DoS scenario due to causing disk quota exhaustion or disk full conditions.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Dates

Published
2025-07-01 17:15 UTC
Modified
2026-04-22 16:08 UTC

Affected packages and fixes

dpkg

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dpkg

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dpkg

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.21.1ubuntu2.6 (ecosystem)

Fixed versions

1.21.1ubuntu2.6

Fix

  • Fixed version 1.21.1ubuntu2.6
    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.

dpkg

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.22.6ubuntu6.5 (ecosystem)

Fixed versions

1.22.6ubuntu6.5

Fix

  • Fixed version 1.22.6ubuntu6.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.

dpkg

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1.22.21ubuntu1 (ecosystem)

Fixed versions

1.22.21ubuntu1

Fix

  • Fixed version 1.22.21ubuntu1
    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