GothenburgBitFactory / GothenburgBitFactory/taskchampion-sync-server

RUSTSEC-2026-0180: Panic decoding a malformed `hstore` value allows denial of service

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
193
Forks
28
Avg merge
6h 16m
Merged PRs (30d)
6

Description

> Panic decoding a malformed `hstore` value allows denial of service

| Details | |
| ------------------- | ---------------------------------------------- |
| Package | `postgres-protocol` |
| Version | `0.6.8` |
| URL | [https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d](https://github.com/rust-postgres/rust-postgres/commit/a7cf84b5c46431cbca9d8ff50508c23f446efa7d) |
| Date | 2026-06-12 |
| Patched versions | `>=0.6.12` |

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.

See [advisory page](https://rustsec.org/advisories/RUSTSEC-2026-0180.html) for additional details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.