php: incomplete CVE-2012-1823 fix - missing filtering of -T and -h
Published May 11, 2012
5.0
MEDIUMCVSS 2.0
EPSS 50.34%
Description
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Affected products
No data.
- ≤ 5.3.12
- 1.0
- 2.0
- 2.0b10
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 4.4.7
- 4.4.8
- 4.4.9
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
- 5.2.14
- 5.2.15
- 5.2.16
- 5.2.17
- 5.3.0
- 5.3.1
- 5.3.2
- 5.3.3
- 5.3.4
- 5.3.5
- 5.3.6
- 5.3.7
- 5.3.8
- 5.3.9
- 5.3.10
- 5.3.11
- 5.4.0
- 5.4.0
- 5.4.1
- 5.4.2
No data.
Red Hat Enterprise Linux 5
php-0:5.1.6-39.el5_8
Fixed · RHSA-2012:1045
Red Hat Enterprise Linux 5
php53-0:5.3.3-13.el5_8
Fixed · RHSA-2012:1047
Red Hat Enterprise Linux 6
php-0:5.3.3-14.el6_3
Fixed · RHSA-2012:1046
Red Hat Enterprise Linux 4
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php-0:5.1.6-39.el5_8 | Fixed | RHSA-2012:1045 |
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-13.el5_8 | Fixed | RHSA-2012:1047 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-14.el6_3 | Fixed | RHSA-2012:1046 |
| Red Hat Enterprise Linux 4 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:N/I:N/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 (38 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 50.34% (0.50337) | 98.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 50.72% (0.50723) | 98.78th | v5 (v2026.06.15) |
| Apr 2, 2026 | 47.33% (0.47326) | 97.68th | v4 (v2025.03.14) |
| Mar 4, 2026 | 52.91% (0.52910) | 97.89th | v4 (v2025.03.14) |
| Mar 1, 2026 | 51.78% (0.51779) | 97.86th | v4 (v2025.03.14) |
| Feb 28, 2026 | 52.91% (0.52910) | 97.89th | v4 (v2025.03.14) |
| Feb 17, 2026 | 41.95% (0.41954) | 97.33th | v4 (v2025.03.14) |
| Feb 16, 2026 | 37.81% (0.37814) | 97.10th | v4 (v2025.03.14) |
| Feb 15, 2026 | 15.60% (0.15597) | 94.52th | v4 (v2025.03.14) |
| Feb 4, 2026 | 9.80% (0.09797) | 92.76th | v4 (v2025.03.14) |
| Feb 1, 2026 | 10.94% (0.10938) | 93.25th | v4 (v2025.03.14) |
| Jan 10, 2026 | 9.80% (0.09797) | 92.72th | v4 (v2025.03.14) |
| Oct 16, 2025 | 8.26% (0.08259) | 91.81th | v4 (v2025.03.14) |
| Oct 4, 2025 | 11.07% (0.11069) | 93.16th | v4 (v2025.03.14) |
| Oct 1, 2025 | 12.14% (0.12136) | 93.59th | v4 (v2025.03.14) |
| Apr 27, 2025 | 10.18% (0.10185) | 92.66th | v4 (v2025.03.14) |
| Apr 20, 2025 | 18.42% (0.18422) | 94.83th | v4 (v2025.03.14) |
| Apr 19, 2025 | 20.00% (0.20002) | 95.09th | v4 (v2025.03.14) |
| Apr 16, 2025 | 18.42% (0.18422) | 94.82th | v4 (v2025.03.14) |
| Apr 15, 2025 | 20.00% (0.20002) | 95.08th | v4 (v2025.03.14) |
| Apr 2, 2025 | 18.42% (0.18422) | 94.72th | v4 (v2025.03.14) |
| Apr 1, 2025 | 20.00% (0.20002) | 95.00th | v4 (v2025.03.14) |
| Mar 30, 2025 | 18.42% (0.18422) | 94.71th | v4 (v2025.03.14) |
| Mar 29, 2025 | 20.99% (0.20993) | 92.88th | v4 (v2025.03.14) |
| Mar 26, 2025 | 18.42% (0.18422) | 94.65th | v4 (v2025.03.14) |
| Mar 25, 2025 | 20.00% (0.20002) | 94.96th | v4 (v2025.03.14) |
| Mar 22, 2025 | 18.42% (0.18422) | 94.76th | v4 (v2025.03.14) |
| Mar 19, 2025 | 20.00% (0.20002) | 94.77th | v4 (v2025.03.14) |
| Mar 17, 2025 | 18.81% (0.18814) | 94.81th | v4 (v2025.03.14) |
| Dec 12, 2024 | 3.55% (0.03547) | 91.95th | v3 (v2023.03.01) |
| Feb 8, 2024 | 3.55% (0.03547) | 91.25th | v3 (v2023.03.01) |
| Nov 8, 2023 | 4.94% (0.04939) | 91.93th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.79% (0.03788) | 90.44th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.97% (0.01974) | 78.46th | v2 (v2022.01.01) |
| Feb 3, 2023 | 3.78% (0.03779) | 85.12th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
References (12)
- 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_SECUNIAVendor Advisory
- http://www.php.net/ChangeLog-5.php#5.4.3 x_refsource_CONFIRM
- http://www.php.net/archive/2012.php#id2012-05-08-1 x_refsource_CONFIRMVendor Advisory
- https://access.redhat.com/security/cve/CVE-2012-2336 Vendor Advisory
- https://bugs.php.net/bug.php?id=61910 x_refsource_CONFIRMVendor Advisory
- https://bugs.php.net/patch-display.php?bug_id=61910&patch=CVE-2012-1823.patch&revision=1336251592&display=1 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=820708 Issue Tracking
- 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-2336
- https://www.cve.org/CVERecord?id=CVE-2012-2336
Change history (0)
No recorded changes yet.