php: fnmatch long pattern stack memory exhaustion (MOPS-2010-021)
Published May 12, 2010
5.0
MEDIUMCVSS 2.0
EPSS 3.01%
Description
Stack consumption vulnerability in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allows context-dependent attackers to cause a denial of service (PHP crash) via a crafted first argument to the fnmatch function, as demonstrated using a long string.
Affected products
No data.
Configuration 1
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
No data.
Red Hat Enterprise Linux 4
php-0:4.3.9-3.31
Fixed · RHSA-2010:0919
Red Hat Enterprise Linux 5
php-0:5.1.6-27.el5_5.3
Fixed · RHSA-2010:0919
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.31 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-27.el5_5.3 | Fixed | RHSA-2010:0919 |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue is not planned to be fixed in Red Hat Enterprise Linux 3 due to this product being in Production 3 of its maintenance life-cycle, where only qualified security errata of important and critical impact are addressed. For further information about the Errata Support Policy, visit: http://www.redhat.com/security/updates/errata
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:L/Au:N/C:N/I:N/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 1, 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 (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.01% (0.03012) | 86.95th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.01% (0.03012) | 85.63th | v5 (v2026.06.15) |
| Mar 17, 2025 | 2.06% (0.02060) | 82.69th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.59% (0.01593) | 87.88th | v3 (v2023.03.01) |
| May 17, 2024 | 1.59% (0.01593) | 87.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.59% (0.01593) | 85.34th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
References (14)
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=130331363227777&w=2 vendor-advisoryx_refsource_HP
- http://secunia.com/advisories/40860 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/42410 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2010/dsa-2089 vendor-advisoryx_refsource_DEBIAN
- http://www.php-security.org/2010/05/11/mops-2010-021-php-fnmatch-stack-exhaustion-vulnerability/index.html x_refsource_MISCExploit
- http://www.redhat.com/support/errata/RHSA-2010-0919.html vendor-advisoryx_refsource_REDHAT
- http://www.vupen.com/english/advisories/2010/3081 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2010-1917 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=617232 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/58585 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2010-1917
- https://www.cve.org/CVERecord?id=CVE-2010-1917
Change history (0)
No recorded changes yet.