CVE Tools

CVE-2025-58050

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

Published: Aug 27, 2025Updated: Sep 9, 2025 Sources: CVE List NVD BDUCWE-122
9.1CVSSCRITICAL

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 Vector Breakdown

AV:NAC:LPR:NUI:NS:UC:HI:NA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:NIntegrity
None
A:HAvailability
High

Weaknesses

Affected Products

pcreoss-projectOSS Librariesaka perl compatible regular expression library, pcre2
pcre2projectoss-projectOSS Librariesaka pcre2, pcre2project

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

MITRE ATT&CK

3 techniques
Collection
Initial Access
Privilege Escalation
View detailed technique mapping

References

and 2 more references View all →

Timeline

Published
Aug 27, 2025
Last Updated
Sep 9, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-58050 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows