Skip to content
CVE Tracker
Back

CVE-2012-4388

The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks for %0D…

Medium4.3EPSS 4.2%
Published
Updated
Reserved
Assigned by
redhat

Description

The sapi_header_op function in main/SAPI.c in PHP 5.4.0RC2 through 5.4.0 does not properly determine a pointer during checks for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome. NOTE: this vulnerability exists because of an incorrect fix for CVE-2011-1398.

Scores

CVSS scores of CVE-2012-4388, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS (exploitation in 30 days)
4.2% · top 9.0% of all CVEs (2 Nov 2026)

Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.

Weakness

Affected products

  • n/a

    • affected n/a

References (11)

Sources

The same CVE in the primary databases and aggregators, to check against.

Record last updated .