PCRE PCRE2
PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-424
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
PCRE PCRE2
- >= 10.32, < 10.48
Fixed in 10.48
Mitigation
Upgrade PCRE2 to 10.48 or later.
References
- Vendor advisory github.com/PCRE2Project/pcre2/security/advisor…
- Release notes github.com/PCRE2Project/pcre2/releases/tag/pcr…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.