RUSTSEC-2026-0180

Source
https://rustsec.org/advisories/RUSTSEC-2026-0180
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0180.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0180
Published
2026-06-12T12:00:00Z
Modified
2026-06-12T17:30:03.615499581Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / postgres-protocol

Package

Name
postgres-protocol
View open source insights on deps.dev
Purl
pkg:cargo/postgres-protocol

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.6.12

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "os": [],
        "functions": [
            "postgres_protocol::types::hstore_from_sql"
        ]
    }
}

Database specific

categories
[
    "denial-of-service"
]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0180.json"
informational
null
cvss
"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"