CVE-2026-50735: CWE-125 Out-of-bounds Read in EnterpriseDB pglogical
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.
AI Analysis
Technical Summary
CVE-2026-50735 is an out-of-bounds read vulnerability (CWE-125) in EnterpriseDB's pglogical replication system. The apply worker component does not properly validate the length of certain fields in incoming replication protocol messages before copying them, allowing a malicious publisher to cause the subscriber to read beyond allocated buffer boundaries. This can lead to disclosure of adjacent process memory or cause the apply worker to crash. Exploitation requires the attacker to control the publisher endpoint of a subscription, which typically requires superuser privileges, limiting the attack surface primarily to managed deployments with delegated subscription creation.
Potential Impact
Successful exploitation can result in disclosure of adjacent process memory or denial of service by crashing the apply worker process. The vulnerability requires the attacker to control the publisher endpoint of a pglogical subscription. In default configurations, this requires superuser privileges, so the risk is higher in managed environments where non-superuser roles can create subscriptions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the ability to create subscriptions to trusted superusers only, and avoid directing subscriptions to untrusted or external endpoints. Monitor vendor communications for official patches or mitigations.
CVE-2026-50735: CWE-125 Out-of-bounds Read in EnterpriseDB pglogical
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.
CVSS v4.0
Score 6.1medium
Affected software
EnterpriseDB
pglogical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-50735 is an out-of-bounds read vulnerability (CWE-125) in EnterpriseDB's pglogical replication system. The apply worker component does not properly validate the length of certain fields in incoming replication protocol messages before copying them, allowing a malicious publisher to cause the subscriber to read beyond allocated buffer boundaries. This can lead to disclosure of adjacent process memory or cause the apply worker to crash. Exploitation requires the attacker to control the publisher endpoint of a subscription, which typically requires superuser privileges, limiting the attack surface primarily to managed deployments with delegated subscription creation.
Potential Impact
Successful exploitation can result in disclosure of adjacent process memory or denial of service by crashing the apply worker process. The vulnerability requires the attacker to control the publisher endpoint of a pglogical subscription. In default configurations, this requires superuser privileges, so the risk is higher in managed environments where non-superuser roles can create subscriptions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the ability to create subscriptions to trusted superusers only, and avoid directing subscriptions to untrusted or external endpoints. Monitor vendor communications for official patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EDB
- Date Reserved
- 2026-06-05T19:13:51.103Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a68f3759c2644c7f803d878
Added to database: 07/28/2026, 18:22:45 UTC
Last enriched: 07/29/2026, 23:28:50 UTC
Last updated: 09/11/2026, 22:06:33 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.