Read the docs
TI-2025-35893 Aliases CVE-2025-58050

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

Priority HIGH 70CWE-122Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · None · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00862 58th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PCRE2Projectpcre2= 10.45—No fix listedCNA
  • pcre2 VendorPCRE2Project Affected = 10.45 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pcre:pcre2:10.45:*:*:*:*:*:*:*10.45VulnerablePCRE
  • cpe:2.3:a:pcre:pcre2:10.45:*:*:*:*:*:*:* Versions 10.45 Vulnerable ·PCRE

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 5 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58050

References

  • TI-2022-19872 Integer overflow vulnerability in pcre2test before 10.41 allows attackers to cause a… CVSS 3.1HIGH 7.5
  • TI-2026-60391 Integer overflow in PCRE2 CVSS 3.1HIGH 7.4
  • TI-2026-60393 Out-of-bounds read in PCRE2 CVSS 3.1MEDIUM 6.5
  • TI-2015-02839 Heap-based buffer overflow in PCRE 8.34 through 8.37 and PCRE2 10.10 allows remote… CVSS 3.1CRITICAL 9.8
  • TI-2016-02677 The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c… CVSS 3.0CRITICAL 9.8
  • TI-2017-06297 pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of service… CVSS 3.0CRITICAL 9.8
See all 16 →

Sources