{"id":"GHSA-rgqc-3x5p-6gwg","aliases":["GHSA-rgqc-3x5p-6gwg","RUSTSEC-2026-0180"],"related":[],"kind":"vulnerability","state":"published","title":"postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2026-06-12T12:00:00.000Z","modified":"2026-09-10T03:51:14.529Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-20","CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.12"}],"ecosystem":"crates.io","package":"postgres-protocol","purl":"pkg:cargo/postgres-protocol","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.6.12"}],"ecosystem":"crates.io","package":"postgres-protocol","purl":"pkg:cargo/postgres-protocol","source":"rustsec"}],"references":[{"url":"https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rust-postgres/rust-postgres","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0180.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/postgres-protocol","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rgqc-3x5p-6gwg","url":"https://github.com/advisories/GHSA-rgqc-3x5p-6gwg","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:14.529Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0180","url":"https://rustsec.org/advisories/RUSTSEC-2026-0180.html","licence":"CC0-1.0","modified":"2026-08-25T02:45:03.441Z"}],"updatedAt":"2026-11-25T22:56:43.371Z"}