Skip to content
Fencer Intel
high 7.5

CVE-2012-0830 in the critical feed json

The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request conta…

published 2012-02-06 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0856

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
29.8%
EPSS 29.8% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

Summary

The php_register_variable_ex function in php_variables.c in PHP 5.3.9 allows remote attackers to execute arbitrary code via a request containing a large number of variables, related to improper handling of array variables. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-4885.

Patch / fix

  • php RHEL 4 4.3.9-3.36
  • php RHEL 5 5.1.6-27.el5_7.5
  • php RHEL 6 5.3.3-3.el6_2.6
  • php-gd RHEL 4 4.3.9-3.36
  • php-gd RHEL 5 5.1.6-27.el5_7.5
  • php-gd RHEL 6 5.3.3-3.el6_2.6
  • php-cli RHEL 5 5.1.6-27.el5_7.5
  • php-cli RHEL 6 5.3.3-3.el6_2.6

red hat advisories RHSA-2012:0093RHSA-2012:0092

  • php7 openSUSE Tumbleweed 7.0.14-1.4
  • php5 openSUSE Tumbleweed 5.6.28-1.1
  • php8 openSUSE Tumbleweed 8.0.11-1.1

opensuse advisories openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1

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-0830 updated cvss 7.5

php: remote code exec flaw introduced in the CVE-2011-4885 hashdos fix

  • Red Hat Enterprise Linux (v. 5 server) php 5.1.6-27.el5_7.5, php53 5.3.3-1.el5_7.6, php-gd 5.1.6-27.el5_7.5, php-cli 5.1.6-27.el5_7.5, php-dba 5.1.6-27.el5_7.5, php-pdo 5.1.6-27.el5_7.5, +32 more Red Hat Enterprise Linux AS version 4 php 4.3.9-3.36, php-gd 4.3.9-3.36, php-imap 4.3.9-3.36, php-ldap 4.3.9-3.36, php-odbc 4.3.9-3.36, php-pear 4.3.9-3.36, +7 more Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-3.el6_2.6, php-gd 5.3.3-3.el6_2.6, php-cli 5.3.3-3.el6_2.6, php-dba 5.3.3-3.el6_2.6, php-pdo 5.3.3-3.el6_2.6, php-xml 5.3.3-3.el6_2.6, +19 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.36, php-gd 4.3.9-3.36, php-imap 4.3.9-3.36, php-ldap 4.3.9-3.36, php-odbc 4.3.9-3.36, php-pear 4.3.9-3.36, +7 more Red Hat Enterprise Linux ES version 4 php 4.3.9-3.36, php-gd 4.3.9-3.36, php-imap 4.3.9-3.36, php-ldap 4.3.9-3.36, php-odbc 4.3.9-3.36, php-pear 4.3.9-3.36, +7 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-3.el6_2.6, php-cli 5.3.3-3.el6_2.6, php-common 5.3.3-3.el6_2.6
    +7 more products
    Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-3.el6_2.6, php-gd 5.3.3-3.el6_2.6, php-dba 5.3.3-3.el6_2.6, php-pdo 5.3.3-3.el6_2.6, php-xml 5.3.3-3.el6_2.6, php-zts 5.3.3-3.el6_2.6, +17 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-3.el6_2.6, php-gd 5.3.3-3.el6_2.6, php-cli 5.3.3-3.el6_2.6, php-pdo 5.3.3-3.el6_2.6, php-xml 5.3.3-3.el6_2.6, php-ldap 5.3.3-3.el6_2.6, +6 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-3.el6_2.6, php-dba 5.3.3-3.el6_2.6, php-zts 5.3.3-3.el6_2.6, php-imap 5.3.3-3.el6_2.6, php-intl 5.3.3-3.el6_2.6, php-snmp 5.3.3-3.el6_2.6, +8 more Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-3.el6_2.6, php-gd 5.3.3-3.el6_2.6, php-cli 5.3.3-3.el6_2.6, php-pdo 5.3.3-3.el6_2.6, php-xml 5.3.3-3.el6_2.6, php-ldap 5.3.3-3.el6_2.6, +6 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-3.el6_2.6, php-dba 5.3.3-3.el6_2.6, php-zts 5.3.3-3.el6_2.6, php-imap 5.3.3-3.el6_2.6, php-intl 5.3.3-3.el6_2.6, php-snmp 5.3.3-3.el6_2.6, +8 more Red Hat Enterprise Linux WS version 4 php 4.3.9-3.36, php-gd 4.3.9-3.36, php-imap 4.3.9-3.36, php-ldap 4.3.9-3.36, php-odbc 4.3.9-3.36, php-pear 4.3.9-3.36, +7 more Red Hat RHEL Desktop Workstation (v. 5 client) php 5.1.6-27.el5_7.5, php53 5.3.3-1.el5_7.6, php-gd 5.1.6-27.el5_7.5, php-cli 5.1.6-27.el5_7.5, php-dba 5.1.6-27.el5_7.5, php-pdo 5.1.6-27.el5_7.5, +32 more
    fixed: vendor fix RHSA-2012:0093

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

  1. First public exploit (EDB-18460)
  2. Published

Exploit prediction

29.80% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-18460 PHP 5.4.0RC6 (x64) - Denial of Service dos, 2012-02-04
  • thexploit.com http://thexploit.com/sec/critical-php-remote-vulnerability-introduced-in-fix-for-php-hashtable-collision-dos/ referenced PoC, tagged "exploit" by a source, unverified
  • securityfocus.com http://www.securityfocus.com/bid/51830 referenced PoC, tagged "exploit" by a source, unverified
  • gist.github.com https://gist.github.com/1725489 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors
Technology feeds

References

Sources

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.