CVE-2011-3148: Linux-Pam

Medium severity, CVSS 4.6. EPSS: 0.7% chance of exploitation in the next 30 days.

Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux-PAM (aka pam) before 1.1.5 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via a long string of white spaces at the beginning of the ~/.pam_environment file.

Affected products

  • Linux-Pam Linux-Pam: up to and including 1.1.4; version 0.99.1.0 only; version 0.99.2.0 only; version 0.99.2.1 only; version 0.99.3.0 only; version 0.99.4.0 only; …

Published 2012-07-22. Last modified 2026-06-16.