GHSA-5x78-73v4-xg6w: Rust/postgres-protocol vulnerability

Published Aug 24, 2026
·
Updated

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.

Affected Software

1 affected componentFixes available
rust/postgres-protocol>=0.3.0<0.6.12
0.6.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/postgres-protocol to a version that resolves this vulnerability.

    Fixed in 0.6.12

Event History

Aug 24, 2026
Advisory Published
via GitHub·07:43 PM
Data Sourced
via GitHub·07:43 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are realistically exposed?

Clients are exposed when they may connect to untrusted or user-supplied database servers, or when an attacker can intercept the connection as a man in the middle. Applications that connect only to a trusted database are not exposed.

2

What must an attacker do to trigger the denial of service?

The attacker must control, compromise, or intercept the server used during authentication and supply an arbitrarily large SCRAM-SHA-256 PBKDF2 iteration count. The client processes that value inline without an upper bound, tying up a Tokio worker thread for minutes per connection.

3

What is the operational effect of exploitation?

Each malicious authentication can pin a Tokio worker thread for minutes. Multiple affected connections may stall the application's async runtime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203