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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| EnterpriseDB | pglogical | 2 – < 2.4.8 | 2.4.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pglogical | 2.4.8-1 | — |
| Debian 13 | pglogical | No fix yet | — |
| Debian 12 | pglogical | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pglogical | No fix yet | — |
| Ubuntu 26.04 LTS | pglogical | No fix yet | — |
| Ubuntu 24.04 LTS | pglogical | No fix yet | — |
| Ubuntu 22.04 LTS | pglogical | No fix yet | — |
| Ubuntu 20.04 LTS | pglogical | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | pglogical | No fix yet | — |