Advisory

USN-7580-1

Also known as: CVE-2025-6020

Summary

pam vulnerability

Details

Olivier BAL-PETRE discovered that the PAM pam_namespace module incorrectly
handled user-controlled paths. In environments where pam_namespace is used,
a local attacker could possibly use this issue to escalate their privileges
to root.

Severity

Not rated by the source.

Dates

Published
2025-06-18 16:28 UTC
Modified
2026-04-27 18:04 UTC

Affected packages and fixes

pam

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.4.0-11ubuntu2.6 (ecosystem)

Fixed versions

1.4.0-11ubuntu2.6

Fix

  • Fixed version 1.4.0-11ubuntu2.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pam

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.5.3-5ubuntu5.4 (ecosystem)

Fixed versions

1.5.3-5ubuntu5.4

Fix

  • Fixed version 1.5.3-5ubuntu5.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences