Affected versions
Ubuntu18.04:LTS/php7.2
- Affected versions
- <7.2.24-0ubuntu0.18.04.17
- Fixed version
- 7.2.24-0ubuntu0.18.04.17
Ubuntu20.04:LTS/php7.4
- Affected versions
- <7.4.3-4ubuntu2.18
- Fixed version
- 7.4.3-4ubuntu2.18
Ubuntu22.04:LTS/php8.1
- Affected versions
- <8.1.2-1ubuntu2.11
- Fixed version
- 8.1.2-1ubuntu2.11
UbuntuPro:14.04:LTS/php5
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/php7.0
- Affected versions
- <7.0.33-0ubuntu0.16.04.16+esm5
- Fixed version
- 7.0.33-0ubuntu0.16.04.16+esm5
Description
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.

