Vulnerabilities

Vulnerability · CVE-2026-86145

PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a

Published Sep 5, 2026 · catalog updated Oct 21, 2026 · PCRE2 before 10.48 allows

Check if you run it

No confirmed exploitation is on record for CVE-2026-86145. EPSS is 0.39%. Act only if a listed version of PCRE2 before 10.48 allows is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (PCRE2 before 10.48 allows).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High8.2
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.39%
Remediation
Advisory link
Affected products
Alpine:v3.21 pcre2 · Alpine:v3.22 pcre2 · Alpine:v3.23 pcre2 · Alpine:v3.24 pcre2

PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • Alpine:v3.21 pcre20 → 10.43-r1
  • Alpine:v3.22 pcre20 → 10.46-r1
  • Alpine:v3.23 pcre20 → 10.48-r0
  • Alpine:v3.24 pcre20 → 10.48-r0

How to fix CVE-2026-86145

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-86145. EPSS is 0.39%. Act only if a listed version of PCRE2 before 10.48 allows is installed.

Which versions are affected?

Compare what you have installed with 0 → 10.43-r1, 0 → 10.46-r1, 0 → 10.48-r0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.39%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Sep 5, 2026 · OpenSSF OSV / OSV Scanner

    Detected

    PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set throug

  2. Oct 20, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    pcre2 fixed in 10.43-r1; pcre2 fixed in 10.48-r0; pcre2 fixed in 10.48-r0

  3. Oct 20, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    pcre2 fixed in 10.43-r1

  4. Oct 20, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    pcre2 fixed in 10.48-r0

  5. Oct 20, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set throug

  6. Oct 21, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    pcre2 fixed in 10.43-r1; pcre2 fixed in 10.46-r1; pcre2 fixed in 10.48-r0; pcre2 fixed in 10.48-r0

  7. Oct 21, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    pcre2 fixed in 10.46-r1

  8. Oct 21, 2026 · OpenSSF OSV / OSV Scanner

    Updated

    PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set throug

Sources

  • BSI CERT-BundGovernment advisoryCVE-2026-86145

    PCRE2 (Perl Compatible Regular Expressions): Mehrere Schwachstellen

    wid.cert-bund.de
  • CVE.orgVulnerability recordCVE-2026-86145

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-86145

    30-day exploitation probability 0.39%

    first.org
  • OpenSSF OSV / OSV ScannerPackage advisoryALPINE-CVE-2026-86145
    osv.dev
  • Trivy Vulnerability DBPackage advisoryALPINE-CVE-2026-86145

    PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attac

    osv.dev

References

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.