Skip to main content

CVE-2026-89161: CWE-590 Free of Memory not on the Heap in PCRE PCRE2

0
High
VulnerabilityCVE-2026-89161cvecve-2026-89161cwe-590
Published: 09/11/2026 (09/11/2026, 04:11:51 UTC)
Source: CVE Database V5
Vendor/Project: PCRE
Product: PCRE2

Description

CVE-2026-89161 is a high-severity vulnerability in PCRE2 versions before 10.48. It involves an incorrect free operation in the pcre2_jit_match function when handling a previously copied subject passed as context, leading to a use-after-free or double-free condition.

CVSS v3.1

Score 7.4high

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

PCRE

PCRE2

Affected versions
>=0 <10.48
GitHub Actionsmore threats →ai
pcre2project/pcre2
pkg:github/pcre2project/pcre2
Affected versions
>=0 <10.48

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 04:31:51 UTC

Technical Analysis

In PCRE2 versions prior to 10.48, the function pcre2_jit_match improperly handles memory management for a previously copied subject passed as a context parameter. This mishandling results in an incorrect free operation on memory not allocated on the heap, classified as CWE-590 (Free of Memory not on the Heap). The vulnerability can lead to memory corruption, potentially causing denial of service or arbitrary code execution. The CVSS 3.1 base score is 7.4, indicating high severity with attack vector local, high attack complexity, no privileges required, no user interaction, and impacts on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation of this vulnerability can cause memory corruption due to freeing memory not allocated on the heap. This can lead to application crashes (denial of service) or potentially allow an attacker to execute arbitrary code with the privileges of the affected application. The attack requires local access and has high complexity, limiting ease of exploitation.

Mitigation Recommendations

A fix is available in PCRE2 version 10.48 and later. Users should upgrade to version 10.48 or newer to remediate this vulnerability. No vendor advisory content was provided, but the affected versions are explicitly stated and the patch version is known.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-09-11T04:11:51.278Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa380d491cc7f3848a3b522

Added to database: 09/11/2026, 04:17:24 UTC

Last enriched: 09/11/2026, 04:31:51 UTC

Last updated: 09/11/2026, 04:39:58 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses