CVE-2026-89162

pcre2: PCRE2: Information disclosure via pcre2_serialize_encode

Published Sep 11, 2026 CVSS 3.1 · 2.9 Low EPSS < 1% KEV · Not listed
Description
In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an adversary, typically in a situation where the access available to the adversary is already unsafe.

Analysis

AI-generated

Technical impact

The flaw resides in the pcre2_serialize_encode function of the PCRE2 regular‑expression library before version 10.48. When invoked, the function can read and expose two bytes of memory that belong to the caller, resulting in a modest information leak. The vulnerability is limited to a low‑severity scenario, reflected by a CVSS score of 2.9, and it requires that the adversary already has unsafe or local access to the system to trigger the read.

Affected Systems

PCRE:PCRE2 releases prior to 10.48, including any builds that employ pcre2_serialize_encode before the 10.48 release date.

Risk and Exploitability

The EPSS score is below 1%, indicating that exploitation attempts are expected to be very rare. Because the defect discloses only two bytes and needs pre‑existing unsafe access, the attack vector is inferred to be local or any context where the attacker can cause the library to serialize a pattern. The vulnerability is not listed in the CISA KEV catalog, and its low data volume and strict prerequisites combine to keep the overall risk modest.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PCRE2 to version 10.48 or newer.
  • Audit application code to ensure that pcre2_serialize_encode is invoked only within trusted contexts and that serialized patterns are not exposed to untrusted actors.
  • If an immediate upgrade is not possible, configure runtime controls or access restrictions to prevent untrusted users from triggering the serialization operation.

Generated by OpenCVE AI on September 21, 2026 at 05:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8974-1 PCRE2 vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:pcre:pcre2:10.48:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Potential Data Disclosure in PCRE2 pcre2_serialize_encode pcre2: PCRE2: Information disclosure via pcre2_serialize_encode
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Low

Type Values Removed Values Added
Title Potential Data Disclosure in PCRE2 pcre2_serialize_encode
Type Values Removed Values Added
Description In PCRE2 before 10.48, pcre2_serialize_encode might disclose two bytes to an adversary, typically in a situation where the access available to the adversary is already unsafe.
First Time appeared Pcre
Pcre pcre2
Weaknesses CWE-669
CPEs cpe:2.3:a:pcre:pcre2:*:*:*:*:*:*:*:*
Vendors & Products Pcre
Pcre pcre2
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-669

    Incorrect Resource Transfer Between Spheres

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 14, 2026, 6:18 PM
Reserved
Sep 11, 2026, 4:15 AM
Status
Analyzed
Published
Sep 11, 2026, 5:16 AM
Modified
Sep 16, 2026, 6:56 PM
Severity
Low
Public date
Sep 11, 2026, 4:15 AM