HOMEVULNERABILITIESCVE-2011-3148
MEDIUM

CVE-2011-3148

CWE-119Published: July 22, 2012· Updated: Jun 16, 2026

4.6
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2011-3148 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

From a weakness classification perspective (CWE-119): Buffer overflow vulnerabilities can lead to arbitrary code execution or denial of service by corrupting adjacent memory.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

linux-pam1 product(s)
linux-pam
Source: NVD CPE · 26 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (12)

Quick Facts

CVE IDCVE-2011-3148
CVSS Score4.6 / 10
SeverityMEDIUM
WeaknessCWE-119
CISA KEVNo
Affected1 vendor(s)
PublishedJul 22, 2012

Related CVEs (CWE-119)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2011-3148 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.