{"id":"CVE-2011-3148","aliases":["BELL-CVE-2011-3148","DEBIAN-CVE-2011-3148","DSA-2326-1","EUVD-2011-3115","GHSA-gh7c-55pq-pm8c","RHSA-2013:0521","openSUSE-SU-2024:10405-1"],"status":"published","title":"Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux...","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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00696,"percentile":0.5328,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2011-10-24T00:00:00Z","modified":"2026-10-23T17:47:32Z","fixes":[{"ecosystem":"Debian:12","package":"pam","fixed_in":["1.1.3-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pam","fixed_in":["1.1.3-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pam","fixed_in":["1.1.3-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.3-5"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-6.1+squeeze1"}]}],"versions":["1.1.1-6.1"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"pam-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"pam-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"pam-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"pam-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"pam-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"pam-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"pam-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"pam-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.1-13.el6"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"pam","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-3.4"}]}],"bundled":7}],"products":[{"vendor":"linux-pam","product":"linux-pam"}],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874469","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://security.gentoo.org/glsa/glsa-201206-31.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/USN-1237-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/46583","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/49711","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://git.fedorahosted.org/git/?p=linux-pam.git%3Ba=commitdiff%3Bh=caf5e7f61c8d9288daa49b4f61962e6b1239121d","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-3148","tags":["advisory"]},{"url":"http://git.fedorahosted.org/git/?p=linux-pam.git;a=commitdiff;h=caf5e7f61c8d9288daa49b4f61962e6b1239121d"},{"url":"https://github.com/advisories/GHSA-gh7c-55pq-pm8c"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2011-3148","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2011-3148","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0521","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.4_Technical_Notes/pam.html","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=588893","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=673398","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=723297","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=746619","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=746620","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=750601","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=811168","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=811243","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=815516","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0521.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-3148","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-3148","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2011-3149","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-3149","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-3149","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2010-3430","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-3431","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2010-3853","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-3148","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-3149","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-2583","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3238","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2011-3148","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.","status":"published","published":"2012-07-22T17:00:00Z","modified":"2024-08-06T23:22:27.612Z","updated_at":"2026-11-02T14:35:36.968002Z"}],"euvd":[{"id":"EUVD-2011-3115","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.","status":"published","published":"2012-07-22T17:00:00Z","modified":"2024-08-06T23:22:27Z","updated_at":"2026-11-03T01:39:53.115277Z"}],"ghsa":[{"id":"GHSA-gh7c-55pq-pm8c","title":"Stack-based buffer overflow in the _assemble_line function in modules/pam_env/pam_env.c in Linux...","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.","status":"published","published":"2022-05-14T01:43:40Z","modified":"2025-04-11T04:00:42Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:11.561612Z"}],"nvd":[{"id":"CVE-2011-3148","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.","status":"published","published":"2012-07-22T17:55:01.057Z","modified":"2026-06-16T23:32:45.243Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:12.272092Z"}],"osv":[{"id":"BELL-CVE-2011-3148","title":"CVE-2011-3148 does not affect BellSoft software","status":"withdrawn","published":"2012-07-22T17:55:00Z","modified":"2026-01-28T07:21:12.225544Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium"}],"updated_at":"2026-11-02T15:28:12.886815Z"},{"id":"CVE-2011-3148","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.","status":"published","published":"2012-07-22T17:55:01Z","modified":"2026-04-10T03:41:55.328949Z","updated_at":"2026-11-02T15:43:58.279353Z"},{"id":"DEBIAN-CVE-2011-3148","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.","status":"published","published":"2012-07-22T17:55:01.057Z","modified":"2026-10-23T17:47:32.261505563Z","updated_at":"2026-11-02T15:45:24.612044Z"},{"id":"DSA-2326-1","title":"pam - several","status":"published","published":"2011-10-24T00:00:00Z","modified":"2026-03-09T01:21:49.837295Z","updated_at":"2026-11-02T15:46:15.108335Z"},{"id":"openSUSE-SU-2024:10405-1","title":"pam-1.3.0-3.4 on GA media","description":"These are all security issues fixed in the pam-1.3.0-3.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:08:36.989963Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"RHSA-2013:0521","title":"Red Hat Security Advisory: pam security, bug fix, and enhancement update","status":"published","published":"2024-09-15T20:21:19Z","modified":"2026-06-26T10:20:59Z","updated_at":"2026-11-02T15:53:01.993625Z"}]}}
