In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur.
The product calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc().
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Pcre2 | Pcre | * | 10.48 (excluding) |
| Pcre2 | Pcre | 10.48-rc1 (including) | 10.48-rc1 (including) |
| Red Hat Hardened Images | RedHat | pcre2-main-10.48-0.1.hum1 | * |
| Pcre2 | Ubuntu | esm-infra/focal | * |
| Pcre2 | Ubuntu | jammy | * |
| Pcre2 | Ubuntu | noble | * |
| Pcre2 | Ubuntu | resolute | * |
| Pcre2 | Ubuntu | upstream | * |