php: incomplete CVE-2012-1823 fix - insecure wrapper
Published May 11, 2012
7.5
HIGHCVSS 2.0
EPSS 32.23%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
php
Not affected
Red Hat Enterprise Linux 5
php
Affected
Red Hat Enterprise Linux 5
php53
Affected
Red Hat Enterprise Linux 6
php
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Affected | n/a |
| Red Hat Enterprise Linux 6 | php | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The mitigation for CVE-2012-2335 is included in the following PHP updates for Red Hat Enterprise Linux 5 and 6, which also address CVE-2012-2336 (BZ#820708): https://rhn.redhat.com/errata/RHSA-2012-1045.html https://rhn.redhat.com/errata/RHSA-2012-1046.html https://rhn.redhat.com/errata/RHSA-2012-1047.html
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (43 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 32.23% (0.32226) | 98.27th | v5 (v2026.06.15) |
| Jun 15, 2026 | 32.54% (0.32542) | 98.11th | v5 (v2026.06.15) |
| Mar 4, 2026 | 16.52% (0.16520) | 94.77th | v4 (v2025.03.14) |
| Mar 1, 2026 | 6.89% (0.06894) | 91.26th | v4 (v2025.03.14) |
| Feb 15, 2026 | 16.52% (0.16520) | 94.74th | v4 (v2025.03.14) |
| Feb 4, 2026 | 20.58% (0.20579) | 95.42th | v4 (v2025.03.14) |
| Feb 1, 2026 | 8.48% (0.08481) | 92.16th | v4 (v2025.03.14) |
| Jan 4, 2026 | 20.58% (0.20579) | 95.38th | v4 (v2025.03.14) |
| Jan 1, 2026 | 8.48% (0.08481) | 92.12th | v4 (v2025.03.14) |
| Dec 4, 2025 | 20.58% (0.20579) | 95.35th | v4 (v2025.03.14) |
| Dec 1, 2025 | 8.48% (0.08481) | 92.05th | v4 (v2025.03.14) |
| Nov 4, 2025 | 20.58% (0.20579) | 95.33th | v4 (v2025.03.14) |
| Nov 1, 2025 | 8.48% (0.08481) | 91.99th | v4 (v2025.03.14) |
| Oct 4, 2025 | 20.58% (0.20579) | 95.37th | v4 (v2025.03.14) |
| Oct 1, 2025 | 8.48% (0.08481) | 92.04th | v4 (v2025.03.14) |
| Sep 15, 2025 | 20.83% (0.20831) | 95.40th | v4 (v2025.03.14) |
| Sep 5, 2025 | 23.20% (0.23204) | 95.73th | v4 (v2025.03.14) |
| Sep 1, 2025 | 7.21% (0.07213) | 91.30th | v4 (v2025.03.14) |
| Aug 4, 2025 | 23.20% (0.23204) | 95.70th | v4 (v2025.03.14) |
| Aug 1, 2025 | 7.21% (0.07213) | 91.27th | v4 (v2025.03.14) |
| Jul 30, 2025 | 23.20% (0.23204) | 95.70th | v4 (v2025.03.14) |
| Jul 4, 2025 | 28.33% (0.28333) | 96.28th | v4 (v2025.03.14) |
| Jul 1, 2025 | 9.35% (0.09348) | 92.42th | v4 (v2025.03.14) |
| Jun 4, 2025 | 28.33% (0.28333) | 96.23th | v4 (v2025.03.14) |
| Jun 1, 2025 | 9.35% (0.09348) | 92.37th | v4 (v2025.03.14) |
| May 5, 2025 | 28.33% (0.28333) | 96.19th | v4 (v2025.03.14) |
| May 1, 2025 | 9.35% (0.09348) | 92.35th | v4 (v2025.03.14) |
| Apr 27, 2025 | 28.33% (0.28333) | 96.18th | v4 (v2025.03.14) |
| Apr 20, 2025 | 33.38% (0.33375) | 96.62th | v4 (v2025.03.14) |
| Apr 19, 2025 | 13.62% (0.13621) | 93.82th | v4 (v2025.03.14) |
| Apr 15, 2025 | 33.38% (0.33375) | 96.61th | v4 (v2025.03.14) |
| Apr 13, 2025 | 13.62% (0.13621) | 93.65th | v4 (v2025.03.14) |
| Mar 30, 2025 | 33.38% (0.33375) | 96.55th | v4 (v2025.03.14) |
| Mar 29, 2025 | 37.18% (0.37182) | 95.66th | v4 (v2025.03.14) |
| Mar 21, 2025 | 33.38% (0.33375) | 96.57th | v4 (v2025.03.14) |
| Mar 20, 2025 | 13.62% (0.13621) | 93.72th | v4 (v2025.03.14) |
| Mar 19, 2025 | 33.38% (0.33375) | 96.38th | v4 (v2025.03.14) |
| Mar 17, 2025 | 28.63% (0.28634) | 96.13th | v4 (v2025.03.14) |
| Dec 17, 2024 | 17.80% (0.17797) | 96.13th | v3 (v2023.03.01) |
| Mar 7, 2023 | 14.25% (0.14254) | 94.79th | v3 (v2023.03.01) |
| Mar 6, 2023 | 11.27% (0.11270) | 95.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 11.27% (0.11270) | 94.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 11.27% (0.11270) | 88.71th | v2 (v2022.01.01) |
References (14)
- http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/ x_refsource_MISC
- http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569 x_refsource_MISC
- http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/49014 third-party-advisoryx_refsource_SECUNIA
- http://www.kb.cert.org/vuls/id/520827 third-party-advisoryx_refsource_CERT-VNUS Government Resource
- http://www.php.net/archive/2012.php#id2012-05-06-1 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2012-2335 Vendor Advisory
- https://bugs.php.net/bug.php?id=61910 x_refsource_MISCVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=820874 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75652 vdb-entryx_refsource_XF
- https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862 vendor-advisoryx_refsource_HP
- https://nvd.nist.gov/vuln/detail/CVE-2012-2335
- https://www.cve.org/CVERecord?id=CVE-2012-2335
Change history (0)
No recorded changes yet.