WS-2026-0039
Published:August 28, 2026
Updated:August 31, 2026
A malicious, compromised, or man-in-the-middle PostgreSQL server can supply an arbitrarily large SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client runs the key derivation inline with no upper bound, pinning a tokio worker thread for minutes per connection and possibly stalling the whole async runtime. Applications that connect only to trusted databases are not exposed. Fixed in 0.6.12, which caps the accepted iteration count at 100000 in postgres-protocol/src/authentication/sasl.rs.
Affected Packages
https://github.com/rust-postgres/rust-postgres.git (GITHUB):
Affected version(s) >=postgres-protocol-v0.3.0 <postgres-protocol-v0.6.12Fix Suggestion:
Update to version postgres-protocol-v0.6.12postgres-protocol (RUST):
Affected version(s) >=0.3.0 <0.6.12Fix Suggestion:
Update to version 0.6.12Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling