GHSA-3gjw-f78c-vvpw

Suggest an improvement
Source
https://github.com/advisories/GHSA-3gjw-f78c-vvpw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-3gjw-f78c-vvpw/GHSA-3gjw-f78c-vvpw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3gjw-f78c-vvpw
Aliases
Downstream
Published
2026-08-24T19:49:17Z
Modified
2026-08-25T02:55:59Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
tokio-postgres: Panic on a `DataRow` with fewer fields than columns allows denial of service
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-24T19:49:17Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

crates.io / tokio-postgres

Package

Name
tokio-postgres
View open source insights on deps.dev
Purl
pkg:cargo/tokio-postgres

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.7.18

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-3gjw-f78c-vvpw/GHSA-3gjw-f78c-vvpw.json"