CVE-2026-50735: pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication p
31
Routine
MEDIUM 6.8UPGRADE
CVE-2026-50735 is a medium-severity flaw (CVSS 6.8) affecting pglogical. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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, disclosin
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 70%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-07-28 |
| Last modified | 2026-10-23 |
Publisher (CNA): EnterpriseDB Corporation · Vendor: enterprisedb
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
enterprisedb pglogical UPGRADE
Affected: >= 2.0.0 and < 2.4.8
Fixed in: 2.4.8
Safe to downgrade to: a release before 2.0.0
1. Check installed version
apt-cache policy pglogical || rpm -q pglogical || pglogical --version
2. UPGRADE to 2.4.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade pglogical
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade pglogical
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.0.0 (Debian / Ubuntu)
apt-cache madison pglogical
sudo apt install pglogical=<VERSION_BEFORE_2.0.0>
sudo apt-mark hold pglogical
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list pglogical
sudo dnf downgrade pglogical-<VERSION_BEFORE_2.0.0>
sudo dnf versionlock add pglogical
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Related CVEs
- CVE-2026-50736 HIGH 7.5 UPGRADE The pglogical queue mechanism, used to convey out-of-band commands such as replicated DDL from a publisher to
- CVE-2026-50737 HIGH 7.5 UPGRADE When applying replicated changes for a row that is missing one or more columns, pglogical evaluates the affect
- CVE-2026-50738 MEDIUM 5.3 UPGRADE A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be derefe