REDHAT-BUG-2528993: High severity PCRE2 PCRE2 vulnerability

Published Sep 5, 2026
·
Updated

PCRE2 before 10.48 allows a pcre2dfamatch 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).

Affected Software

1 affected component
PCRE2 PCRE2<10.48

Event History

Sep 5, 2026
Data Sourced
via Red Hat·05:21 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds write?

Exploitation requires an attacker-controlled regular expression. It can also occur with a recursive pattern when a small heap limit is configured through the API.

2

Are applications using only fixed, trusted regular expressions exposed?

The described attack condition requires attacker control of the regular expression, or a recursive pattern combined with a small API-configured heap limit. Applications that do not permit untrusted patterns and do not use that small-heap-limit scenario are not described as meeting the trigger conditions.

3

What can be done if an update cannot be applied immediately?

Avoid accepting regular expressions from untrusted users or other untrusted sources. Also avoid configuring a small heap limit through the API when processing recursive patterns.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203