CVE-2012-4530 json
The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly handle recursion, which allows local user…
published 2013-02-18 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-4458
- cvss
- 2.1
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 1
- Exploit-DB
Summary
The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly handle recursion, which allows local users to obtain sensitive information from kernel stack memory via a crafted application.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 3.2.35-1
debian advisories DEBIAN-CVE-2012-4530
- kernel RHEL 6 2.6.32-279.22.1.el6
- perf RHEL 6 2.6.32-279.22.1.el6
- python-perf RHEL 6 2.6.32-279.22.1.el6
- kernel-kdump RHEL 6 2.6.32-279.22.1.el6
- kernel-firmware RHEL 6 2.6.32-279.22.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-279.22.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-279.22.1.el6
- kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-279.22.1.el6
red hat advisories RHSA-2013:0223RHSA-2013:0566
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-4530 updated cvss 2.1
kernel: stack disclosure in binfmt_script load_script()
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-279.22.1.el6, kernel 2.6.32-279.22.1.el6, kernel-firmware 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) kernel 2.6.32-279.22.1.el6, python-perf 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-279.22.1.el6, kernel 2.6.32-279.22.1.el6, kernel-firmware 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) kernel 2.6.32-279.22.1.el6, python-perf 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-279.22.1.el6, kernel 2.6.32-279.22.1.el6, kernel-kdump 2.6.32-279.22.1.el6, kernel-firmware 2.6.32-279.22.1.el6, kernel-bootwrapper 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, +3 more Red Hat Enterprise Linux Server Optional (v. 6) kernel 2.6.32-279.22.1.el6, python-perf 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, kernel-debuginfo-common-ppc64 2.6.32-279.22.1.el6, kernel-debuginfo-common-s390x 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6fixed: vendor fix RHSA-2013:0223
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-279.22.1.el6, kernel 2.6.32-279.22.1.el6, kernel-firmware 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) kernel 2.6.32-279.22.1.el6, python-perf 2.6.32-279.22.1.el6, kernel-debuginfo-common-i686 2.6.32-279.22.1.el6, kernel-debuginfo-common-x86_64 2.6.32-279.22.1.el6 -
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.6.11-rt28.20.el6rt, mrg-rt-release 3.6.11-rt28.20.el6rt, kernel-rt-trace 3.6.11-rt28.20.el6rt, kernel-rt-vanilla 3.6.11-rt28.20.el6rt, kernel-rt-firmware 3.6.11-rt28.20.el6rt, kernel-rt-debuginfo-common-x86_64 3.6.11-rt28.20.el6rtfixed: vendor fix RHSA-2013:0566
-
Red Hat Enterprise Linux 5 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-41767)
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-41767 Linux Kernel (Ubuntu 11.10/12.04) - binfmt_script Stack Data Disclosure dos, 2014-01-14
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Technology feeds
References
- github.com /torvalds/linux/commit/b66c5984017533316fd1951770302649baf1aa33
-
rhn.redhat.com
/errata/RHSA-2013-0223.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-04/msg00018.html
vendor-advisory
-
openwall.com
/lists/oss-security/2012/10/19/3
mailing-list
- kernel.org /pub/linux/kernel/v3.x/ChangeLog-3.7.2
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=b66c5984017533316fd1951770302649baf1aa33
- bugzilla.redhat.com /show_bug.cgi?id=868285
Sources
- CVE List CVE-2012-4530
- NVD CVE-2012-4530
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.