CVE-2026-2006

Public on 2026-02-12
Modified on 2026-03-04
Description
Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.


Fixing CVE-2026-2006 for the postgresql package in Amazon Linux 2 would require significant changes which may break existing customer workflows. Considering the tradeoff between the stability of Amazon Linux and the impact of CVE-2026-2006, a fix will not be provided for postgresql in Amazon Linux 2 core at this time. Please consider migrating to postgresql14 in AL2 Extras which is still supported, or to AL2023 which provides multiple supported versions of postgresql.
Severity
Important severity
Important
See what this means
CVSS v3 Base Score
8.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Postgresql14 Extra postgresql 2026-03-06 ALAS2POSTGRESQL14-2026-022 Fixed
Amazon Linux 2 - Core postgresql No Fix Planned
Amazon Linux 2023 postgresql15 2026-03-05 ALAS2023-2026-1456 Fixed
Amazon Linux 2023 postgresql16 2026-03-05 ALAS2023-2026-1458 Fixed
Amazon Linux 2023 postgresql17 2026-03-05 ALAS2023-2026-1457 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H