Public Date:
746619: CVE-2011-3148 pam (pam_env): Stack-based buffer overflow by parsing user's pam_environment file

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2011-3148 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 3.7
Base Metrics AV:L/AC:H/Au:N/C:P/I:P/A:P
Access Vector Local
Access Complexity High
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux version 6 (pam) RHSA-2013:0521 2013-02-20

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 pam Not affected
Red Hat Enterprise Linux 5 pam Not affected


Red Hat would like to thank Kees Cook of Google ChromeOS Team for reporting this issue.