
CVE catalog
CVE-2025-6297
dpkg vulnerability
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.48% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | dpkg | sid | 1.23.11 | fixed |
| Debian | dpkg | forky | 1.23.11 | fixed |
| Debian | dpkg | trixie | 1.22.22 | fixed |
| Debian | dpkg | bookworm | 1.21.23 | fixed |
| Ubuntu | dpkg | noble | 1.21.23 | fixed |
| Ubuntu | dpkg | noble | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | dpkg-dev | noble | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | dselect | noble | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | libdpkg-dev | noble | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | libdpkg-perl | noble | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | dpkg | 22.04 | 1.20.9ubuntu2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.20.9ubuntu3 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu1 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.1 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.3 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.6 | fixed |
| Ubuntu | dpkg | 24.04 | 1.22.0ubuntu1 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu3 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.2ubuntu2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.4ubuntu3 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.4ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.1 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | dpkg | pro | 1.18.2ubuntu5 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.3ubuntu1 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.1 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.2 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.3 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.4 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.5 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.6 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.7 | vulnerable |
| Ubuntu | dpkg | pro | 1.18.4ubuntu1.7+esm1 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.18.24ubuntu1 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.4ubuntu1 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu1 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu2 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu2.1 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu2.2 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu2.3 | vulnerable |
| Ubuntu | dpkg | 18.04 | 1.19.0.5ubuntu2.4 | vulnerable |
| Ubuntu | dpkg | 20.04 | 1.19.7ubuntu2 | vulnerable |
| Ubuntu | dpkg | 20.04 | 1.19.7ubuntu3 | vulnerable |
| Ubuntu | dpkg | 20.04 | 1.19.7ubuntu3.2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.20.9ubuntu2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.20.9ubuntu3 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu1 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.1 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.2 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.3 | vulnerable |
| Ubuntu | dpkg | 22.04 | 1.21.1ubuntu2.6 | fixed |
| Ubuntu | dpkg | 24.04 | 1.22.0ubuntu1 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu3 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.1ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.2ubuntu2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.4ubuntu3 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.4ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu5 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.1 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.2 | vulnerable |
| Ubuntu | dpkg | 24.04 | 1.22.6ubuntu6.5 | fixed |
| Ubuntu | dpkg | 25.10 | 1.22.18ubuntu2 | vulnerable |
| Ubuntu | dpkg | 25.10 | 1.22.18ubuntu3 | vulnerable |
| Ubuntu | dpkg | 25.10 | 1.22.21ubuntu1 | fixed |
| Opensuse | dpkg | tumbleweed | 1.22.21-1.1 | fixed |
| Suse | update-alternatives | linux micro 6.1 | 1.22.0-slfo.1.1_2.1 | fixed |
| Suse | update-alternatives | linux micro 6.0 | 1.22.0-2.1 | fixed |
| Suse | update-alternatives | linux enterprise micro 5.3 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise micro 5.4 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise micro 5.5 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise module for basesystem 15 sp6 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise module for basesystem 15 sp7 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | dpkg | linux enterprise module for development tools 15 sp6 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | dpkg | linux enterprise module for development tools 15 sp7 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise micro 5.1 | 1.19.0.4-150000.4.7.1 | fixed |
| Suse | update-alternatives | linux enterprise micro 5.2 | 1.19.0.4-150000.4.7.1 | fixed |
| Opensuse | dpkg | leap 15.6 | 1.19.0.4-150000.4.7.1 | fixed |
| Opensuse | update-alternatives | leap 15.6 | 1.19.0.4-150000.4.7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | dpkg | source | sid | 1.22.21 | not yet assigned | Not reported | Not reported |
| Debian | dpkg | source | forky | 1.22.21 | not yet assigned | Not reported | Not reported |
| Debian | dpkg | source | trixie | 1.22.21 | not yet assigned | Not reported | Not reported |
| Debian | dpkg | source | bookworm | 1.21.23 | not yet assigned | Not reported | Not reported |
| Ubuntu | dpkg | deb | noble | 1.21.23 | Not reported | Not reported | Not reported |
| Ubuntu | dpkg | deb | noble | 1.22.6ubuntu6.5 | Not reported | Not reported | Not reported |
| Ubuntu | dpkg-dev | deb | noble | 1.22.6ubuntu6.5 | Not reported | Not reported | Not reported |
| Ubuntu | dselect | deb | noble | 1.22.6ubuntu6.5 | Not reported | Not reported | Not reported |
| Ubuntu | libdpkg-dev | deb | noble | 1.22.6ubuntu6.5 | Not reported | Not reported | Not reported |
| Ubuntu | libdpkg-perl | deb | noble | 1.22.6ubuntu6.5 | Not reported | Not reported | Not reported |
| Ubuntu | dpkg | deb | 22.04 | 1.21.1ubuntu2.6 | Not reported | USN-7768-1 | Not reported |
| Ubuntu | dpkg | deb | 24.04 | 1.22.6ubuntu6.5 | Not reported | USN-7768-1 | Not reported |
| Ubuntu | dpkg | deb | 22.04 | 1.21.1ubuntu2.6 | Not reported | UBUNTU-CVE-2025-6297 | Not reported |
| Ubuntu | dpkg | deb | 24.04 | 1.22.6ubuntu6.5 | Not reported | UBUNTU-CVE-2025-6297 | Not reported |
| Ubuntu | dpkg | deb | 25.10 | 1.22.21ubuntu1 | Not reported | UBUNTU-CVE-2025-6297 | Not reported |
| Opensuse | dpkg | rpm | tumbleweed | 1.22.21-1.1 | Not reported | OPENSUSE-SU-2025:15314-1 | Not reported |
| Suse | update-alternatives | rpm | linux micro 6.1 | 1.22.0-slfo.1.1_2.1 | Not reported | SUSE-SU-2025:20670-1 | Not reported |
| Suse | update-alternatives | rpm | linux micro 6.0 | 1.22.0-2.1 | Not reported | SUSE-SU-2025:20562-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise micro 5.3 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise micro 5.4 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise micro 5.5 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise module for basesystem 15 sp6 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise module for basesystem 15 sp7 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | dpkg | rpm | linux enterprise module for development tools 15 sp6 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | dpkg | rpm | linux enterprise module for development tools 15 sp7 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise micro 5.1 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Suse | update-alternatives | rpm | linux enterprise micro 5.2 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Opensuse | dpkg | rpm | leap 15.6 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
| Opensuse | update-alternatives | rpm | leap 15.6 | 1.19.0.4-150000.4.7.1 | Not reported | SUSE-SU-2025:02734-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [dpkg-devel]Unknown
Source package: [dpkg]
Details (1)
1.22.22-1.4· x86_64 · tumbleweedUnknown · Fixed:
1.22.21-1.1Version impact unknown
usn · dpkg · opensuse · tumbleweed
- [dpkg-lang]Unknown
Source package: [dpkg]
Details (1)
1.22.22-1.4· noarch · tumbleweedUnknown · Fixed:
1.22.21-1.1Version impact unknown
usn · dpkg · opensuse · tumbleweed
- [dpkg]Fixed
Source package: [dpkg]
Details (1)
1.22.22-1.4· x86_64 · tumbleweedFixed · Fixed:
1.22.21-1.1usn · dpkg · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [dpkg]Fixed
Details (2)
1.21.23· amd64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
1.21.23· arm64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
- [dpkg-dev]Fixed
Source package: [dpkg]
Details (2)
1.21.23· all · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
1.21.23· all · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
- [dselect]Fixed
Source package: [dpkg]
Details (2)
1.21.23· amd64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
1.21.23· arm64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
- [libdpkg-dev]Fixed
Source package: [dpkg]
Details (2)
1.21.23· amd64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
1.21.23· arm64 · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
- [libdpkg-perl]Fixed
Source package: [dpkg]
Details (2)
1.21.23· all · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
1.21.23· all · bookwormFixed · Fixed:
1.21.23usn · dpkg · debian · bookworm; usn · dpkg · debian · 12
[Debian 13 (Trixie)]
- [dpkg]Fixed
Details (2)
1.22.22· amd64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
1.22.22· arm64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
- [dpkg-dev]Fixed
Source package: [dpkg]
Details (2)
1.22.22· all · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
1.22.22· all · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
- [dselect]Fixed
Source package: [dpkg]
Details (2)
1.22.22· amd64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
1.22.22· arm64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
- [libdpkg-dev]Fixed
Source package: [dpkg]
Details (2)
1.22.22· amd64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
1.22.22· arm64 · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
- [libdpkg-perl]Fixed
Source package: [dpkg]
Details (2)
1.22.22· all · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
1.22.22· all · trixieFixed · Fixed:
1.22.21usn · dpkg · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_02734-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-6297]
- [https://osv.dev/vulnerability/SUSE-SU-2025:02734-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20562-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:20670-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-6297]
- [https://osv.dev/vulnerability/USN-7768-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15314-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-6297]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-6297.json]
- [https://ubuntu.com/security/notices/USN-7768-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1445.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]