Description
A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying slot has been freed or recycled during normal worker lifecycle events. The condition is reachable during normal replication operation, including by a low-privileged user able to influence worker start, stop, and restart timing through permitted pglogical operations. In the typical case the condition crashes replication workers, causing an availability impact. In the worst case a use-after-free in a PostgreSQL backend can be leveraged as a remote code execution primitive at the privilege of that backend.
Published: 2026-07-28
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The reported flaw is a use‑after‑free condition in the worker signaling logic of EnterpriseDB pglogical. The bug allows a worker instance to be dereferenced after its associated replication slot has been freed or recycled, which normally occurs during routine replication activity. When triggered, the condition can crash replication workers, leading to a denial‑of‑service of the parallel replication infrastructure. In a more severe scenario, the same use‑after‑free can be exploited in a PostgreSQL backend to execute arbitrary code with the privileges of that backend process. The vulnerability can be reached while performing normal replication tasks and can be triggered by a low‑privileged user who is permitted to start, stop, or restart workers. Because the flaw lies in the backend’s worker pool, an attacker can leverage it to crash the replication worker or, in the worst case, attain arbitrary code execution on the database host at the backend process privilege level.

Affected Systems

EnterpriseDB pglogical is the affected product. No specific vendor‑determined version range has been supplied in the advisory, so any installation that incorporates the pglogical extension without the fix is potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.7 reflects a high‑severity vulnerability with significant impact on availability and the potential for remote code execution. The EPSS score of less than 1% indicates that, while the exploit probability is low, the vulnerability is still noteworthy. The flaw can be reached while performing normal replication tasks and can be triggered by a low‑privileged user who is permitted to control worker start, stop, and restart operations. The vulnerability is not currently listed in the CISA KEV catalog, suggesting no publicized targeted exploitation as of the latest update.

Generated by OpenCVE AI on August 4, 2026 at 12:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest EnterpriseDB pglogical release that contains the patch for the use‑after‑free flaw
  • Restrict the ability of low‑privileged users to control worker start, stop, and restart operations in the replication database to reduce the chance of the bug being triggered
  • Restart affected replication workers promptly and monitor logs for repeated crashes to ensure the issue has been resolved

Generated by OpenCVE AI on August 4, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Title Use-After-Free in pglogical Worker Signaling Code

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

Type Values Removed Values Added
Title Use-After-Free in pglogical Worker Signaling Code

Wed, 29 Jul 2026 15:30:00 +0000

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

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

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying slot has been freed or recycled during normal worker lifecycle events. The condition is reachable during normal replication operation, including by a low-privileged user able to influence worker start, stop, and restart timing through permitted pglogical operations. In the typical case the condition crashes replication workers, causing an availability impact. In the worst case a use-after-free in a PostgreSQL backend can be leveraged as a remote code execution primitive at the privilege of that backend.
Weaknesses CWE-416
References
Metrics cvssV4_0

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


Subscriptions

Enterprisedb Pglogical
cve-icon MITRE

Status: PUBLISHED

Assigner: EDB

Published:

Updated: 2026-07-28T18:46:25.423Z

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

Link: CVE-2026-50738

cve-icon Vulnrichment

Updated: 2026-07-28T18:45:02.674Z

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-50738

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T13:00:11Z

Weaknesses