GHSA-rgqc-3x5p-6gwg: postgres-protocol: Panic decoding a malformed `hstore` value allows denial of service
A malicious or compromised server can return a binary hstore value with an invalid internal length field, causing the client to panic while decoding it. 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.
Published Aug 24, 2026
Affected packages
postgres-protocol
- Ecosystem
- Rust (crates.io)
- Affected
- < 0.6.12
- Fixed in
- 0.6.12
- Check
cargo tree -i postgres-protocol
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A malicious or compromised server can return a binary hstore value with an invalid internal length field, causing the client to panic while decoding it.
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
