Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Babelfish TDS port 1433 over network
-
ExploitSend malformed TDS prelogin packet
-
ExecutionOverflow heap in prelogin parser
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Babelfish For Postgresql
View allPrivilege escalation in the Babelfish for PostgreSQL extension (versions 1.2-1.5, 2.1-2.15, 3.1-3.12, 4.0-4.8 and 5.1-5.
Out-of-bounds read in the TDS RPC procedure-name parser of Babelfish for PostgreSQL (extension branches 1.0-1.5, 2.1-2.1
EUVD-2026-118415
GHSA-g64g-7679-7c73
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB