CVE-2016-9950: Path Traversal in Apport Package Hook Loader
- Vendors
- Apport ProjectCanonical
CVE-2016-9950 is a path traversal vulnerability in Apport before version 2.20.4. The vulnerability arises from insufficient sanitization of the 'Package' and 'SourcePackage' fields in Apport crash files. These fields are used to construct file paths to package-specific hook scripts in /usr/share/apport/package-hooks/. By manipulating these fields, an attacker can traverse directories and cause Apport to execute arbitrary Python files from the local filesystem.
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 a local attacker to execute arbitrary Python code with the privileges of the user running Apport, potentially leading to privilege escalation or arbitrary code execution on the system.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to Apport crash files and the Apport utility to trusted users only. Monitor and audit the use of Apport, and consider disabling it on systems where it is not required until a patched version is deployed.
Remediation
Patch, then assume compromise.
Upgrade Apport to version 2.20.4 or later, where input validation and sanitization of the 'Package' and 'SourcePackage' fields have been implemented to prevent path traversal.
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-2016-9950 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2016-9950 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2016-9950?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2016-9950.
- Is there a patch for CVE-2016-9950?
- Upgrade Apport to version 2.20.4 or later, where input validation and sanitization of the 'Package' and 'SourcePackage' fields have been implemented to prevent path traversal.
- What products are affected by CVE-2016-9950?
- Apport Project Apport and Canonical Ubuntu Linux.
- How severe is CVE-2016-9950?
- CVE-2016-9950 has a CVSS v3 score of 7.8 (High) and an EPSS score of 6.5% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.