CVE-2006-3378: Ubuntu Linux

High severity, CVSS 7.2. EPSS: 0.3% chance of exploitation in the next 30 days.

passwd command in shadow in Ubuntu 5.04 through 6.06 LTS, when called with the -f, -g, or -s flag, does not check the return code of a setuid call, which might allow local users to gain root privileges if setuid fails in cases such as PAM failures or resource limits.

Affected products

  • Ubuntu Ubuntu Linux: version 5.04 only; version 5.10 only; version 6.06_lts only

Published 2006-07-06. Last modified 2026-06-16.