Every CVE Search/ Get API key

CVE-2012-4530

The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly...

2.1 LowPublic exploitFix available

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.

Exploit likelihood

0.88%Down 1.2 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 2.1

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.

Record
CVE-2012-4530
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-4530
Updated
2026-11-02
EUVDEUVD-2012-4458 No score

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.

Record
EUVD-2012-4458
Updated
2026-11-03
GitHub AdvisoriesGHSA-6h9c-8q58-r73q No score

The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly...

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.

Record
GHSA-6h9c-8q58-r73q
Weakness
CWE-200
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-4530
Updated
2026-11-02
OSVDEBIAN-CVE-2012-4530 No score

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.

Record
DEBIAN-CVE-2012-4530
Updated
2026-11-02
OSVSUSE-SU-2015:0481-1 No score

Security update for Linux kernel

The SUSE Linux Enterprise 11 Service Pack 2 kernel was updated to fix a regression introduced by the previous update:

* scsi_dh_alua: Incorrect reference counting in the SCSI ALUA
  initialization code lead to system crashes on boot (bnc#858831).

As the update introducing the regression was marked security, this is also marked security even though this bug is not security relevant.

Record
SUSE-SU-2015:0481-1
Updated
2026-11-02
OSVSUSE-SU-2015:0652-1 No score

Security update for Kernel

The SUSE Linux Enterprise 11 SP1 Teradata kernel was updated to fix bugs and security issues.

Following security issues were fixed:

CVE-2011-1083: Limit the path length users can build using epoll() to avoid local attackers consuming lots of kernel CPU time.

CVE-2011-4086: Fixed a oops in jbd/jbd2 that could be caused by specific filesystem access patterns.

CVE-2011-4622: KVM: Prevent starting PIT timers in the absence of irqchip support.

CVE-2012-0045: KVM: Extend 'struct x86_emulate_ops' with 'get_cpuid' and fix missing checks in syscall emulation.

CVE-2012-0879: Fix io_context leak after clone with CLONE_IO.

CVE-2012-1090: Fixed a dentry refcount leak in the CIFS file system that could lead to a crash on unmount.

CVE-2012-1097: The regset common infrastructure assumed that regsets would always have .get and .set methods, but necessarily .active methods. Unfortunately people have since written regsets without .set method, so NULL pointer dereference attacks were possible.

Following non-security issues were fixed:

* SCSI inquiry doesn't return data on SLES 11-SP1 Xen VMs (bnc#745929).
* FC transport driver killing off the timers/work queues (bnc#734300).
* The driver ixgbevf doesn't work on newer SLES 11-SP1 kernels
  (bnc#752972).
* Pack sparsemem memmap sections closer together and in higher zones
  (bnc#743870).

Following feature was implemented:

* The megaraid_sas driver update to version 5.40-LSI (bnc#736813).

Security Issues:

* CVE-2011-1083
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1083>
* CVE-2011-4086
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4086>
* CVE-2011-4622
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4622>
* CVE-2012-0045
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0045>
* CVE-2012-0879
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0879>
* CVE-2012-1090
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1090>
* CVE-2012-1097
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1097>
Record
SUSE-SU-2015:0652-1
Updated
2026-11-02
OSVUBUNTU-CVE-2012-4530 No score

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.

Record
UBUNTU-CVE-2012-4530
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
linux
Debian:12
before 3.2.35-1
3.2.35-1
linux
Debian:13
before 3.2.35-1
3.2.35-1
linux
Debian:14
before 3.2.35-1
3.2.35-1
kernel
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
Show 74 moreShow less
Affected packages
PackageAffectedFixed
kernel-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-doc
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-firmware
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-headers
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-doc
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-firmware
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-headers
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-bootwrapper
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-ppc64
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-s390x
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-doc
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-firmware
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-headers
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-kdump
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-kdump-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-kdump-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-doc
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-firmware
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-headers
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
perf-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
python-perf
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.6.32-279.22.1.el6
0:2.6.32-279.22.1.el6
kernel-rt
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-debug
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-debug-debuginfo
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-debug-devel
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-debuginfo
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-debuginfo-common-x86_64
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-devel
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-doc
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-firmware
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-trace
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-trace-debuginfo
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-trace-devel
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-vanilla
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-vanilla-debuginfo
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
kernel-rt-vanilla-devel
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt
mrg-rt-release
Red Hat:enterprise_mrg:2:server:el6
From an advisory covering 4 CVEs
before 0:3.6.11-rt28.20.el6rt
0:3.6.11-rt28.20.el6rt

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBLinux Kernel (Ubuntu 11.10/12.04) - binfmt_script Stack Data Disclosure2014-01-14

History

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-4530 is a low vulnerability (CVSS 2.1) in Linux Kernel, published April 24, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.88%, the 59th percentile. Fixed in linux 3.2.35-1.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 1,698 references. The JSON record has them.

MoveEnter Open