# CVE-2026-119923: Heap-based Buffer Overflow in Babelfish for PostgreSQL TDS Prelogin Parser


- **Severity:** Critical 9.3 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 6 Nov 2026
- **Updated:** 7 Nov 2026
- **Also known as:** GHSA-g64g-7679-7c73, GHSA-vq28-vgj3-r26w

## What is CVE-2026-119923?

CVE-2026-119923 is a critical vulnerability in AWS Amazon Aurora PostgreSQL with Babelfish, published on 6 Nov 2026. 

### Official description

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.

Weakness: CWE-122 (Heap-based Buffer Overflow)

## Which versions are affected by CVE-2026-119923?


## How do I fix CVE-2026-119923?

No fix has been published for CVE-2026-119923 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-119923 being exploited?

There is no known exploitation of CVE-2026-119923 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-119923 and fix it if it is affected.

What it is: CVE-2026-119923 is a critical vulnerability in AWS Amazon Aurora PostgreSQL with Babelfish, published on 6 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-119923 in the wild and no public exploit code.

Affected product: AWS Amazon Aurora PostgreSQL with Babelfish. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-119923/ (Markdown: https://insights.sbomify.com/CVE-2026-119923/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-119923
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-119923
- OSV: https://osv.dev/vulnerability/CVE-2026-119923

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-119923/
Summaries are generated and may contain mistakes; the official description above is the record.
