p PatchFirst

CVE-2026-86145

CVE-2026-86145

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 8.2 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • pcre2

    Versions
    • ≥ 10.32, < 10.48: Affected (custom)

    Update to 10.48

  • pcre2 Debian:12

    Versions
    • 10.42-1
    Affected ranges
    • ECOSYSTEM: < 10.42-1+deb12u1

    Update to 10.42-1+deb12u1

  • pcre2 Debian:13

    Versions
    • 10.45-1
    • 10.46-1~deb13u1
    Affected ranges
    • ECOSYSTEM: < 10.46-1~deb13u2

    Update to 10.46-1~deb13u2

  • pcre2 Debian:14

    Versions
    • 10.45-1
    • 10.46-1
    • 10.46-1~deb13u1
    • 10.46-1~deb13u2
    • 10.46-1~deb13u3
    • 10.47-1
    • 10.47-2
    Affected ranges
    • ECOSYSTEM: < 10.48-1

    Update to 10.48-1

  • pcre2 Ubuntu:20.04:LTS

    Versions
    • 10.32-5
    • 10.34-7
    • 10.34-7ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pcre2 Ubuntu:22.04:LTS

    Versions
    • 10.37-0ubuntu2
    • 10.39-3
    • 10.39-3build1
    • 10.39-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pcre2 Ubuntu:24.04:LTS

    Versions
    • 10.42-4
    • 10.42-4ubuntu1
    • 10.42-4ubuntu2
    • 10.42-4ubuntu2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pcre2 Ubuntu:26.10

    Versions
    • 10.46-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pcre2 Ubuntu:26.04:LTS

    Versions
    • 10.46-1
    • 10.46-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →