Live threats

All CVEs / Linux-pam

CVE-2011-3148Linux-pam

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
Yes
Published
Jul 22, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux-pam.

Affected products (CPE)

VendorProductVersions
linux-pamlinux-pam≤ 1.1.4
linux-pamlinux-pam0.99.1.0
linux-pamlinux-pam0.99.2.0
linux-pamlinux-pam0.99.2.1
linux-pamlinux-pam0.99.3.0
linux-pamlinux-pam0.99.4.0
linux-pamlinux-pam0.99.5.0
linux-pamlinux-pam0.99.6.0
linux-pamlinux-pam0.99.6.1
linux-pamlinux-pam0.99.6.2
linux-pamlinux-pam0.99.6.3
linux-pamlinux-pam0.99.7.0
linux-pamlinux-pam0.99.7.1
linux-pamlinux-pam0.99.8.0
linux-pamlinux-pam0.99.8.1
linux-pamlinux-pam0.99.9.0
linux-pamlinux-pam0.99.10.0
linux-pamlinux-pam1.0.0
linux-pamlinux-pam1.0.1
linux-pamlinux-pam1.0.2
linux-pamlinux-pam1.0.3
linux-pamlinux-pam1.0.4
linux-pamlinux-pam1.1.0
linux-pamlinux-pam1.1.1
linux-pamlinux-pam1.1.2
linux-pamlinux-pam1.1.3

Official sources

References

Links published by the sources. Open them with care.