{"id":"RUSTSEC-2026-0180","summary":"Panic decoding a malformed `hstore` value allows denial of service","details":"A malicious or compromised server can return a binary `hstore` value with an\ninvalid internal length field, causing the client to panic while decoding it.\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.","aliases":["GHSA-rgqc-3x5p-6gwg"],"modified":"2026-08-25T02:45:03.441978815Z","published":"2026-06-12T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/postgres-protocol"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0180.html"},{"type":"WEB","url":"https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d"}],"affected":[{"package":{"name":"postgres-protocol","ecosystem":"crates.io","purl":"pkg:cargo/postgres-protocol"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.12"}]}],"ecosystem_specific":{"affects":{"functions":["postgres_protocol::types::hstore_from_sql"],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"categories":["denial-of-service"],"cvss":"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","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0180.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}