Skip to main content
EPSS 0.3%top 77%

CVE-2026-50738: CWE-416 Use After Free in EnterpriseDB pglogical

0
High
Published: 07/28/2026 (07/28/2026, 19:17:00 UTC)
Source: CVE Database V5
Vendor/Project: EnterpriseDB
Product: pglogical

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.

CVSS v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

EnterpriseDB

pglogical

Affected versions
>=2 <2.4.8

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 14:53:59 UTC

Technical Analysis

This vulnerability involves a use-after-free condition in pglogical's worker signaling code, where a worker structure is dereferenced after its associated slot has been freed or recycled. The flaw is reachable during normal replication operations and can be influenced by a low-privileged user through permitted pglogical operations affecting worker lifecycle timing. The primary consequence is crashing replication workers, impacting availability. More critically, exploitation could lead to remote code execution within the PostgreSQL backend context, elevating the severity of the issue.

Potential Impact

The vulnerability can cause replication workers to crash, resulting in availability disruptions of the replication service. Additionally, it poses a high-severity risk as it may be exploited to achieve remote code execution with the privileges of the PostgreSQL backend process, potentially compromising the entire database system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been documented at this time. Users should monitor EnterpriseDB advisories for updates and apply patches promptly once available. Until then, carefully controlling access to pglogical operations that influence worker lifecycle timing may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EDB
Date Reserved
2026-06-05T19:13:51.103Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a68f3759c2644c7f803d881

Added to database: 07/28/2026, 18:22:45 UTC

Last enriched: 07/29/2026, 14:53:59 UTC

Last updated: 09/11/2026, 22:06:33 UTC

Views: 86

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses