CVE-2026-50735 Details
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.
A vulnerability exists in the pglogical replication extension for PostgreSQL, specifically within the apply worker component. The issue arises because the apply worker does not properly validate the length of certain fields in incoming replication protocol messages. This lack of validation can lead to an out-of-bounds read, where the apply worker reads data beyond the limits of an allocated buffer. As a result, adjacent process memory may be disclosed, or the worker may crash. The vulnerability can be exploited by a party acting as the publisher for a subscription, such as a non-PostgreSQL endpoint that uses the pglogical replication protocol. To successfully exploit this vulnerability, an attacker must direct a subscription to an endpoint they control, which typically requires superuser privileges in default installations. This issue is particularly relevant in managed deployments where non-superuser roles have been granted the ability to create subscriptions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pgEdge/spock/security/advisories/GHSA-j2m3-f88h-2h46 | EnterpriseDB Corporation | |
| https://www.enterprisedb.com/docs/security/advisories/cve202650735/ | EnterpriseDB Corporation | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | EnterpriseDB Corporation |
Affected Products
| Product | Versions |
|---|---|
| enterprisedb pglogical | >= 2.0.0, < 2.4.8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 12, 2026 | CVE Modified | EnterpriseDB Corporation |
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 24, 2026 | Initial Analysis | [email protected] |
| Jul 28, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | EnterpriseDB Corporation |