Skip to content
OpenAdvisories
Unscored CVE-2011-3148 EUVD-2011-3115GHSA-gh7c-55pq-pm8c

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 us…

Published Jul 22, 2012 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pam 1.1.3-5 —
Debian 13 pam 1.1.3-5 —
Debian 12 pam 1.1.3-5 —
Debian 6.0 pam 1.1.1-6.1+squeeze1 DSA-2326-1
ReleasePackageFixed inAdvisory
RHEL 6 pam +1 1.1.1-13.el6 RHSA-2013:0521
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pam 1.3.0-3.4 openSUSE-SU-2024:10405-1

Advisories 3

References