CVE-2026-89157 Memory corruption in PCRE2

Medium 5.7 Published Updated

An out-of-bounds write in PCRE2 on 32-bit platforms allows attackers to cause memory corruption via large patterns, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-89157?

CVE-2026-89157 is a medium-severity memory corruption vulnerability in PCRE2, published on 11 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.

Weakness: CWE-190

Which versions are affected by CVE-2026-89157?

It affects 1 product.

Products include Pcre Pcre2.

How do I fix CVE-2026-89157?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-89157 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-89157 exists.

Sources

Also known as ALPINE-CVE-2026-89157, AZL-100059, AZL-101114, AZL-101748, AZL-101760, AZL-101811 and 9 more.

Is CVE-2026-89157 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free