Description
pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication protocol messages before copying them, resulting in an out-of-bounds read. A party acting as the publisher for a subscription, for example a non-PostgreSQL endpoint that speaks the pglogical replication protocol, can return crafted messages that cause the subscriber's apply worker to read beyond the bounds of an allocated buffer, disclosing adjacent process memory or crashing the worker. To exploit the issue an attacker must be able to direct a subscription at an endpoint they control. In default installations this requires privileges normally reserved for a superuser, so the issue is most relevant to managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.
Published: 2026-07-28
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when pglogical’s apply worker copies data without validating the length of certain fields in replication protocol messages, leading to an out‑of‑bounds read. An attacker can craft messages that cause the worker to read beyond a buffer and expose adjacent process memory or crash, impacting confidentiality and availability.

Affected Systems

This flaw affects EnterpriseDB’s pglogical extension. Clients using the subscription feature, particularly those that allow arbitrary publishers, are at risk. Default installations restrict subscription creation to superusers, so the issue mainly concerns managed deployments that have delegated this privilege to non‑superuser roles.

Risk and Exploitability

The CVSS score of 6.1 indicates a moderate severity. The EPSS score is below 1%, suggesting low probability of widespread exploitation. It is not listed in the CISA KEV catalog. Exploitation requires access to a subscription publish endpoint; the attacker would normally need superuser rights to create the subscription, making the attack surface narrower. Without such privileges, the vulnerability remains largely theoretical.

Generated by OpenCVE AI on August 3, 2026 at 14:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest EnterpriseDB pglogical update when a fix is released.
  • If a patch is unavailable, restrict subscription creation to superuser or tightly controlled roles and only allow trusted publishers.
  • Implement audit logging and monitor pglogical logs for abnormal memory access or crashing events to detect exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 14:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Title Out-of-Bounds Read in pglogical Apply Worker Allows Memory Disclosure

Sun, 02 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Title Out-of-Bounds Read in pglogical Apply Worker Allows Memory Disclosure

Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Enterprisedb
Enterprisedb pglogical
Vendors & Products Enterprisedb
Enterprisedb pglogical

Tue, 28 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication protocol messages before copying them, resulting in an out-of-bounds read. A party acting as the publisher for a subscription, for example a non-PostgreSQL endpoint that speaks the pglogical replication protocol, can return crafted messages that cause the subscriber's apply worker to read beyond the bounds of an allocated buffer, disclosing adjacent process memory or crashing the worker. To exploit the issue an attacker must be able to direct a subscription at an endpoint they control. In default installations this requires privileges normally reserved for a superuser, so the issue is most relevant to managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 6.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Enterprisedb Pglogical
cve-icon MITRE

Status: PUBLISHED

Assigner: EDB

Published:

Updated: 2026-07-28T19:02:17.182Z

Reserved: 2026-06-05T19:13:51.103Z

Link: CVE-2026-50735

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-28T19:17:36.540

Modified: 2026-07-30T16:31:26.770

Link: CVE-2026-50735

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:45:04Z

Weaknesses