NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

GHSA-3gjw-f78c-vvpw: tokio-postgres: Panic on a `DataRow` with fewer fields than columns allows denial of service

mediumCVSS 4.0 6.9

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 tryget, and both Row and SimpleQueryRow. Applications that connect only to a trusted database are not exposed;

Published Aug 24, 2026

Affected packages

tokio-postgres

Ecosystem
Rust (crates.io)
Affected
>= 0.4.0, < 0.7.18
Fixed in
0.7.18
Check
cargo tree -i tokio-postgres

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Applications that connect only to a trusted database are not exposed; the risk applies to clients that may connect to untrusted or user-supplied servers, or whose connection can be intercepted by a man-in-the-middle.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology