Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious 3.0 (quilt) source package
-
DeliveryEmbed .pc symlinks plus failing patches
-
ExploitVictim unpacks with dpkg-source
-
ExecutionBackup-restore follows attacker symlinks
-
ImpactModify or delete files outside tree
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to unpack a maliciously crafted Debian 3.0 (quilt) format source package using dpkg-source. The package's upstream/packaging tarball must contain a quilt database directory (.pc) populated with attacker-controlled symlinks, AND it must include patches that are engineered to fail to apply - the failed-patch path is what triggers the vulnerable backup-restore routine that follows the symlinks. Limiting factors that reduce real-world risk: the attack is local (AV:L), so the attacker cannot reach the target over a network and instead must get its crafted source package onto and processed by the victim (e.g., a maintainer, downstream rebuilder, or CI/build farm consuming untrusted sources); impact is bounded by the privileges of the account running dpkg-source and to file modification/deletion (integrity), with no confidentiality or availability-of-service metric set; and only the 3.0 (quilt) source format with the specific .pc + failing-patch combination is affected. dpkg versions at or above 1.23.12 are not vulnerable. |
| Impact | This is a medium-severity, integrity-only issue (CVSS 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) whose real-world urgency is moderate rather than acute. The local attack vector (AV:L) means there is no remote, network-facing exposure: exploitation requires that a victim process (developer workstation or automated build/CI pipeline) actually unpacks an attacker-supplied 3.0 (quilt) source package. Supporting signals align with a non-emergency posture: EPSS is 0.27% (20th percentile), there is no CISA KEV listing (not confirmed actively exploited), and no public exploit identified at time of analysis - the only references are vendor patch commits, not PoC code. The vendor-priority Decision label is 'this_month', consistent with a patch-when-convenient cadence rather than act_now/emergency. The CVSS vector carries PR:L and UI:N, but the described mechanism is that the attacker merely supplies a crafted source package and a separate victim must choose to unpack it; this looks more like unauthenticated attacker + required victim action than an attacker holding low privileges, so treat the PR:L/UI:N labeling with caution (see assessed vector below). The population most at risk is Debian/Ubuntu package maintainers, build farms, and CI systems that automatically process untrusted or third-party source packages - for those, the ability to modify or delete arbitrary files (potentially as the build/root user) is a meaningful supply-chain integrity concern, so it is a genuine priority for build infrastructure even though it is low-priority for general endpoints. |
| Exploit ScenarioDerived | An attacker publishes or submits a malicious Debian 3.0 (quilt) source package whose tarball embeds a .pc quilt database directory containing symlinks pointing outside the extraction tree, together with patches deliberately crafted to fail to apply. When a maintainer or automated build system unpacks it with dpkg-source, the failed-patch backup-restore logic follows the attacker's symlinks and modifies or deletes the targeted files outside the build directory. No public exploit identified at time of analysis; exploitation is local and depends on the victim unpacking the attacker's package. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Directory traversal in dpkg-source's handling of Debian 3.0 (quilt) source packages allows a crafted tarball to modify or delete files outside the unpacked source tree by shipping a quilt database directory (.pc) containing attacker-controlled symlinks. The flaw only fires when the same package also carries patches engineered to fail to apply, which drives dpkg-source into the backup-restore path that follows those symlinks; impact is integrity-only and bounded by the privileges of the account running dpkg-source. Affected are dpkg versions before 1.23.12 (CPE cpe:2.3:a:debian:dpkg), with a vendor patch available as commits 50fb8e7 and 2a31760 and released in 1.23.12; EPSS is low at 0.27% (20th percentile), there is no CISA KEV listing, and no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade dpkg to version 1.23.12 or later, which contains the two upstream fixes (commits 50fb8e7fe20cee0d5b14000c32ca8c31f3bf0574 and 2a31760bc2a968878700476c1de5b8ea7809e460, available at https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=50fb8e7fe20cee0d5b14000c32ca8c31f3bf0574 and https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2a31760bc2a968878700476c1de5b8ea7809e460); distributions shipping dpkg should pull the corresponding package update rather than the raw commits. No alternative mitigation is documented in the available sources - updating is the complete fix. As a risk-reduction observation rather than a substitute for patching, the blast radius of this defect is capped by the privileges of the account that runs dpkg-source, so unpacking untrusted 3.0 (quilt) source packages as an unprivileged, disposable account or inside an isolated build environment containing nothing sensitive limits what the followed symlinks can reach; the trade-off is added build-environment overhead and the need to keep that isolation intact, and it does not remove the underlying traversal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
dpkg-source is the component of Debian's dpkg suite that unpacks and rebuilds Debian source packages. The 3.0 (quilt) source format layers a set of patches (debian/patches) on top of an upstream orig tarball and uses quilt for bookkeeping; quilt stores its working state, including backup copies of pre-patch files, in a .pc directory. Because the tarball is attacker-supplied, an attacker can pre-seed that .pc directory with symlinks pointing at arbitrary absolute or relative paths and pair them with patches that are guaranteed to fail to apply. When application fails, dpkg-source rolls back, and the restore-of-backup routine resolves the symlinks rather than rejecting them, so the write/delete lands on the symlink target instead of inside the unpack directory - a classic CWE-22 path traversal expressed through symlink resolution. Exploitation is local in the sense that the attacker must get the crafted source package onto the victim system and have it processed (for example, a maintainer, downstream rebuilder or CI/build farm consuming untrusted sources); there is no network-reachable attack surface. The published CVSS base vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) and our assessed vector differ on the privilege and interaction components (assessed AV:L/AC:L/PR:N/UI:R), but both agree the defect is local, integrity-only, and non-impacting to confidentiality or availability. Only the 3.0 (quilt) format with the .pc-plus-failing-patch combination is exposed; dpkg 1.23.12 and later carry the fix.
Know when Dpkg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Attacker needs no privileges but supplies a crafted source package that a victim must deliberately unpack (PR:N, UI:R); local processing (AV:L), attacker-constructed trigger (AC:L); only file modify/delete so I:H, C:N, A:N.
Primary rating from Vendor (debian).
CVSS VectorVendor: debian
Lifecycle Timeline
3DescriptionCVE.org
A directory traversal bug was discovered when unpacking 3.0 (quilt) source packages, where the packaging tarball could contain the quilt database directory (.pc) with attacker controlled symlinks, where that in combination with patches that would fail to apply, could be used to make the code used to restore the backup files to either modify or remove the files pointed to by the attacker controlled symlinks.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Multiple format string vulnerabilities in the parse_error_msg function in parsehelp.c in dpkg before 1.17.22 allow remot
dpkg-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 mechani
Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is
Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb component in Debian dpkg 1.16.x befor
It was discovered that dpkg-deb does not properly sanitize directory permissions when extracting a control member into a
dpkg 1.15.9 on Debian squeeze introduces support for the "C-style encoded filenames" feature without recognizing that th
dpkg 1.15.9, 1.16.x before 1.16.14, and 1.17.x before 1.17.9 expect the patch program to be compliant with a need for th
Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.
The dpkg-source command in Debian dpkg before 1.16.16 and 1.17.x before 1.17.25 allows remote attackers to bypass signat
EUVD-2026-125338
GHSA-2qrp-jmvp-2795
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB