Improper Protection of Alternate Path Affecting pcre2 package, versions <10.48-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-PCRE2-20364476
  • published1 Oct 2026
  • disclosed5 Sept 2026

Introduced: 5 Sep 2026

NewCVE-2026-86145  (opens in a new tab)
CWE-424  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 pcre2 to version 10.48-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pcre2 package and not the pcre2 package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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).

CVSS Base Scores

version 3.1