Critical Security Flaw in pcre2 Package: Out-of-Bounds Write Vulnerabilities

pcre2 Updated 13 Oct 2026

Summary

12/10/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:81613: Important: pcre2 security update. Affects pcre2 versions < 10.32-4.el8_10. Fixed in 10.32-4.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The pcre2 package is a modern implementation of the Perl Compatible Regular Expressions library, widely used for pattern matching in various programming environments. It supports complex regular expressions with Perl-like syntax and semantics, making it a powerful tool for developers. However, recent security assessments have revealed multiple vulnerabilities that could lead to severe security risks, including arbitrary code execution.

Vulnerability Detail

The vulnerabilities in the pcre2 package stem from out-of-bounds write issues that can be exploited through crafted regular expressions. Specifically, these vulnerabilities allow attackers to execute arbitrary code, potentially compromising the integrity and confidentiality of the system. The identified CVEs include CVE-2026-86145, CVE-2026-89157, CVE-2026-89158, and CVE-2026-103111, each detailing different scenarios where the vulnerabilities can be triggered, such as through large pattern inputs or integer overflows on 32-bit platforms.

How To Fix

Minimum fixed version

10.32-4.el8_10

This is the first release that contains the fix.

sudo dnf update pcre2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, avoid using untrusted or user-supplied regular expressions until the package is updated. Implement input validation to ensure that regular expressions are safe before processing them.

Conclusion

The pcre2 package has critical vulnerabilities that can lead to severe security risks, including arbitrary code execution. It is crucial to update to the latest patched version to protect your systems. For real-time monitoring of open-source vulnerabilities, consider using Vulert, which can alert you to potential issues without requiring code access.

See every vulnerability recorded for pcre2 →

Share this vulnerability

FAQ

The vulnerabilities are primarily out-of-bounds write issues that can lead to arbitrary code execution when processing crafted regular expressions.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The associated CVEs are CVE-2026-103111, CVE-2026-86145, CVE-2026-89157, and CVE-2026-89158, each detailing specific exploitation scenarios.

Yes, a patch is available in version 10.32-4.el8_10 of the pcre2 package. It is recommended to update to this version.

If immediate updates are not feasible, avoid processing untrusted regular expressions and implement strict input validation as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for pcre2.

How To Fix

Minimum fixed version

10.32-4.el8_10

This is the first release that contains the fix.

sudo dnf update pcre2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback