Advisory

GHSA-rgqc-3x5p-6gwg

Also known as: RUSTSEC-2026-0180

Summary

postgres-protocol: Panic decoding a malformed hstore value allows denial of service

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-24 19:47 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

postgres-protocol

crates.io · All systems

Affected

  • introduced 0, fixed 0.6.12 (semver)

Fixed versions

0.6.12

Fix

  • Fixed version 0.6.12
    cargo update -p postgres-protocol --precise 0.6.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences