CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Pcre

CVE-2025-58050
Pcre2 vulnerability

The PCRE2 library is a set of C functions that implement regular expression pattern matching. In version 10.45, a heap-buffer-overflow read vulnerability exists in the PCRE2 regular expression matching engine, specifically within the handling of the (*scs:...) (Scan SubString) verb when combined with (*ACCEPT) in src/pcre2_match.c. This vulnerability may potentially lead to information disclosure if the out-of-bounds data read during the memcmp affects the final match result in a way observable by the attacker. This issue has been resolved in version 10.46.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Pcre2. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pcre2 runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Pcre products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.