9.1

CVE-2025-58050: PCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCS

Analyzed
AliasesALPINE-CVE-2025-58050SUSE-SU-2026:21094-1SUSE-SU-2026:21172-1
Published 27-08-2025Last modified 27-08-2025

Vulnerability summary

CVE-2025-58050 is a critical (CVSS 9.1) Heap-based Buffer Overflow vulnerability in pcre pcre2. EPSS estimates a 0.98% chance of exploitation in the next 30 days, higher than 63.4% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.98%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 27-08-2025
    PublishedVulnerability first disclosed.
  2. 27-08-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.98%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 0.86% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Pcre2

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse3 products
  • pcre2&distro=SUSE Linux Enterprise Server 16.0< 10.45-160000.3.1
  • pcre2&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 10.45-160000.3.1
  • pcre2&distro=SUSE Linux Micro 6.2< 10.45-160000.3.1
Opensuse2 products
  • pcre2&distro=openSUSE Leap 16.0< 10.45-160000.3.1
  • pcre2&distro=openSUSE Tumbleweed< 10.46-1.1
Alpine1 product
  • pcre2< 10.46-r0
Debian1 product
  • pcre2< 10.46-1~deb13u1 | < 10.46-1
Pcre1 product
Pcre2project1 product
PyPI1 product
  • pcre2≤ 10.45
Ubuntu1 product
  • pcre2< 10.45-1ubuntu0.1

8 vendors · 11 products

References

12 links
Show all 12 references