Advisory

DEBIAN-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-09-01 20:05 UTC

Affected packages and fixes

dpkg

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.21.23 (ecosystem)

Fixed versions

1.21.23

Fix

  • Fixed version 1.21.23
    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) · Debian 13

Affected

  • introduced 0, fixed 1.22.21 (ecosystem)

Fixed versions

1.22.21

Fix

  • Fixed version 1.22.21
    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) · Debian 14

Affected

  • introduced 0, fixed 1.22.21 (ecosystem)

Fixed versions

1.22.21

Fix

  • Fixed version 1.22.21
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences