Skip to main content
← All vulnerabilities
CVE-2023-0568

Array overrun in common path resolve code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.28, 8.1.16, 8.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • PHP Group PHP

    From 8.0.x · fixed in 8.0.28; From 8.1.x · fixed in 8.1.16; From 8.2.x · fixed in 8.2.3

References 2

bugs.php.net

security.netapp.com