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).
The product does not sufficiently protect all possible paths that a user can take to access restricted functionality or resources.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Hardened Images | RedHat | pcre2-main-10.48-0.1.hum1 | * |
| Pcre2 | Ubuntu | jammy | * |
| Pcre2 | Ubuntu | upstream | * |