CVE-2019-9023 An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expressi...
CriticalCVSS 9.8
EPSS 9.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue was discovered in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1. A number of heap-based buffer over-read instances are present in mbstring regular expression functions when supplied with invalid multibyte data. These occur in ext/mbstring/oniguruma/regcomp.c, ext/mbstring/oniguruma/regexec.c, ext/mbstring/oniguruma/regparse.c, ext/mbstring/oniguruma/enc/unicode.c, and ext/mbstring/oniguruma/src/utf32_be.c when a multibyte regular expression pattern contains invalid multibyte sequences.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | < 5.6.40 | 5.6.40 |
| PHP | >= 7.0.0, < 7.1.26 | 7.1.26 |
| PHP | >= 7.2.0, < 7.2.14 | 7.2.14 |
| PHP | >= 7.3.0, < 7.3.1 | 7.3.1 |
| debian linux | = 9.0 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| netapp storage automation store | All versions | No fix listed |
| openSUSE leap | = 42.3 | No fix listed |
| alpine/php7(Alpine:v3.10) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.11) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.12) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.13) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.14) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.15) | < 7.2.14-r0 | 7.2.14-r0 |
| alpine/php7(Alpine:v3.8) | < 7.2.17-r0 | 7.2.17-r0 |
| alpine/php7(Alpine:v3.9) | < 7.2.14-r0 | 7.2.14-r0 |
References
- openSUSE-SU-2019:1256 third-party-advisory vendor-advisory
- openSUSE-SU-2019:1293 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:1572 vendor-advisory
- openSUSE-SU-2019:1573 vendor-advisory
- 107156 third-party-advisory vdb-entry
- RHSA-2019:2519 vendor-advisory
- RHSA-2019:3299 vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- bugs.php.net exploit issue-tracking patch vendor-advisory
- security.netapp.com patch third-party-advisory
- support.f5.com third-party-advisory
- USN-3902-1 third-party-advisory vendor-advisory
- USN-3902-2 third-party-advisory vendor-advisory
- DSA-4398 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory