Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
PCRE2Project pcre2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PCRE2是PCRE2Project开源的一组 C 函数。使用与 Perl5 相同的语法和语义来实现正则表达式模式匹配。 PCRE2 10.45版本存在安全漏洞,该漏洞源于处理(scs:...)和(ACCEPT)时存在堆缓冲区溢出读取,可能导致信息泄露。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.80% · P54

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-58050

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCS
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5
Vulnerability Title
PCRE2 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PCRE2是PCRE2Project开源的一组 C 函数。使用与 Perl5 相同的语法和语义来实现正则表达式模式匹配。 PCRE2 10.45版本存在安全漏洞,该漏洞源于处理(*scs:...)和(*ACCEPT)时存在堆缓冲区溢出读取,可能导致信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PCRE2Project pcre2 = 10.45 -

II. Public POCs for CVE-2025-58050

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-58050

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-58050

No comments yet


Leave a comment