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.
Severity
Not rated by the source.
Dates
Published
2012-07-22 17:55 UTC
Modified
2026-10-23 17:47 UTC
Affected packages and fixes
pam
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1.1.3-5 (ecosystem)
Fixed versions
1.1.3-5
Fix
Fixed version 1.1.3-5
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) · Debian 13
Affected
introduced 0, fixed 1.1.3-5 (ecosystem)
Fixed versions
1.1.3-5
Fix
Fixed version 1.1.3-5
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) · Debian 14
Affected
introduced 0, fixed 1.1.3-5 (ecosystem)
Fixed versions
1.1.3-5
Fix
Fixed version 1.1.3-5
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.