CVE-2019-9023
Reported by mitre · Published February 22, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php | php | 7.3.1, 7.2.14, 7.1.26, 5.6.40 |
| php7.0 | Ubuntu:16.04:LTS | 7.0.33-0ubuntu0.16.04.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | php7 | 0, 0 |
Timeline
- Feb 22, 2019 CVE Published
- Nov 9, 2020 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (13 in total, the first dated here)
- Sep 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-9023
vulnetix vdb fixes CVE-2019-9023
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-9023/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3902-2 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- x_refsource_MISC
- DSA-4398 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- USN-3902-1 vendor-advisoryx_refsource_UBUNTU
- 107156 vdb-entryx_refsource_BID
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- openSUSE-SU-2019:1256 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1293 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1572 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2019:1573 vendor-advisoryx_refsource_SUSE
- RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT