Out-of-bounds Read The advisory has been revoked - it doesn't affect any version of package pcre2  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-PCRE2-12301498
  • published31 Aug 2025
  • disclosed27 Aug 2025
  • creditGoogle Big Sleep

Introduced: 27 Aug 2025

CVE-2025-58050  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-125  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the regular expression matching engine due to missing boundary restoration in SCS. An attacker can cause a heap buffer over-read and potentially disclose sensitive information or cause a denial of service by supplying specially crafted regular expressions containing certain patterns such as a backreference (e.g., \2).

Note:

An attacker-controlled regex pattern is required, and it cannot be triggered by providing crafted subject (match) text. The (*ACCEPT) and (*scs:) pattern features must be used together.