Skip to main content

Babelfish for PostgreSQL CVE-2026-119923

| EUVDEUVD-2026-118415 CRITICAL
Heap-based Buffer Overflow (CWE-122)
2026-11-06 AMZN GHSA-g64g-7679-7c73
9.3
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Babelfish TDS port 1433 over network
  2. Exploit
    Send malformed TDS prelogin packet
  3. Execution
    Overflow heap in prelogin parser
  4. Impact
    Execute OS commands as database process user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a network-reachable Babelfish TDS listener (default port 1433) with the TDS/SQL Server compatibility endpoint enabled; the malformed prelogin packet is processed during the pre-authentication prelogin handshake, so no credentials or user interaction are needed (PR:N/UI:N). The primary limiting factor is exposure of the TDS port - environments that restrict network access to port 1433 (the vendor-stated workaround) or that do not enable the Babelfish TDS endpoint are not reachable by this vector. Only the affected Babelfish extension ranges (1.0-1.5, 2.1-2.15, 3.1-3.12, 4.0-4.8, 5.1-5.4) and the corresponding Aurora PostgreSQL with Babelfish builds are vulnerable; the vendor states upgrading is the remediation, with TDS port network restriction as the workaround.

Impact

This is a genuine high-priority issue rather than a CVSS-inflated one. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) is internally consistent with the stated mechanism: the flaw is in the TDS prelogin parser, which processes packets before authentication, so remote unauthenticated exploitation (PR:N) is credible, and the described impact is OS command execution as the database process user. The vuln.today decision label is act_now and the vendor (AMZN) is the reporter, which raises confidence in the technical claim and signals urgency. However, several exploitation signals are absent from the input: there is no CISA KEV listing (so no confirmed active exploitation), no EPSS probability is provided, and no PoC or exploit reference is supplied - exploitation status is therefore no public exploit identified at time of analysis. The combination of pre-auth network reachability, low complexity, and worst-case impact means theoretical risk is severe and patching should be treated as urgent per the act_now label, but real-world mass-exploitation likelihood cannot be quantified because EPSS is missing. Tempering the raw severity is the deployment footprint: exploitation requires a network-reachable Babelfish TDS listener, a specialized SQL Server compatibility feature rather than a default PostgreSQL configuration.

Exploit ScenarioDerived

A remote attacker with network reachability to the Babelfish TDS port (default 1433) sends a specially crafted malformed TDS prelogin packet before any authentication occurs, triggering a heap-based buffer overflow in the prelogin parser. Successful exploitation could execute arbitrary OS commands as the database process user, or at minimum crash the service via the consolidated NULL-pointer dereference. No public exploit code is identified in the available data, and the precise technique to turn the overflow into code execution is not described in the sources.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Heap-based buffer overflow in Babelfish for PostgreSQL versions 1.0-1.5, 2.1-2.15, 3.1-3.12, 4.0-4.8, and 5.1-5.4, and in Amazon Aurora PostgreSQL with Babelfish, allows unauthenticated remote attackers to execute arbitrary OS commands as the database process user by sending a malformed TDS prelogin packet to the TDS port (default 1433). The flaw is reached during the pre-authentication prelogin handshake (CVSS 3.1: 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), and the vendor has released fixed extension versions 4.10, 5.6, and 6.1 plus Aurora cluster builds; no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Babelfish for PostgreSQL to extension version 4.10, 5.6, or 6.1 (or later), using the release links https://github.com/babelfish-for-postgresql/babelfish-for-postgresql/releases/tag/BABEL_4_10_0__PG_16_14, https://github.com/babelfish-for-postgresql/babelfish-for-postgresql/releases/tag/BABEL_5_6_0__PG_17_10, and https://github.com/babelfish-for-postgresql/babelfish-for-postgresql/releases/tag/BABEL_6_1_0__PG_18_4. Amazon Aurora PostgreSQL with Babelfish clusters should be upgraded to Aurora PostgreSQL 13.9.16 (1.5.5), 13.23.3 (1.17.2), 14.6.16 (2.3.5), 14.17.8 (2.12.4), 14.18.6 (2.13.3), 14.19.5 (2.14.2), 14.20.5 (2.15.2), 14.22.3 (2.16.1), 14.23.1 (2.17.0), 15.10.8 (3.8.4), 15.12.8 (3.9.4), 15.13.6 (3.10.3), 15.14.5 (3.11.2), 15.15.5 (3.12.2), 15.17.3 (3.13.1), 15.18.1 (3.14.0), 16.8.8 (4.5.5), 16.9.6 (4.6.3), 16.10.5 (4.7.2), 16.11.5 (4.8.2), 16.13.3 (4.9.1), 16.14.1 (4.10.0), 17.4.8 (5.1.4), 17.5.6 (5.2.3), 17.6.5 (5.3.2), 17.7.5 (5.4.2), 17.9.3 (5.5.1), 17.10.1 (5.6.0), 18.3.4 (6.0.2), 18.4.1 (6.1.0) or later, and apply any pending maintenance to ensure they are on the latest patch. The vendor-stated workaround is to restrict network access to the TDS port (default 1433); the AWS advisory is https://aws.amazon.com/security/security-bulletins/2026-166-aws/.

