Security mailing lists by PureSourceCode

RUSTSEC-2026-0178

MEDIUM

tokio-postgres: Panic on a `DataRow` with fewer fields than columns allows denial of service

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.

Published
12 Jun 2026
Last modified
25 Aug 2026
Weakness
CWE-125
Also known as
GHSA-3gjw-f78c-vvpw
Sources
OSV GHSA-3gjw-f78c-vvpwJSONOSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
OSV RustSec CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io tokio-postgres >= 0.4.0, < 0.7.18 0.7.18

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.