CVE-2026-50738: Use After Free
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-50738?
CVE-2026-50738 has a risk score of 66, indicating a moderate severity vulnerability.
How does the use-after-free condition in CVE-2026-50738 occur?
The use-after-free condition in CVE-2026-50738 occurs when a worker structure is dereferenced after its underlying slot has been freed or recycled.
What software is affected by CVE-2026-50738?
CVE-2026-50738 affects the pglogical software used for replication operations.
Who can exploit the vulnerability identified as CVE-2026-50738?
CVE-2026-50738 can be exploited by low-privileged users during normal replication operations.
What are potential impacts of exploiting CVE-2026-50738?
Exploiting CVE-2026-50738 may lead to unexpected behavior or crashes due to the use-after-free condition.