All vulnerabilities

Servers and applications

CVE-2016-4540

The grapheme_stripos function in ext/intl/grapheme/grapheme_string.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset.

Severity
Critical 9.8
Published
22 May 2016
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 7.0.5
  • Version 7.0.4
  • Version 7.0.3
  • Version 7.0.2
All 28 release lines
  • Every version up to 5.5.34
  • Version 5.6.0
  • Version 5.6.1
  • Version 5.6.2
  • Version 5.6.3
  • Version 5.6.4
  • Version 5.6.5
  • Version 5.6.6
  • Version 5.6.7
  • Version 5.6.8
  • Version 5.6.9
  • Version 5.6.10
  • Version 5.6.11
  • Version 5.6.12
  • Version 5.6.13
  • Version 5.6.14
  • Version 5.6.15
  • Version 5.6.16
  • Version 5.6.17
  • Version 5.6.18
  • Version 5.6.19
  • Version 5.6.20
  • Version 7.0.0
  • Version 7.0.1
  • Version 7.0.2
  • Version 7.0.3
  • Version 7.0.4
  • Version 7.0.5

References

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