Affected VersionsENISA

Amazon Aurora PostgreSQL with Babelfish 6.0.0 <6.0.2
Amazon Aurora PostgreSQL with Babelfish 1.0.0 <1.5.5
babelfish-for-postgresql 3.1 ≤3.12
babelfish-for-postgresql 1.0 ≤1.5
Amazon Aurora PostgreSQL with Babelfish 2.4.0 <2.12.4
Amazon Aurora PostgreSQL with Babelfish 5.2.0 <5.2.3
Amazon Aurora PostgreSQL with Babelfish 2.16.0 <2.16.1
Amazon Aurora PostgreSQL with Babelfish 2.15.0 <2.15.2
Amazon Aurora PostgreSQL with Babelfish 5.3.0 <5.3.2
Amazon Aurora PostgreSQL with Babelfish 3.12.0 <3.12.2
Amazon Aurora PostgreSQL with Babelfish 5.4.0 <5.4.2
Amazon Aurora PostgreSQL with Babelfish 4.0.0 <4.5.5
babelfish-for-postgresql 2.1 ≤2.15
Amazon Aurora PostgreSQL with Babelfish 3.0.0 <3.8.4
babelfish-for-postgresql 5.1 ≤5.4
Amazon Aurora PostgreSQL with Babelfish 4.8.0 <4.8.2
Amazon Aurora PostgreSQL with Babelfish 4.6.0 <4.6.3
Amazon Aurora PostgreSQL with Babelfish 4.9.0 <4.9.1
Amazon Aurora PostgreSQL with Babelfish 5.0.0 <5.1.4
Amazon Aurora PostgreSQL with Babelfish 4.7.0 <4.7.2
Amazon Aurora PostgreSQL with Babelfish 2.14.0 <2.14.2
Amazon Aurora PostgreSQL with Babelfish 3.11.0 <3.11.2
Amazon Aurora PostgreSQL with Babelfish 3.9.0 <3.9.4
babelfish-for-postgresql 4.0 ≤4.8
Amazon Aurora PostgreSQL with Babelfish 3.10.0 <3.10.3
Amazon Aurora PostgreSQL with Babelfish 5.5.0
Amazon Aurora PostgreSQL with Babelfish 2.13.0 <2.13.3
Amazon Aurora PostgreSQL with Babelfish 2.0.0 <2.3.5
Amazon Aurora PostgreSQL with Babelfish 1.6.0 <1.17.2
Amazon Aurora PostgreSQL with Babelfish 3.13.0 <3.13.1

Affected Packages

