First Published: 2026/07/28
Last Updated: 2026/07/28
Summary
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.
Vulnerability details
CVE-ID: CVE-2026-50738
CVSS Base Score: 7.7
CVSS Temporal Score: Undefined
CVSS Environmental Score: Undefined
CVSS 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
Affected products and versions
- Affected Product: pglogical
- Affected Versions: All versions of pglogical 2.x prior to 2.4.8
Remediation/fixes
Impacted users must upgrade to a fixed version of pglogical. A fix will be made available in the next release of pglogical 2.
| Product | VRMF | Remediation/First Fix |
|---|---|---|
| pglogical | All 2.x versions prior to 2.4.8 | Update to latest supported version (at least 2.4.8) |
References
Related information
Acknowledgement
Source: Reported to EDB by Mehmet Ince (@mdisec) through the EDB Vulnerability Disclosure Program.
Change history
- 2026/07/28: Original Copy Published
Disclaimer
This document is provided on an "as is" basis and does not imply any kind of guarantee or warranty, including the warranties of merchantability or fitness for a particular use. Your use of the information on the document is at your own risk. EDB reserves the right to change or update this document at any time. Customers are therefore recommended to always view the latest version of this document.