---
title: "Babelfish TDS Exposure (CVE-2026-119923)"
canonical: https://trickest.com/library/babelfish-tds-exposure-check-cve-2026-119923
description: "Map which hosts speak the Babelfish TDS protocol on port 1433 and sort endpoint versions against the AWS bulletin fixes for the prelogin heap overflow."
---

# Babelfish TDS Exposure (CVE-2026-119923)

## Overview

This workflow maps Babelfish endpoints, the TDS-compatible surface that lets PostgreSQL clusters accept SQL Server connections, and sorts them against the fixes for CVE-2026-119923. A malformed TDS prelogin packet overflows a heap buffer in the prelogin parser and can run arbitrary commands as the database process user; a NULL-pointer crash in the same parser rides along in the record. AWS disclosed it in November 2026 with no exploitation reported and no KEV listing, but the score is 9.8 and the surface is a database wire protocol, so the practical exposure question is which hosts answer on the TDS port at all. The exploit is a malformed prelogin packet, which the workflow never sends; its probe uses a well-formed, standards-compliant prelogin handshake, the ordinary bytes every SQL Server client sends. Each endpoint comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

## Pipeline

1. Read the target list and make a TCP connection to the TDS port, default 1433, on each host.
2. Send one well-formed, standards-compliant TDS prelogin packet, the ordinary handshake a real SQL Server client sends, and read the prelogin response. No malformed packet, no oversized fields, nothing that reaches the vulnerable parser path.
3. Distinguish the endpoint class from the handshake, but never claim Babelfish is confirmed from the response alone: the Babelfish-versus-SQL-Server distinction is still a live-verification item, so the row records the handshake version and names the out-of-band check.
4. Classify against the extension version from the inventory where present: an affected version answers as exposed and affected, a fixed version as exposed and fixed, and no usable version stays unknown rather than clean.
5. Reconcile one verdict per endpoint and write findings plus summary counts.

## Inputs

- **Target list.** Database host addresses with the TDS port that you are authorized to test. The default file ships a sample host; bind your own.

## Outputs

- **findings.jsonl.** One row per endpoint: target, the TDS port state, the prelogin handshake result and version, the extension version classification, verdict, and severity.
- **summary.jsonl.** One line with the total, verdict counts, and the advisory metadata including the explicit KEV correction.

## Integrations

- TDS over TCP. One connect and one well-formed prelogin handshake per endpoint, the standard client behavior.

## Sample output

The records below are illustrative and do not come from a real run. They show a TDS endpoint on an affected extension version, one on a fixed version, and one whose version stays unknown.

```jsonl
{"target": "db-a.example.com", "port": 1433, "tds_connect": "open", "prelogin_response": "answered", "handshake_version": "5.4", "extension_version": "5.4", "verdict": "tds_exposed_affected", "detail": "TDS endpoint answers prelogin on an affected extension version; confirm Babelfish and the cluster version out of band", "error": null}
{"target": "db-b.example.org", "port": 1433, "tds_connect": "open", "prelogin_response": "answered", "handshake_version": "6.1", "extension_version": "6.1", "verdict": "tds_exposed_fixed", "detail": "TDS endpoint answers on a fixed extension version", "error": null}
{"target": "db-c.example.net", "port": 1433, "tds_connect": "open", "prelogin_response": "answered", "handshake_version": null, "extension_version": null, "verdict": "tds_endpoint_version_unknown", "detail": "TDS endpoint answers but no usable version; treat as unknown, not clean", "error": null}
```

```json
{"cve": "CVE-2026-119923", "product": "Babelfish for PostgreSQL (TDS endpoint)", "total_targets": 3, "verdict_counts": {"tds_exposed_affected": 1, "tds_exposed_fixed": 1, "tds_endpoint_version_unknown": 1}, "kev": false, "exploited_in_the_wild": false, "exposure_note": "a refused connect is the only clean; an open endpoint without a version stays unknown"}
```

## FAQ

### Is the prelogin handshake safe to send?

Yes. It is the well-formed packet every SQL Server client sends when opening a connection, and the vulnerability fires only on malformed prelogin input, which the workflow never constructs.

### Do the exposed verdicts apply to Aurora as well as self-managed Babelfish?

Both, with different blast radius. On Aurora the database process boundary limits what a compromised engine process reaches; on self-managed Babelfish the database process user is a host account. Internet exposure of port 1433 is the primary misconfiguration either way.

### Which versions are affected?

The Babelfish extension fixes are 4.10, 5.6, and 6.1 or later, with Aurora PostgreSQL versions mapped in the AWS bulletin. Minor versions the advisory does not list stay unknown, because a gap in the list is never proof of safety. Where the handshake carries no version, verify the cluster or extension version out of band.

### What is CVE-2026-119923?

A heap-based buffer overflow in the Babelfish TDS prelogin parser, reachable unauthenticated over the network and capable of running commands as the database process user. AWS disclosed it in November 2026.

## Related workflows

- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts expose database service ports across the estate first.
- [SSH Crypto Exposure Audit](/library/ssh-crypto-exposure-audit). Reach for it when the next banner-level fingerprint is an SSH crypto audit instead of a database wire protocol.
- [VMware vCenter Auth Bypass (CVE-2026-123890)](/library/vmware-vcenter-auth-bypass-check-cve-2026-123890). Reach for it when the next port-reachability question is a management service.

---
_Markdown source of https://trickest.com/library/babelfish-tds-exposure-check-cve-2026-119923._
