CVE-2025-58050: PCRE2Project pcre2 · Out-of-bounds Read
Affects PCRE2Project pcre2Source CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · fixed in 10.46 : update PCRE2Project pcre2 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.46
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PCRE2Project pcre2 | Affected
| Fixed in– |
AI-suggested
European organizations should take the following specific mitigation steps: 1) Identify all software and services using PCRE2 version 10.45 by auditing software inventories, including indirect dependencies in container images and third-party libraries. 2) Prioritize upgrading to PCRE2 version 10.46 or later, which contains the fix for this vulnerability. 3) For software where immediate upgrade is not feasible, implement input validation and sanitization to restrict or block the use of complex regular expressions containing the (*scs:...) and (*ACCEPT) verbs, especially from untrusted sources. 4) Employ runtime application self-protection (RASP) or web application firewalls (WAFs) with custom rules to detect and block suspicious regular expression patterns that could trigger the vulnerability. 5) Monitor logs and network traffic for anomalous patterns indicative of exploitation attempts. 6) Coordinate with software vendors to ensure timely patching and receive security advisories. 7) Incorporate this vulnerability into incident response plans to quickly address any exploitation attempts.
Description
The PCRE2 library is a set of C functions that implement regular expression pattern matching. In version 10.45, a heap-buffer-overflow read vulnerability exists in the PCRE2 regular expression matching engine, specifically within the handling of the (*scs:...) (Scan SubString) verb when combined with (*ACCEPT) in src/pcre2_match.c. This vulnerability may potentially lead to information disclosure if the out-of-bounds data read during the memcmp affects the final match result in a way observable by the attacker. This issue has been resolved in version 10.46.