RUSTSEC-2026-0180
MEDIUMpostgres-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
- 12 Jun 2026
- Last modified
- 10 Sep 2026
- Weakness
- CWE-20CWE-248
- Also known as
- GHSA-rgqc-3x5p-6gwg
- Sources
- OSV GHSA-rgqc-3x5p-6gwgJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | RustSec | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | postgres-protocol | < 0.6.12 | 0.6.12 |
| OSV | crates.io | postgres-protocol | >= 0.0.0-0, < 0.6.12 | 0.6.12 |
References
- https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d · WEB
- https://github.com/rust-postgres/rust-postgres · PACKAGE
- https://github.com/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12 · WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0180.html · WEB, ADVISORY
- https://crates.io/crates/postgres-protocol · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Aug 2026)