Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-1823

published critical CVSS 3.1 · 9.8

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

Title from Red Hat VEX

Published
11 May 2012, 10:00:00 UTC
Updated
04 Nov 2025, 17:11:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated certcc
Debian squeeze php5 Advisory build 5.3.3-7+squeeze9 DSA-2465-1
Oracle Linux 6 phpi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Red Hat Enterprise Linux RHEL-5 phpi386 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Oracle Linux 6 phpx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-bcmathi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-bcmathx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-clii686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 6 php-clix86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-commoni686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-commonx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-dbai686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-dbax86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-develi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-develx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-embeddedi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-embeddedx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-enchanti686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-enchantx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-gdi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-gdx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-imapi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-imapx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-intli686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-intlx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-ldapi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-ldapx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-mbstringi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-mbstringx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-mysqli686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-mysqlx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-odbci686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-odbcx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pdoi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pdox86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pgsqli686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pgsqlx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-processi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-processx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pspelli686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-pspellx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-recodei686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-recodex86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-snmpi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-snmpx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-soapi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-soapx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-tidyi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-tidyx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-xmli686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-xmlx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-xmlrpci686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-xmlrpcx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-ztsi686 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Oracle Linux 6 php-ztsx86_64 Advisory build 0:5.3.3-3.el6_2.8 ELSA-2012-0546
Red Hat Enterprise Linux RHEL-5 phpi386 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpi386 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 phpia64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpia64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpia64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 phpppc Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpppc Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 phps390x Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phps390x Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 phpsrc Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpsrc Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpsrc Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 phpx86_64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpx86_64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 phpx86_64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-bcmathi386 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathi386 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathi386 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-bcmathia64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathia64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathia64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-bcmathppc Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathppc Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-bcmaths390x Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmaths390x Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-bcmathx86_64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathx86_64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-bcmathx86_64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-clii386 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clii386 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clii386 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-cliia64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-cliia64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-cliia64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-clippc Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clippc Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-clis390x Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clis390x Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-clix86_64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clix86_64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-clix86_64 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-commoni386 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-commoni386 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-commoni386 Advisory build 5.1.6-34.el5_8 RHSA-2012:0546
Red Hat Enterprise Linux RHEL-5 php-commonia64 Advisory build 5.1.6-23.3.el5_3 RHSA-2012:0568
Red Hat Enterprise Linux RHEL-5 php-commonia64 Advisory build 5.1.6-27.el5_6.4 RHSA-2012:0568

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, 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 execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.

en · certcc · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) certcc · cna

Weaknesses

2
  • n/a (certcc · cna)
  • CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') (CISA-ADP · adp)

References

31

Provider assertions

3

certcc · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
316259da66b0a52d02b582dd457489a4656966e0f61452c3ebcbde1f1eb5bb20
Ingested
23 Sep 2026, 07:39:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected