CVE-2025-5054
Description
Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).
Weakness
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-05-30 |
Timeline
- 2025-05-30Published by the CNA17:37 UTC
- 2025-05-30CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| canonical apport | through 2.32.0no fix listed | not listed |
| canonical ubuntu_linux | 16.04no fix listed18.04no fix listed20.04no fix listed22.04no fix listed24.04no fix listed(+2 more) | not listednot listednot listednot listednot listed |
References
- https://ubuntu.com/security/notices/USN-7545-1
- https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
- http://seclists.org/fulldisclosure/2025/Jun/9
- https://ubuntu.com/security/CVE-2025-5054
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-5054'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-5054'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-5054'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-5054'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).