CVEvulnerability

CVE-2011-3148

4.6 MEDIUM Published 2012-07-22 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-07-22
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

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.

Affected configurations

• linux-pam linux-pam (<= 1.1.4) • 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

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References