Process memory corruption via wrapped allocation size
Published Sep 11, 2026 · Updated Sep 11, 2026
Out-of-bounds write in PCRE2 before 10.48 allows remote attackers to corrupt process memory through a crafted 32-bit pattern. pcre2_compile_32 converts a compiled length of 2^30 code units to bytes with CU2BYTES, wraps the calculation, allocates an undersized heap buffer, and writes beyond it. Exploitation requires a 32-bit process, the 32-bit code-unit library, and a carefully formed attacker-controlled pattern; a successful write can crash or further compromise the hosting process.
Summary
What happened
Out-of-bounds write in PCRE2 before 10.48 allows remote attackers to corrupt process memory through a crafted 32-bit pattern. pcre2_compile_32 converts a compiled length of 2^30 code units to bytes with CU2BYTES, wraps the calculation, allocates an undersized heap buffer, and writes beyond it. Exploitation requires a 32-bit process, the 32-bit code-unit library, and a carefully formed attacker-controlled pattern; a successful write can crash or further compromise the hosting process.
The record
- CVE
- CVE-2026-89158
- Published
- Sep 11, 2026
- Updated
- Sep 11, 2026
- Vendor
- PCRE2 Project
- Product
- PCRE2
- Classifications
- CWE-190, CWE-787
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 11, 2026CVE publishedPublication date reported by the CVE source.
- Sep 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <10.48
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- OSS-Fuzz testcase 5127933625958400proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo