CVE-2011-3148: Buffer Overflow

Published Jul 22, 2012
·
Updated

Stack-based buffer overflow in the assembleline function in modules/pamenv/pamenv.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 ~/.pamenvironment file.

Affected Software

26 affected components
Linux-PAM Linux-PAM=0.99.1.0
Linux-PAM Linux-PAM=0.99.2.0
Linux-PAM Linux-PAM=0.99.2.1
Linux-PAM Linux-PAM=0.99.3.0
Linux-PAM Linux-PAM=0.99.4.0
Linux-PAM Linux-PAM=0.99.5.0
Linux-PAM Linux-PAM=0.99.6.0
Linux-PAM Linux-PAM=0.99.6.1
Linux-PAM Linux-PAM=0.99.6.2
Linux-PAM Linux-PAM=0.99.6.3
Linux-PAM Linux-PAM=0.99.7.0
Linux-PAM Linux-PAM=0.99.7.1
Linux-PAM Linux-PAM=0.99.8.0
Linux-PAM Linux-PAM=0.99.8.1
Linux-PAM Linux-PAM=0.99.9.0
Linux-PAM Linux-PAM=0.99.10.0
Linux-PAM Linux-PAM=1.0.0
Linux-PAM Linux-PAM=1.0.1
Linux-PAM Linux-PAM=1.0.2
Linux-PAM Linux-PAM=1.0.3
Linux-PAM Linux-PAM=1.0.4
Linux-PAM Linux-PAM=1.1.0
Linux-PAM Linux-PAM=1.1.1
Linux-PAM Linux-PAM=1.1.2
Linux-PAM Linux-PAM=1.1.3
Linux-PAM Linux-PAM<=1.1.4

Event History

Jul 22, 2012
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-3148?

CVE-2011-3148 is classified as a high severity vulnerability due to its potential to cause a denial of service and execute arbitrary code.

2

How do I fix CVE-2011-3148?

To fix CVE-2011-3148, upgrade to Linux-PAM version 1.1.5 or later.

3

Which versions of Linux-PAM are affected by CVE-2011-3148?

CVE-2011-3148 affects Linux-PAM versions prior to 1.1.5, including multiple versions from 0.99.1.0 to 1.1.4.

4

What causes CVE-2011-3148?

CVE-2011-3148 is caused by a stack-based buffer overflow in the _assemble_line function due to long strings of whitespace in the ~/.pam_environment file.

5

Is CVE-2011-3148 exploitable remotely?

CVE-2011-3148 is not remotely exploitable as it requires local access to the victim's system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203