OSV-2026-343 Heap-buffer-overflow in pcre2_compile_32
A heap buffer overflow in the PCRE2 library allows attackers to cause crashes or potentially execute arbitrary code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2026-343?
OSV-2026-343 is a memory corruption vulnerability in pcre2, published on 3 Mar 2026.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=488713937
Crash type: Heap-buffer-overflow WRITE 4
Crash state:
pcre2_compile_32
pcre2_fuzzsupport.c
Which versions are affected by OSV-2026-343?
1 open source package ship an affected version, including pcre2.
| Package | Affected | Fixed in |
|---|---|---|
pcre2 OSS-Fuzz | All versions | None |
How do I fix OSV-2026-343?
No fix has been published for OSV-2026-343 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2026-343 being exploited?
There is no known exploitation of OSV-2026-343 in the wild and no public exploit code.