CVE-2026-50738
JSON

7.7high

A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying s…

Severity
7.7high CVSS:4.0 by EDB
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
EDB

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.

Affected

Product or packageVersionsReported by
EnterpriseDB pglogicalfrom 2 before 2.4.8, from 2.0.0 before 2.4.8CVE List, NVD

All scores

EDB7.7high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una condición de uso después de liberación existe en el código de señalización de trabajadores de pglogical, donde una estructura de trabajador puede ser desreferenciada después de que el slot subyacente haya sido liberado o reciclado durante eventos normales del ciclo de vida del trabajador. La condición es alcanzable durante la operación normal de replicación, incluso por un usuario con pocos privilegios capaz de influir en el inicio, detención y reinicio de los trabajadores a través de operaciones pglogical permitidas. En el caso típico, la condición provoca la caída de los trabajadores de replicación, causando un impacto en la disponibilidad. En el peor de los casos, un uso después de liberación en un backend de PostgreSQL puede ser aprovechado como una primitiva de ejecución remota de código con los privilegios de ese backend.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50738 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-50738 changed 2026-10-23Public domain