{"id":"GHSA-rgqc-3x5p-6gwg","aliases":["RUSTSEC-2026-0180"],"status":"published","title":"postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service","description":"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.","severity":{"version":"4.0","score":6.9,"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","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-248"],"published":"2026-06-12T12:00:00Z","modified":"2026-09-10T03:51:14Z","fixes":[{"ecosystem":"crates.io","package":"postgres-protocol","fixed_in":["0.6.12"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"postgres-protocol","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.12"}]}]},{"source":"osv","ecosystem":"crates.io","package":"postgres-protocol","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.12"}]}]},{"source":"osv","ecosystem":"crates.io","package":"postgres-protocol","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.12"}]}]}],"references":[{"url":"https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d","tags":["web"]},{"url":"https://github.com/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0180.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-rgqc-3x5p-6gwg"},{"url":"https://github.com/rust-postgres/rust-postgres","tags":["package"]},{"url":"https://crates.io/crates/postgres-protocol","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-rgqc-3x5p-6gwg","title":"postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service","description":"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.","status":"published","published":"2026-08-24T19:47:49Z","modified":"2026-08-24T19:47:52Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-20","CWE-248"],"updated_at":"2026-11-02T14:41:04.755504Z"}],"osv":[{"id":"GHSA-rgqc-3x5p-6gwg","title":"postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service","description":"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.","status":"published","published":"2026-08-24T19:47:49Z","modified":"2026-09-10T03:51:14.529550977Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"cwes":["CWE-20","CWE-248"],"updated_at":"2026-11-02T15:46:55.877614Z"},{"id":"RUSTSEC-2026-0180","title":"Panic decoding a malformed `hstore` value allows denial of service","description":"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.","status":"published","published":"2026-06-12T12:00:00Z","modified":"2026-08-25T02:45:03.441978815Z","cvss":[{"version":"4.0","score":6.9,"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","level":"medium"}],"updated_at":"2026-11-02T15:53:40.430679Z"}]}}
