All vulnerabilities

Servers and applications

CVE-2011-1398

The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check 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…

Severity
Medium 4.3
Published
30 Aug 2012
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
10% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

Description

The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check 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.

From NVD.

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.3.9
  • Version 5.3.8
  • Version 5.3.7
  • Version 5.3.6
All 11 release lines
  • Every version up to 5.3.10
  • Version 5.3.0
  • Version 5.3.1
  • Version 5.3.2
  • Version 5.3.3
  • Version 5.3.4
  • Version 5.3.5
  • Version 5.3.6
  • Version 5.3.7
  • Version 5.3.8
  • Version 5.3.9

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2011-1398
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2011-1398