Advisory

RUSTSEC-2026-0180

Also known as: GHSA-rgqc-3x5p-6gwg

Summary

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

Not rated by the source.

Dates

Published
2026-06-12 12:00 UTC
Modified
2026-08-25 02:45 UTC

Affected packages and fixes

postgres-protocol

crates.io · All systems

Affected

  • introduced 0.0.0-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: RustSec Advisory Database · CC0-1.0

Sources & licences