CVE & CISA-KEV Catalog

CVE-2025-5054

MEDIUM
4.7
CVSS v3
NVD

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

How to fix

Remediation Available
apportUbuntu
Fixed in:2.20.1-0ubuntu2.30+esm5USN-7545-1
Fixed in:2.20.9-0ubuntu7.29+esm1USN-7545-1
Fixed in:2.20.11-0ubuntu27.28USN-7545-1
Fixed in:2.20.11-0ubuntu82.7USN-7545-1
Fixed in:2.28.1-0ubuntu3.6USN-7545-1
python-apportUbuntu
Fixed in:2.20.1-0ubuntu2.30+esm5USN-7545-1
Fixed in:2.20.9-0ubuntu7.29+esm1USN-7545-1
python3-apportUbuntu
Fixed in:2.20.1-0ubuntu2.30+esm5USN-7545-1
Fixed in:2.20.9-0ubuntu7.29+esm1USN-7545-1
Fixed in:2.20.11-0ubuntu27.28USN-7545-1
Fixed in:2.20.11-0ubuntu82.7USN-7545-1
Fixed in:2.28.1-0ubuntu3.6USN-7545-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.33%probability of exploitation in 30 days
25thpercentile

Low risk: more likely to be exploited than 25% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Other references1

Related Vulnerabilities

Other CWE-362 (Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-6387High8.1100%-Fix
CVE-2023-36884High7.599%KEV + RansomFix
CVE-2018-15473Medium5.399%-Fix
CVE-2024-27983High8.287%-Fix
CVE-2014-0226Medium6.886%-Fix
CVE-2016-5195High7.084%KEVFix
Embed a live status badge for CVE-2025-5054
CVE-2025-5054 severity badge

Markdown

[![CVE-2025-5054](https://tridentstack.com/cve/badge/CVE-2025-5054.svg)](https://tridentstack.com/cve/CVE-2025-5054)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-5054"><img src="https://tridentstack.com/cve/badge/CVE-2025-5054.svg" alt="CVE-2025-5054"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.