CVE-2026-89160

pcre2: PCRE2: Denial of Service via out-of-bounds read during invalid UTF matching

Published Sep 11, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
PCRE2 before 10.48 has a pcre2_match out-of-bounds read during the PCRE2_MATCH_INVALID_UTF matching of an invalid UTF subject.

Analysis

AI-generated

Technical impact

An out‑of‑bounds read in the PCRE2 library occurs when the matching routine processes an invalid UTF‑8 subject string. The flaw allows a caller to read memory beyond the supplied buffer, potentially leaking sensitive data from the process. The vulnerability is classified as CWE‑125 and does not provide code execution, privilege escalation, or denial of service. The impact is limited to confidentiality because the attacker needs to supply a crafted string to the library.

Affected Systems

The affected product is the PCRE2 regular expression engine, version 10.47 and earlier. Any application that links against this library and enables the PCRE2_MATCH_INVALID_UTF option when working with input that may contain malformed UTF sequences is at risk. The vendor has released version 10.48 as the fixed build.

Risk and Exploitability

The CVSS score of 3.7 indicates low severity. The EPSS score is not available, and the vulnerability requires the attacker to supply a crafted UTF string to the matching function, which is not trivial, especially for non‑interactive use. The CVE is not listed in the CISA KEV catalog, suggesting no known active exploitation. The safest mitigational approach is applying the vendor patch.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the PCRE2 library to version 10.48 or later, as released by the vendor.
  • Investigate existing uses of the PCRE2_MATCH_INVALID_UTF flag in your code base and consider removing it if the input data can be validated to be well‑formed UTF‑8 before being passed to the matcher.
  • If an immediate library upgrade is not feasible, validate or sanitize all input strings to reject malformed UTF sequences before invoking PCRE2 functions.

Generated by OpenCVE AI on September 11, 2026 at 05:59 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8974-1 PCRE2 vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:pcre:pcre2:10.48:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Out‑of‑Bounds Read with Invalid UTF Input in PCRE2 pcre2: PCRE2: Denial of Service via out-of-bounds read during invalid UTF matching
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Title Out‑of‑Bounds Read with Invalid UTF Input in PCRE2
Type Values Removed Values Added
Description PCRE2 before 10.48 has a pcre2_match out-of-bounds read during the PCRE2_MATCH_INVALID_UTF matching of an invalid UTF subject.
First Time appeared Pcre
Pcre pcre2
Weaknesses CWE-125
CPEs cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*
Vendors & Products Pcre
Pcre pcre2
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 15, 2026, 3:37 PM
Reserved
Sep 11, 2026, 4:09 AM
Status
Analyzed
Published
Sep 11, 2026, 4:18 AM
Modified
Sep 16, 2026, 7:15 PM
Severity
Low
Public date
Sep 11, 2026, 4:09 AM