Intel

AIKIDO-2026-128868

tokio-postgres is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 15, 2026

69

Medium Risk

This Affects:

RUSTtokio-postgres
0.4.0 - 0.7.17
Fixed in 0.7.18
Are you affected? Scan for Free

TL;DR

A malicious or compromised server can send a row containing fewer fields than its row description declares columns. Reading one of the missing columns then panics with an out-of-bounds index, aborting the calling task. This affects even the otherwise non-panicking try_get, and both Row and SimpleQueryRow.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if its possible connect to untrusted or user-supplied servers.

Background info

tokio-postgres is vulnerable to Denial of Service (DoS) in versions 0.4.0 - 0.7.17.

How to fix this

Upgrade the tokio-postgres library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform