{"id":"RUSTSEC-2026-0178","revision":"b3457019e79e4c80a8b10a6e694d8269","records":[{"revision":"b3457019e79e4c80a8b10a6e694d8269","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0178","aliases":["GHSA-3gjw-f78c-vvpw"],"title":"Panic on a `DataRow` with fewer fields than columns allows denial of service","description":"A malicious or compromised server can send a row containing fewer fields than\nits row description declares columns. Reading one of the missing columns then\npanics with an out-of-bounds index, aborting the calling task. This affects even\nthe otherwise non-panicking `try_get`, and both `Row` and `SimpleQueryRow`.\n\nApplications that connect only to a trusted database are not exposed; the risk\napplies to clients that may connect to untrusted or user-supplied servers, or\nwhose connection can be intercepted by a man-in-the-middle.","state":0,"publishedAt":"2026-06-12T12:00:00+00:00","modifiedAt":"2026-08-25T02:45:03.4370119+00:00","affected":[{"ecosystem":"crates.io","name":"tokio-postgres","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.4.0"},{"kind":"fixed","version":"0.7.18"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null}],"references":["https://crates.io/crates/tokio-postgres","https://rustsec.org/advisories/RUSTSEC-2026-0178.html","https://github.com/rust-postgres/rust-postgres/commit/7a00ffa9ad4d951ec0a4564b52f1780fa9d353c1"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0178","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0178","identifiers":["RUSTSEC-2026-0178","GHSA-3gjw-f78c-vvpw"]},"retained":false,"historicalAffected":[]}],"coverage":[]}