CVE-2014-3865: Directory Traversal in dpkg-source (dpkg-dev 1.3.0)
- Vendor
- Debian Project
CVE-2014-3865 describes multiple directory traversal vulnerabilities in dpkg-source, part of dpkg-dev 1.3.0. The vulnerability allows remote attackers to modify files outside of the intended directories by providing a malicious source package. This is achieved by crafting the Index: pseudo-header in patch files, either omitting the --- and +++ header lines or supplying a +++ header line with a blank pathname, thereby bypassing directory restrictions.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to write or modify arbitrary files on the system where the source package is unpacked, potentially leading to privilege escalation, code execution, or system compromise, depending on the files targeted.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, avoid applying untrusted or unaudited source packages. Restrict access to systems where dpkg-source is used and monitor for suspicious patch files with malformed headers.
Remediation
Patch, then assume compromise.
Upgrade dpkg-dev to a version where this vulnerability is patched. Ensure that patch parsing in dpkg-source strictly validates header lines and enforces directory boundaries.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2014-3865 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2014-3865 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2014-3865?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2014-3865.
- Is there a patch for CVE-2014-3865?
- Upgrade dpkg-dev to a version where this vulnerability is patched. Ensure that patch parsing in dpkg-source strictly validates header lines and enforces directory boundaries.
- What products are affected by CVE-2014-3865?
- Debian Project Dpkg-Dev.
- How severe is CVE-2014-3865?
- CVE-2014-3865 has a CVSS v2 score of 6.4 (Medium) and an EPSS score of 7.3% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.