GHSA-5x78-73v4-xg6w json
postgres-protocol: Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service
published 5mo ago modified 2mo ago also RUSTSEC-2026-0179
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
A malicious, compromised, or man-in-the-middle server can supply an arbitrarily large SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client runs it inline with no upper bound, pinning a `tokio` worker thread for minutes per connection, possibly stalling the whole async runtime.
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.
Patch / fix
- crates.io postgres-protocol 0.6.12
Is GHSA-5x78-73v4-xg6w in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | postgres-protocol | >=0.3.0, <0.6.12 |
0.6.12 |
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/rust-postgres/rust-postgres/commit/d40097a36a85068ea50a3afbf0ce154ba439e7f0
web
-
github.com
/rust-postgres/rust-postgres
package
-
github.com
/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12
web
-
rustsec.org
/advisories/RUSTSEC-2026-0179.html
web, advisory
-
crates.io
/crates/postgres-protocol
package
-
github.com
/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq
advisory
Sources
- GitHub Advisory GHSA-5x78-73v4-xg6w
- OSV RUSTSEC-2026-0179
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.