UBUNTU-CVE-2026-86145: High severity ubuntu/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

5 affected components
ubuntu/pcre2*
ubuntu/pcre2*
ubuntu/pcre2*
ubuntu/pcre2*
ubuntu/pcre2*

Event History

Sep 5, 2026
CVE Published
via OSV·06:17 AM
Data Sourced
via OSV·06:17 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required to trigger this issue?

Exploitation requires either an attacker-controlled regular expression, or a recursive pattern used with a small heap limit. The heap limit can be set through the PCRE2 API.

2

Which PCRE2 matching interface is involved?

The out-of-bounds write occurs in pcre2_dfa_match, specifically when a cached workspace block is reused during recursive DFA matching.

3

Are applications using fixed, trusted regular expressions exposed?

The described attack condition requires attacker-controlled regular expressions, unless a recursive pattern is used together with a small API-configured heap limit. Applications that do not meet either condition are not described as triggering the issue.

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