Skip to main content
Network Thinking Solutions Logo

CVE-2025-5054

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.

All CVEs
CVE-2025-5054Published 5/30/2025

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.

Vendor advisory
CVSS4.7Medium

Overview

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

Published
5/30/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
apport
canonical
≤ 2.32.0

Verify advisory

Source
ubuntu linux
canonical
16.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
18.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
20.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
22.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
24.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
24.10

Verify advisory

Source
ubuntu linux
canonical
25.04

Verify advisory

Source
Apport
Canonical
≥ 2.20.1, < 2.20.1-0ubuntu2.30+esm5

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.20.9, < 2.20.9-0ubuntu7.29+esm1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.20.11, < 2.20.11-0ubuntu27.28

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.20.11, < 2.20.11-0ubuntu82.7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.28.1, < 2.28.1-0ubuntu3.6

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.30.0, < 2.30.0-0ubuntu4.3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.32.0, < 2.32.0-0ubuntu5.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.32.0, < 2.33.0-0ubuntu1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Apport
Canonical
≥ 2.20, ≤ 2.32.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.