Vulnerability

Babelfish for PostgreSQL TDS Prelogin Heap Overflow (CVE-2026-119923)

A heap-based buffer overflow in the TDS prelogin parser inside the Babelfish for PostgreSQL extension, including Amazon Aurora PostgreSQL's managed Babelfish feature.

CVE ID
CVE-2026-119923
CVSS
9.8 Critical (CVSS v3.1, vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and 9.3 Critical (CVSS v4.0), both in the NVD record; AWS's bulletin gives no separate CVSS score
Affected product
Babelfish for PostgreSQL extension, and Amazon Aurora PostgreSQL with Babelfish enabled
Exploited
No
Published
6 November 2026 (NVD record; AWS security bulletin 2026-166-AWS, published 10:00 AM PST)

In short

CVE-2026-119923 is a heap-based buffer overflow in the TDS prelogin parser inside the Babelfish for PostgreSQL extension, including Amazon Aurora PostgreSQL's managed Babelfish feature. NVD scores it CVSS 3.1 9.8 Critical and CVSS 4.0 9.3 Critical. AWS fixed it in Babelfish for PostgreSQL versions 4.10, 5.6 and 6.1.

Profile MapVulnerability
  1. CVECVE-2026-119923
  2. ProductAWS (Babelfish for PostgreSQL is an AWS-maintained open source extension; it is also built into the managed Amazon Aurora PostgreSQL service) Babelfish for PostgreSQL extension, and Amazon Aurora PostgreSQL with Babelfish enabled
  3. Fix Steps4actions listed

What it allows

CVE-2026-119923 is a heap-based buffer overflow in the part of Babelfish for PostgreSQL that parses the first message of a TDS connection, the prelogin packet. Babelfish lets Amazon Aurora PostgreSQL, and self-managed PostgreSQL, understand the TDS wire protocol that SQL Server clients speak. That lets applications built for SQL Server connect without changing drivers.

What NVD and AWS Say About CVE-2026-119923

The NVD record says a specially crafted, malformed TDS prelogin packet sent to the TDS port might allow remote attackers to execute arbitrary OS commands as the database process user. AWS's own security bulletin, 2026-166-AWS, describes the same issue more narrowly, as a memory-safety issue in the TDS connection-handshake handling. AWS says that could allow a remote, unauthenticated actor to affect the confidentiality, integrity and availability of the database process.

The NVD record adds that it consolidates a related null-pointer-dereference finding in the same prelogin parser. Neither the record nor AWS's bulletin names the exact malformed field that triggers either issue, and we leave that detail out.

AWS's bulletin also names a related flaw, CVE-2026-119924, in the same document. AWS describes that one as a separate memory-safety issue in TDS remote-procedure-call request handling. AWS says it could let a remote, authenticated actor read adjacent process memory or cause a denial of service. This page covers only CVE-2026-119923.

Who is affected

NVD and AWS's bulletin both list the same five version ranges of the Babelfish for PostgreSQL extension as affected. Amazon Aurora PostgreSQL with Babelfish enabled is affected across a wide range of engine versions, each tied to one of these extension versions.

AWS's bulletin lists the exact Aurora PostgreSQL engine version that includes each fixed Babelfish version. The table below repeats that list in full.

Aurora PostgreSQL versionBabelfish version included
13.9.161.5.5
13.23.31.17.2
14.6.162.3.5
14.17.82.12.4
14.18.62.13.3
14.19.52.14.2
14.20.52.15.2
14.22.32.16.1
14.23.12.17.0
15.10.83.8.4
15.12.83.9.4
15.13.63.10.3
15.14.53.11.2
15.15.53.12.2
15.17.33.13.1
15.18.13.14.0
16.8.84.5.5
16.9.64.6.3
16.10.54.7.2
16.11.54.8.2
16.13.34.9.1
16.14.14.10.0
17.4.85.1.4
17.5.65.2.3
17.6.55.3.2
17.7.55.4.2
17.9.35.5.1
17.10.15.6.0
18.3.46.0.2
18.4.16.1.0

AWS's bulletin says customers should upgrade their cluster to one of these versions or later and apply any pending maintenance, so the cluster is on the latest patch. Restricting network access to the TDS port, default 1433, is listed as a workaround until that upgrade runs.

Timeline

  1. 6 Nov 2026, 10:00 AM PST

    AWS publishes security bulletin 2026-166-AWS, covering CVE-2026-119923 and the related CVE-2026-119924.

  2. 6 Nov 2026

    NVD publishes its record for CVE-2026-119923.

What to do

  1. Upgrade Babelfish for PostgreSQL

    Move self-managed deployments to Babelfish for PostgreSQL extension version 4.10, 5.6 or 6.1 or later, per AWS's security bulletin.

  2. Upgrade Amazon Aurora PostgreSQL with Babelfish

    Move your cluster to the Aurora PostgreSQL version AWS's bulletin lists for your current Babelfish version, then apply any pending maintenance.

  3. Restrict the TDS Port Until You Upgrade

    AWS's bulletin lists restricting network access to the TDS port, default 1433, to trusted sources as a workaround until the upgrade runs.

  4. Review CVE-2026-119924 at the Same Time

    AWS's same bulletin also fixes a related TDS remote-procedure-call flaw. We recommend checking that fix alongside this one.

Questions

Does CVE-2026-119923 need an authenticated session?

No. NVD describes it as exploitable by a remote attacker sending a crafted TDS prelogin packet. AWS's bulletin calls the actor remote and unauthenticated.

Is CVE-2026-119923 in the CISA KEV catalog?

It is not in catalog version 2026.11.06. CISA's SSVC decision record lists the exploitation status as none, dated 6 November 2026.

What is the fix for CVE-2026-119923?

AWS's bulletin lists Babelfish for PostgreSQL extension versions 4.10, 5.6 and 6.1 as the fix. Aurora PostgreSQL customers upgrade to the matching engine version AWS lists.

Is there a workaround before upgrading?

AWS's bulletin lists restricting network access to the TDS port, default 1433, to trusted sources as a workaround until the upgrade is applied.

Is CVE-2026-119924 the same flaw as CVE-2026-119923?

No. AWS's bulletin describes CVE-2026-119924 as a separate memory-safety issue in TDS remote-procedure-call handling, reachable only by an authenticated actor. This page covers CVE-2026-119923.

In our research

  1. Amazon Fixes a Security Vulnerability Affecting AWS AppSync November 2022
  2. Remote code execution (RCE) Glossary term

Sources

  1. CVE-2026-119923 NVD
  2. AWS Security Bulletin 2026-166-AWS: CVE-2026-119923 and CVE-2026-119924, Issues with Babelfish for Aurora PostgreSQL Amazon Web Services
  3. Known Exploited Vulnerabilities Catalog CISA