JLSEC-2026-1998: PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached...

Published Dec 2, 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

2 affected componentsFixes available
julia/openresty_jll>=1.29.203+0
julia/pcre2_jll>=10.34.0+0<10.48.0+0
10.48.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/PCRE2_jll to a version that resolves this vulnerability.

    Fixed in 10.48.0+0

Event History

Dec 2, 2026
Advisory Published
via OSV·07:14 PM
Data Sourced
via OSV·07:14 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to trigger this issue?

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

2

Which matching interface is affected?

The issue is in pcre2_dfa_match. It involves reuse of a cached workspace block in recursive DFA matching without a size check.

3

Which listed software components should be assessed?

Assess deployments using julia/openresty_jll or julia/pcre2_jll. The affected PCRE2 versions are those before 10.48.

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