Description
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.
Metrics
CVSS 2.0 4.6/10
AV:L/AC:L/Au:N/C:P/I:P/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://git.fedorahosted.org/git/?p=linux-pam.git%3Ba=commitdiff%3Bh=caf5e7f61c8d9288daa49b4f61962e6b1239121d
- http://secunia.com/advisories/46583Vendor Advisory
- http://secunia.com/advisories/49711Vendor Advisory
- http://security.gentoo.org/glsa/glsa-201206-31.xml
- http://www.ubuntu.com/usn/USN-1237-1
- https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874469
- http://git.fedorahosted.org/git/?p=linux-pam.git%3Ba=commitdiff%3Bh=caf5e7f61c8d9288daa49b4f61962e6b1239121d
- http://secunia.com/advisories/46583Vendor Advisory
- http://secunia.com/advisories/49711Vendor Advisory
- http://security.gentoo.org/glsa/glsa-201206-31.xml
- http://www.ubuntu.com/usn/USN-1237-1
- https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874469
Timeline
- Published
- Jul 22, 2012
- Last modified
- Jun 16, 2026
- NVD status
- Modified