Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2012-1823

99
FAUCET Score

CVE-2012-1823 is a critical remote code execution vulnerability affecting PHP versions before 5.3.12 and 5.4.2 when configured as a CGI script. It allows attackers to execute arbitrary code by injecting command-line options into query strings lacking an equals sign. This vulnerability has a CVSS score of 9.8 (CRITICAL) due to its network-based attack vector, low complexity, and complete compromise potential. It is actively exploited in the wild, with multiple public exploits, Metasploit modules, and extensive community discussion, indicating widespread awareness and potential for attack.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.3.12CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.4.0, < 5.4.2CPE matchmatch criteria
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
39CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
40CPE matchmatch criteria
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
100.00%
Probability of exploitation in next 30 days
EPSS Percentile
100.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
Added to KEV · Mar 25, 2022
Metasploit: PHP CGI Argument Injection · May 3, 2012
Nuclei: CVE-2012-1823 · Jul 20, 2021
ExploitDB: EDB-29316 · Oct 31, 2013
This CVE's current EPSS score of 1.0000 is in the 100th percentile among its peer group of 36,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (8)

redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: php-0:5.1.6-34.el5_8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: php53-0:5.3.3-7.el5_8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 5.3 Long LifeFixed in: php-0:5.1.6-23.3.el5_3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 5.6 EUS - Server OnlyFixed in: php-0:5.1.6-27.el5_6.4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 5.6 EUS - Server OnlyFixed in: php53-0:5.3.3-1.el5_6.2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: php-0:5.3.3-3.el6_2.8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6.0 EUS - Server OnlyFixed in: php-0:5.3.2-6.el6_0.2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 6.1 EUS - Server OnlyFixed in: php-0:5.3.3-3.el6_1.4
View patch

Vendor Advisories (1)

redhatCVE-2012-1823Critical

php: command line arguments injection when run in CGI mode (VU#520827)

May 3, 2012

References

cisa.gov / known-exploited-vulnerabilities-catalog
US Government Resource
lists.fedoraproject.org / archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B
Mailing ListRelease Notes
eindbazen.net / 2012/05/php-cgi-advisory-cve-2012-1823
Broken LinkExploit
h20000.www2.hp.com / bizsupport/TechSupport/Document.jsp
Broken Link
lists.apple.com / archives/security-announce/2012/Sep/msg00004.html
Mailing ListThird Party Advisory
lists.opensuse.org / opensuse-security-announce/2012-05/msg00002.html
Mailing ListThird Party Advisory
lists.opensuse.org / opensuse-security-announce/2012-05/msg00007.html
Mailing ListThird Party Advisory
lists.opensuse.org / opensuse-security-announce/2012-05/msg00011.html
Mailing ListThird Party Advisory
marc.info
Mailing List
rhn.redhat.com / errata/RHSA-2012-0546.html
Third Party Advisory
rhn.redhat.com / errata/RHSA-2012-0547.html
Third Party Advisory
rhn.redhat.com / errata/RHSA-2012-0568.html
Third Party Advisory
rhn.redhat.com / errata/RHSA-2012-0569.html
Third Party Advisory
rhn.redhat.com / errata/RHSA-2012-0570.html
Third Party Advisory
bugs.php.net / bug.php
ExploitPatch
bugs.php.net / patch-display.php
Patch
secunia.com / advisories/49014
Broken Link
secunia.com / advisories/49065
Broken Link
secunia.com / advisories/49085
Broken Link
secunia.com / advisories/49087
Broken Link
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B
Mailing ListRelease Notes
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK
Mailing ListRelease Notes
support.apple.com / kb/HT5501
Third Party Advisory
debian.org / security/2012/dsa-2465
Third Party Advisory
kb.cert.org / vuls/id/520827
ExploitThird Party AdvisoryUS Government Resource
kb.cert.org / vuls/id/673343
Third Party AdvisoryUS Government Resource
mandriva.com / security/advisories
Broken Link
openwall.com / lists/oss-security/2024/06/07/1
Mailing List
php.net / archive/2012.php
Release Notes
php.net / ChangeLog-5.php
ExploitPatchRelease Notes
securitytracker.com / id
Broken LinkThird Party AdvisoryVDB Entry