BreachSpiderVerified, not vibes

CVE-2004-2768 in Debian Dpkg

High 7.2

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.2
EPSS0.4%
EPSS percentile27th
FixUnknown

Requires local access, low complexity.

Affected products and versions

VendorProductAffected versions
Debian Dpkg 1.9.21

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2004-2768
BreachSpider IDBS-2010-GLOBAL-009149-H
CVSS vectorAV:L/AC:L/Au:N/C:C/I:C/A:C
Published2010-06-08
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2010. A high severity vulnerability affects Debian systems (CVE-2004-2768). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:L/AC:L/Au:N/C:C/I:C/A:C.

Questions

What is CVE-2004-2768?

This vulnerability was disclosed in 2010. A high severity vulnerability affects Debian systems (CVE-2004-2768). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2004-2768?

CVE-2004-2768 has CVSS 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. EPSS: 0.4%.

Is CVE-2004-2768 actively exploited?

No confirmed active exploitation of CVE-2004-2768 as of 2026-09-25.

How do I remediate CVE-2004-2768?

Priority: MEDIUM.

What systems are affected by CVE-2004-2768?

CVE-2004-2768 affects Debian Dpkg.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Dpkg","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.