CVE-2012-2335

high
Published 2012-05-11 · Modified 2026-04-29
CVSS v3
CVSS v2
7.5
VIR risk
7.5

Description

php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — https://bugs.php.net/bug.php?id=61910

Application impact

VendorProductVersionsFixed
php phpphp5.3.12
php phpphp5.4.2

References

CWEs

CWE-264

Verify integrity in audit chain (admin only). AS-IS.