Heap Buffer Overflow in PCRE2 Library Affects Regular Expression Processing
CVE-2025-58050
6.9MEDIUM
What is CVE-2025-58050?
A heap-buffer-overflow read vulnerability has been identified in the PCRE2 library, specifically impacting the regular expression matching functionality. This issue arises during the handling of the (*scs:...) (Scan SubString) verb in conjunction with the (*ACCEPT) command. Exploiting this vulnerability may allow an attacker to read out-of-bounds data, which could potentially lead to information disclosure, observable through the alteration of the final match result. The problem has been addressed in version 10.46, ensuring improved security for users.
Affected Version(s)
pcre2 = 10.45