php: Heap-based buffer over-read in mbstring regular expression functions
Published Feb 22, 2019
9.8
CRITICALCVSS 3.0
EPSS 9.32%
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
No data.
Configuration 1
Configuration 2
- 9.0
Configuration 3
- 12.04
- 14.04
- 16.04
Configuration 4
- n/a
No data.
Red Hat Enterprise Linux 8
php:7.2-8020020191108065827.2c7ca891
Fixed · RHSA-2020:1624
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Enterprise Linux 5
php
Out of support scope
Red Hat Enterprise Linux 6
php
Out of support scope
Red Hat Enterprise Linux 7
php
Fix deferred
Red Hat Software Collections
rh-php70-php
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.2-8020020191108065827.2c7ca891 | Fixed | RHSA-2020:1624 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Enterprise Linux 5 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | php | Fix deferred | n/a |
| Red Hat Software Collections | rh-php70-php | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (53 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 9.32% (0.09317) | 95.24th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.07% (0.09070) | 94.61th | v5 (v2026.06.15) |
| Apr 5, 2026 | 10.50% (0.10503) | 93.24th | v4 (v2025.03.14) |
| Mar 18, 2026 | 8.11% (0.08114) | 92.06th | v4 (v2025.03.14) |
| Mar 4, 2026 | 11.52% (0.11518) | 93.49th | v4 (v2025.03.14) |
| Mar 1, 2026 | 8.47% (0.08474) | 92.23th | v4 (v2025.03.14) |
| Feb 4, 2026 | 11.52% (0.11518) | 93.44th | v4 (v2025.03.14) |
| Feb 1, 2026 | 8.47% (0.08474) | 92.16th | v4 (v2025.03.14) |
| Jan 4, 2026 | 11.52% (0.11518) | 93.39th | v4 (v2025.03.14) |
| Jan 1, 2026 | 8.47% (0.08474) | 92.11th | v4 (v2025.03.14) |
| Dec 28, 2025 | 17.19% (0.17186) | 94.79th | v4 (v2025.03.14) |
| Dec 27, 2025 | 15.93% (0.15928) | 94.57th | v4 (v2025.03.14) |
| Dec 4, 2025 | 17.45% (0.17451) | 94.81th | v4 (v2025.03.14) |
| Dec 1, 2025 | 10.59% (0.10587) | 93.03th | v4 (v2025.03.14) |
| Nov 21, 2025 | 17.45% (0.17451) | 94.80th | v4 (v2025.03.14) |
| Nov 18, 2025 | 7.66% (0.07663) | 91.01th | v4 (v2025.03.14) |
| Nov 4, 2025 | 17.45% (0.17451) | 94.79th | v4 (v2025.03.14) |
| Nov 1, 2025 | 10.59% (0.10587) | 92.97th | v4 (v2025.03.14) |
| Oct 28, 2025 | 17.45% (0.17451) | 94.77th | v4 (v2025.03.14) |
| Oct 27, 2025 | 16.18% (0.16178) | 94.54th | v4 (v2025.03.14) |
| Oct 4, 2025 | 17.45% (0.17451) | 94.82th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.59% (0.10587) | 93.03th | v4 (v2025.03.14) |
| Sep 4, 2025 | 16.18% (0.16178) | 94.57th | v4 (v2025.03.14) |
| Sep 1, 2025 | 9.21% (0.09205) | 92.45th | v4 (v2025.03.14) |
| Aug 4, 2025 | 16.18% (0.16178) | 94.54th | v4 (v2025.03.14) |
| Aug 1, 2025 | 9.21% (0.09205) | 92.43th | v4 (v2025.03.14) |
| Jul 30, 2025 | 16.18% (0.16178) | 94.54th | v4 (v2025.03.14) |
| Jul 26, 2025 | 17.45% (0.17451) | 94.76th | v4 (v2025.03.14) |
| Jul 4, 2025 | 19.06% (0.19063) | 95.04th | v4 (v2025.03.14) |
| Jul 1, 2025 | 11.68% (0.11677) | 93.39th | v4 (v2025.03.14) |
| Jun 4, 2025 | 19.06% (0.19063) | 95.00th | v4 (v2025.03.14) |
| Jun 1, 2025 | 12.18% (0.12179) | 93.50th | v4 (v2025.03.14) |
| May 30, 2025 | 18.85% (0.18850) | 94.95th | v4 (v2025.03.14) |
| May 4, 2025 | 12.99% (0.12992) | 93.65th | v4 (v2025.03.14) |
| May 1, 2025 | 10.58% (0.10578) | 92.88th | v4 (v2025.03.14) |
| Apr 8, 2025 | 12.99% (0.12992) | 93.47th | v4 (v2025.03.14) |
| Mar 30, 2025 | 18.85% (0.18850) | 94.80th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.97% (0.19970) | 92.62th | v4 (v2025.03.14) |
| Mar 17, 2025 | 18.85% (0.18850) | 94.81th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.03% (0.01031) | 84.52th | v3 (v2023.03.01) |
| Jul 15, 2024 | 0.73% (0.00728) | 80.90th | v3 (v2023.03.01) |
| Feb 16, 2024 | 0.51% (0.00514) | 76.02th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.37% (0.00373) | 71.93th | v3 (v2023.03.01) |
| May 4, 2023 | 0.37% (0.00373) | 68.61th | v3 (v2023.03.01) |
| Apr 3, 2023 | 0.42% (0.00423) | 70.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00492) | 72.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 16.00% (0.16004) | 90.20th | v1 |
| Jan 6, 2022 | 16.00% (0.16004) | 90.09th | v1 |
| Sep 1, 2021 | 4.07% (0.04074) | 83.31th | v1 |
| Apr 14, 2021 | 4.07% (0.04074) | 0.00th | v1 |
References (23)
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html vendor-advisoryx_refsource_SUSE
- http://www.securityfocus.com/bid/107156 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-9023 Vendor Advisory
- https://bugs.php.net/bug.php?id=77370 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77371 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77381 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77382 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77385 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77394 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugs.php.net/bug.php?id=77418 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1685398 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2019-9023
- https://security.netapp.com/advisory/ntap-20190321-0001/ x_refsource_CONFIRMPatchThird Party Advisory
- https://support.f5.com/csp/article/K06372014 x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/3902-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3902-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9023
- https://www.debian.org/security/2019/dsa-4398 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.