UBUNTU-CVE-2026-50738

Source
https://ubuntu.com/security/CVE-2026-50738
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-50738
Upstream
Published
2026-07-28T19:17:00Z
Modified
2026-08-26T12:15:04Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.0-1
2.1.0-1
2.1.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "postgresql-10-pglogical",
            "binary_version": "2.1.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json"

Ubuntu:20.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.2-1
2.3.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "postgresql-12-pglogical",
            "binary_version": "2.3.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json"

Ubuntu:22.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.3.3-3
2.4.0-2
2.4.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "postgresql-14-pglogical",
            "binary_version": "2.4.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json"

Ubuntu:24.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.3-1ubuntu1
2.4.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "postgresql-16-pglogical",
            "binary_version": "2.4.4-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json"

Ubuntu:26.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.5-1build1
2.4.6-1
2.4.6-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "postgresql-18-pglogical",
            "binary_version": "2.4.6-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-50738.json"