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.
History

Fri, 29 Aug 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'}

threat_severity

Moderate


Wed, 27 Aug 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 Aug 2025 19:00:00 +0000

Type Values Removed Values Added
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.
Title PCRE2: heap-buffer-overflow read in match_ref due to missing boundary restoration in SCS
Weaknesses CWE-122
CWE-125
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-08-27T19:14:38.145Z

Reserved: 2025-08-22T14:30:32.221Z

Link: CVE-2025-58050

cve-icon Vulnrichment

Updated: 2025-08-27T18:57:33.716Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-27T19:15:37.560

Modified: 2025-08-29T16:24:09.860

Link: CVE-2025-58050

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-08-27T18:47:35Z

Links: CVE-2025-58050 - Bugzilla

cve-icon OpenCVE Enrichment

No data.