regex: heap overflow in regcomp() on 32-bit architectures
Published Mar 30, 2015
6.8
MEDIUMCVSS 2.0
EPSS 8.88%
Description
Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library (aka rxspencer) alpha3.8.g5 on 32-bit platforms, as used in NetBSD through 6.1.5 and other products, might allow context-dependent attackers to execute arbitrary code via a large regular expression that leads to a heap-based buffer overflow.
Affected products
No data.
Configuration 1
- 3.8.g5
Configuration 2
- 10.04
- 12.04
- 14.04
- 14.10
- 15.04
- 7.0
- 8.0
- 13.1
- 13.2
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-0:2.0-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-pecl-zendopcache-0:7.0.4-3.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-0:2.0-1.el7
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-2.el7
Fixed · RHSA-2015:1053
Red Hat Enterprise Linux 5
mysql
Will not fix
Red Hat Enterprise Linux 5
mysql51-mysql
Will not fix
Red Hat Enterprise Linux 5
mysql55-mysql
Will not fix
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
mesa-private-llvm
Not affected
Red Hat Enterprise Linux 6
mysql
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
mariadb
Will not fix
Red Hat Enterprise Linux 7
mesa-private-llvm
Not affected
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Software Collections
mariadb55-mariadb
Will not fix
Red Hat Software Collections
mysql55-mysql
Will not fix
Red Hat Software Collections
php54-php
Affected
Red Hat Software Collections
php55-php
Affected
Red Hat Software Collections
rh-mariadb100-mariadb
Will not fix
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-0:2.0-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-pecl-zendopcache-0:7.0.4-3.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-0:2.0-1.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-2.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Enterprise Linux 5 | mysql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | mysql51-mysql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | mysql55-mysql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | mesa-private-llvm | Not affected | n/a |
| Red Hat Enterprise Linux 6 | mysql | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | mariadb | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | mesa-private-llvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Software Collections | mariadb55-mariadb | Will not fix | n/a |
| Red Hat Software Collections | mysql55-mysql | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Affected | n/a |
| Red Hat Software Collections | php55-php | Affected | n/a |
| Red Hat Software Collections | rh-mariadb100-mariadb | Will not fix | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | 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.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/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 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (32 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.88% (0.08883) | 95.08th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.37% (0.08370) | 94.23th | v5 (v2026.06.15) |
| Jun 12, 2026 | 20.16% (0.20163) | 95.65th | v4 (v2025.03.14) |
| May 24, 2026 | 22.42% (0.22421) | 95.91th | v4 (v2025.03.14) |
| Apr 29, 2026 | 32.92% (0.32919) | 96.91th | v4 (v2025.03.14) |
| Mar 26, 2026 | 28.66% (0.28664) | 96.50th | v4 (v2025.03.14) |
| Mar 13, 2026 | 31.02% (0.31019) | 96.67th | v4 (v2025.03.14) |
| Mar 8, 2026 | 27.62% (0.27615) | 96.34th | v4 (v2025.03.14) |
| Mar 6, 2026 | 39.18% (0.39178) | 97.20th | v4 (v2025.03.14) |
| Dec 28, 2025 | 30.48% (0.30482) | 96.54th | v4 (v2025.03.14) |
| Dec 27, 2025 | 28.68% (0.28683) | 96.40th | v4 (v2025.03.14) |
| Oct 28, 2025 | 30.48% (0.30482) | 96.47th | v4 (v2025.03.14) |
| Oct 27, 2025 | 28.68% (0.28683) | 96.32th | v4 (v2025.03.14) |
| Oct 17, 2025 | 30.48% (0.30482) | 96.46th | v4 (v2025.03.14) |
| Sep 11, 2025 | 28.68% (0.28683) | 96.38th | v4 (v2025.03.14) |
| Aug 21, 2025 | 20.92% (0.20920) | 95.41th | v4 (v2025.03.14) |
| Aug 20, 2025 | 26.04% (0.26040) | 96.07th | v4 (v2025.03.14) |
| Jun 9, 2025 | 37.28% (0.37283) | 96.96th | v4 (v2025.03.14) |
| May 30, 2025 | 34.73% (0.34726) | 96.79th | v4 (v2025.03.14) |
| Mar 30, 2025 | 42.15% (0.42152) | 97.17th | v4 (v2025.03.14) |
| Mar 29, 2025 | 51.43% (0.51428) | 96.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 42.15% (0.42152) | 97.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.56% (0.00560) | 78.40th | v3 (v2023.03.01) |
| Mar 6, 2024 | 0.56% (0.00560) | 77.13th | v3 (v2023.03.01) |
| Dec 5, 2023 | 0.74% (0.00742) | 78.70th | v3 (v2023.03.01) |
| May 28, 2023 | 0.69% (0.00688) | 77.23th | v3 (v2023.03.01) |
| Apr 29, 2023 | 0.76% (0.00758) | 78.46th | v3 (v2023.03.01) |
| Mar 25, 2023 | 0.97% (0.00973) | 81.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.70% (0.00702) | 77.22th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.42% (0.04421) | 88.21th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.42% (0.04421) | 87.03th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.42% (0.04421) | 70.83th | v2 (v2022.01.01) |
References (25)
- http://blog.clamav.net/2015/04/clamav-0987-has-been-released.html x_refsource_CONFIRMThird Party Advisory
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00026.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00002.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2015-05/msg00024.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=143403519711434&w=2 vendor-advisoryx_refsource_HPMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2015/02/07/14 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://openwall.com/lists/oss-security/2015/03/11/8 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1053.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2015-1066.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2015/dsa-3195 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.kb.cert.org/vuls/id/695940 third-party-advisoryx_refsource_CERT-VNThird Party AdvisoryUS Government Resource
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/72611 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1031947 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2572-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- http://www.ubuntu.com/usn/USN-2594-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2015-2305 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1191049 Issue Tracking
- https://guidovranken.wordpress.com/2015/02/04/full-disclosure-heap-overflow-in-h-spencers-regex-library-on-32-bit-systems/ x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-2305
- https://support.apple.com/HT205267 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2015-2305
Change history (0)
No recorded changes yet.