euvd amazon_aurora_postgresql_with_babelfish fix: 1.5.5, 1.17.2, 2.3.5, 2.12.4, 2.13.3, 2.14.2, 2.15.2, 2.16.1, 3.8.4, 3.9.4, 3.10.3, 3.11.2, 3.12.2, 3.13.1, 4.5.5, 4.6.3, 4.7.2, 4.8.2, 4.9.1, 5.1.4, 5.2.3, 5.3.2, 5.4.2, 6.0.2
euvd babelfish_for_postgresql no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Babelfish for PostgreSQL implements the SQL Server TDS wire protocol and T-SQL compatibility on top of PostgreSQL, so clients connect to a TDS listener (default port 1433) before authentication. The vulnerability is a heap-based buffer overflow (CWE-122) in the TDS prelogin parser; the malformed prelogin packet is processed during the pre-authentication prelogin handshake, which is why no credentials or user interaction are needed when the TDS/SQL Server compatibility endpoint is network-reachable. The available sources do not detail the exact bounds-checking defect or packet length condition beyond the malformed TDS prelogin packet, and the record consolidates a related NULL-pointer-dereference finding in the same parser. Affected CPEs are cpe:2.3:a:aws:babelfish-for-postgresql:*:*:*:*:*:*:*:* and cpe:2.3:a:amazon:amazon_aurora_postgresql_with_babelfish:*:*:*:*:*:*:*:*.

Know when Babelfish For Postgresql gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Flaw is in the pre-authentication TDS prelogin parser reachable over the network, so AV:N/AC:L/PR:N/UI:N; OS command execution as the DB process user gives C:H/I:H/A:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 06, 2026 - 19:22 NVD
9.8 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Nov 06, 2026 - 18:35 cve.org
CRITICAL 9.8

DescriptionCVE.org

A heap-based buffer overflow in the TDS prelogin parser in the Babelfish for PostgreSQL extension versions 1.0-1.5, 2.1-2.15, 3.1-3.12, 4.0-4.8, 5.1-5.4 and in Amazon Aurora PostgreSQL with Babelfish might allow remote attackers to execute arbitrary OS commands as the database process user via a specially crafted malformed TDS prelogin packet to the TDS port. This record consolidates a related NULL-pointer-dereference finding in the same prelogin parser.

To remediate this issue, we recommend users upgrade to Babelfish for PostgreSQL extension versions 4.10, 5.6, 6.1 or later. As a workaround, restrict network access to the TDS port (default 1433). Customers using Amazon Aurora PostgreSQL with Babelfish should upgrade their cluster to Aurora PostgreSQL 13.9.16 (1.5.5), 13.23.3 (1.17.2), 14.6.16 (2.3.5), 14.17.8 (2.12.4), 14.18.6 (2.13.3), 14.19.5 (2.14.2), 14.20.5 (2.15.2), 14.22.3 (2.16.1), 14.23.1 (2.17.0), 15.10.8 (3.8.4), 15.12.8 (3.9.4), 15.13.6 (3.10.3), 15.14.5 (3.11.2), 15.15.5 (3.12.2), 15.17.3 (3.13.1), 15.18.1 (3.14.0), 16.8.8 (4.5.5), 16.9.6 (4.6.3), 16.10.5 (4.7.2), 16.11.5 (4.8.2), 16.13.3 (4.9.1), 16.14.1 (4.10.0), 17.4.8 (5.1.4), 17.5.6 (5.2.3), 17.6.5 (5.3.2), 17.7.5 (5.4.2), 17.9.3 (5.5.1), 17.10.1 (5.6.0), 18.3.4 (6.0.2), 18.4.1 (6.1.0) or later, and apply any pending maintenance to ensure they are on the latest patch.

Technical POC Analysis

Bug class: CWE-122 - Heap-based Buffer Overflow.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical pre-authentication vulnerability in Babelfish for PostgreSQL and Amazon Aurora PostgreSQL with Babelfish allows unauthenticated remote attackers to execute arbitrary commands on the database host. This could lead to full compromise of sensitive data, disruption of business-critical applications, and regulatory exposure for organizations relying on these systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Medium
AWS SQL Server compatibility layer, migration-focused subset of Aurora users
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy