CVE-2026-6637

Publication date 14 May 2026

Last updated 22 May 2026


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

Description

Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Read the notes from the security team

Status

Package Ubuntu Release Status
postgresql-18 26.04 LTS resolute
Fixed 18.4-0ubuntu0.26.04.1
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
postgresql-17 26.04 LTS resolute Not in release
25.10 questing
Fixed 17.10-0ubuntu0.25.10.1
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
postgresql-16 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble
Fixed 16.14-0ubuntu0.24.04.1
22.04 LTS jammy Not in release
postgresql-14 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed 14.23-0ubuntu0.22.04.1
postgresql-12 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Needs evaluation
postgresql-10 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Needs evaluation
postgresql-9.5 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Needs evaluation
postgresql-9.3 26.04 LTS resolute Not in release
25.10 questing Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Vulnerable, fix deferred

Notes


leosilva

PostgreSQL 9.3 is end of life upstream, and no updates are are available. Marking as deferred in -esm-main releases.

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Access our resources on patching vulnerabilities