Aurora PostgreSQL Babelfish flaw may let attackers run commands without a login
- Affected
- Aurora PostgreSQL 13 to 18 with Babelfish turned on, before each release’s fixed version, and the Babelfish for PostgreSQL extension from
1.0through5.4. All versions and fixes
- CVE
- Vendor
- Amazon Web Services
A heap overflow in Babelfish for Amazon Aurora PostgreSQL might let a remote attacker with no login run operating system commands as the database process user, the CVE record says. It takes a malformed packet sent to the TDS port, where Babelfish accepts connections from applications built for SQL Server. AWS published fixes on Nov 6 for Aurora clusters and the open-source extension, and CISA’s assessment in the record lists no exploitation.
Babelfish lets Aurora PostgreSQL understand TDS, the wire protocol SQL Server uses, so applications built for SQL Server can connect without changing drivers or code, AWS explains. AWS describes as a memory-safety flaw in how Babelfish handles the TDS connection handshake. The CVE record places it in the parser for the prelogin packet, as a heap-based buffer overflow, and folds in a related NULL-pointer flaw in the same parser.
AWS rates the flaw 9.8 under CVSS 3.1, with no privileges or user interaction needed, and its bulletin is marked “Important (requires attention)”. CISA’s assessment in the CVE record calls it automatable, with total technical impact. Neither AWS nor CISA reports attacks, and none of the sources mentions public exploit code. AWS doesn’t say who found the flaws, and the record lists no credits.
The same bulletin fixes , an out-of-bounds read in the parser for TDS remote procedure calls. It needs a login, and it might let an attacker read adjacent process memory or cause a denial of service, the record says. AWS rates it 8.1, and CISA’s assessment calls it not automatable, with partial technical impact.
Only clusters with Babelfish turned on are affected, and an attack needs network access to the TDS port, 1433 by default. AWS tells customers to upgrade their clusters to the fixed version for their release and apply any pending maintenance. The self-managed Babelfish for PostgreSQL extension is affected in the versions AWS lists from 1.0 through 5.4, and AWS fixed it in 4.10, 5.6 and 6.1.
- CVE
- Vendor
- Amazon Web Services
What to do
4 steps
Affected and fixed versions
| Product | Affected | Fixed |
|---|---|---|
| Aurora PostgreSQL 13 with Babelfish | Earlier versions | 13.9.16 or 13.23.3 or later |
| Aurora PostgreSQL 14 with Babelfish | Earlier versions | 14.6.16, 14.17.8, 14.18.6, 14.19.5, 14.20.5, 14.22.3 or 14.23.1 or later |
| Aurora PostgreSQL 15 with Babelfish | Earlier versions | 15.10.8, 15.12.8, 15.13.6, 15.14.5, 15.15.5, 15.17.3 or 15.18.1 or later |
| Aurora PostgreSQL 16 with Babelfish | Earlier versions | 16.8.8, 16.9.6, 16.10.5, 16.11.5, 16.13.3 or 16.14.1 or later |
| Aurora PostgreSQL 17 with Babelfish | Earlier versions | 17.4.8, 17.5.6, 17.6.5, 17.7.5, 17.9.3 or 17.10.1 or later |
| Aurora PostgreSQL 18 with Babelfish | Earlier versions | 18.3.4 or 18.4.1 or later |
| Babelfish for PostgreSQL extension | 1.0 through 1.5, 2.1 through 2.15, 3.1 through 3.12, 4.0 through 4.8 and 5.1 through 5.4 | 4.10, 5.6 or 6.1 or later |
- Product
- Aurora PostgreSQL 13 with Babelfish
- Affected
- Earlier versions
- Fixed
13.9.16or13.23.3or later
- Product
- Aurora PostgreSQL 14 with Babelfish
- Affected
- Earlier versions
- Fixed
14.6.16,14.17.8,14.18.6,14.19.5,14.20.5,14.22.3or14.23.1or later
- Product
- Aurora PostgreSQL 15 with Babelfish
- Affected
- Earlier versions
- Fixed
15.10.8,15.12.8,15.13.6,15.14.5,15.15.5,15.17.3or15.18.1or later
- Product
- Aurora PostgreSQL 16 with Babelfish
- Affected
- Earlier versions
- Fixed
16.8.8,16.9.6,16.10.5,16.11.5,16.13.3or16.14.1or later
- Product
- Aurora PostgreSQL 17 with Babelfish
- Affected
- Earlier versions
- Fixed
17.4.8,17.5.6,17.6.5,17.7.5,17.9.3or17.10.1or later
- Product
- Aurora PostgreSQL 18 with Babelfish
- Affected
- Earlier versions
- Fixed
18.3.4or18.4.1or later
- Product
- Babelfish for PostgreSQL extension
- Affected
1.0through1.5,2.1through2.15,3.1through3.12,4.0through4.8and5.1through5.4- Fixed
4.10,5.6or6.1or later
Timeline
- Nov 6AWS publishes bulletin
2026-166-AWSwith fixed Aurora PostgreSQL and Babelfish versions, and the CVE records go public.
Sources
- AWS advisory 2026-166-AWSPrimary source aws.amazon.com
- Babelfish for PostgreSQL advisory GHSA-vq28-vgj3-r26wPrimary source github.com
- CVE record for the prelogin flawPrimary source cve.org
- CVE record for the RPC flawPrimary source cve.org