← Vulnerability feed

Vulnerability record · CVE-2004-2768 · published 8 June 2010

CVE-2004-2768: Debian dpkg permissions and access controls vulnerability

Debian · Dpkg

dpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid file, (2) setgid file, or (3) device, a related issue to CVE-2010-2059.

7.2 CVSS 2.0 High EPSS 0.41% · top 67.2% CWE-264 · Permissions and access controls
7.2CVSS 2.0 base score
0.41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

dpkg 1.9.21 does not properly reset the metadata of a file during replacement of the file in a package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid file, (2) setgid file, or (3) device, a related issue to CVE-2010-2059.

AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2004-2768 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-1664Debian dpkg path traversal vulnerabilityDpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversa…EPSS 3.2%9.8CVE-2017-8283Debian dpkg path traversal vulnerabilitydpkg-source in dpkg 1.3.0 through 1.18.23 is able to use a non-GNU patch program and does not offer a protection mechanism for blank-indented diff hu…EPSS 4.6%8.2CVE-2025-6297Debian dpkg uncontrolled resource consumption vulnerabilityIt was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a temporary directory, which i…EPSS 0.38%7.5CVE-2026-2219Debian dpkg vulnerabilityIt was discovered that dpkg-deb (a component of dpkg, the Debian package management system) does not properly validate the end of the data stream whe…EPSS 0.42%7.5CVE-2015-0860Canonical ubuntu linux vulnerabilityOff-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x before 1.16.17 and 1.17.x before 1…EPSS 5.0%7.1CVE-2014-3127Debian dpkg path traversal vulnerabilitydpkg 1.15.9 on Debian squeeze introduces support for the "C-style encoded filenames" feature without recognizing that the squeeze patch program lacks…EPSS 2.1%6.8CVE-2014-8625Debian dpkg vulnerabilityMultiple format string vulnerabilities in the parse_error_msg function in parsehelp.c in dpkg before 1.17.22 allow remote attackers to cause a denial…EPSS 3.3%6.8CVE-2011-0402Debian dpkg link following vulnerabilitydpkg-source in dpkg before 1.14.31 and 1.15.x allows user-assisted remote attackers to modify arbitrary files via a symlink attack on unspecified fil…EPSS 2.9%

Source: NIST National Vulnerability Database (record CVE-2004-2768), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.