Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-5054

MEDIUM 4.7PoCEPSS 6%

Race Condition in Canonical Apport

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Canonical Apport >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, <= 2.32.0

Vulnerability facts

Affected
Canonical Apport >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, <= 2.32.0
Fixed in
Canonical Apport 2.20.1-0ubuntu2.30+esm5, Canonical Apport 2.20.9-0ubuntu7.29+esm1, Canonical Apport 2.20.11-0ubuntu27.28, Canonical Apport 2.20.11-0ubuntu82.7, Canonical Apport 2.28.1-0ubuntu3.6, Canonical Apport 2.30.0-0ubuntu4.3, Canonical Apport 2.32.0-0ubuntu5.1, Canonical Apport 2.33.0-0ubuntu1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-362
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Canonical Apport>= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, <= 2.32.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-5054. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-5054.md
Affected: Canonical Apport >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, …
Fixed in: Canonical Apport 2.20.1-0ubuntu2.30+esm5, Canonical Apport 2.20.9-0ubuntu7.29+esm1, Canonical Apport 2.20.11-0ubuntu27.28, Canonical Apport 2.20.11-0ubuntu82.7, Canonical Apport 2.28.1-0ubuntu3.6, Canonical Apport 2.30.0-0ubuntu4.3, Canonical Apport 2.32.0-0ubuntu5.1, Canonical Apport 2.33.0-0ubunt…

Steps:
1. Search this machine and project for Canonical Apport: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-5054 being exploited?

There is no confirmed exploitation: CVE-2025-5054 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-5054?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-5054?

Canonical Apport >= 2.20.1, < 2.20.1-0ubuntu2.30+esm5; >= 2.20.9, < 2.20.9-0ubuntu7.29+esm1; >= 2.20.11, < 2.20.11-0ubuntu27.28; >= 2.20.11, < 2.20.11-0ubuntu82.7; >= 2.28.1, < 2.28.1-0ubuntu3.6; >= 2.30.0, < 2.30.0-0ubuntu4.3; >= 2.32.0, < 2.32.0-0ubuntu5.1; >= 2.32.0, < 2.33.0-0ubuntu1; >= 2.20, <= 2.32.0.

Is there a fix for CVE-2025-5054?

Yes. Fixed in Canonical Apport 2.20.1-0ubuntu2.30+esm5, Canonical Apport 2.20.9-0ubuntu7.29+esm1, Canonical Apport 2.20.11-0ubuntu27.28, Canonical Apport 2.20.11-0ubuntu82.7, Canonical Apport 2.28.1-0ubuntu3.6, Canonical Apport 2.30.0-0ubuntu4.3, Canonical Apport 2.32.0-0ubuntu5.1, Canonical Apport 2.33.0-0ubuntu1. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-5054?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors