CVE-2025-59530: quic-go has Client Crash Due to Premature HANDSHAKE_DONE Frame

Published Oct 10, 2025
·
Updated

Summary

A misbehaving or malicious server can trigger an assertion in a quic-go client (and crash the process) by sending a premature HANDSHAKEDONE frame during the handshake.

Impact

A misbehaving or malicious server can cause a denial-of-service (DoS) attack on the quic-go client by triggering an assertion failure, leading to a process crash. This requires no authentication and can be exploited during the handshake phase. Observed in the wild with certain server implementations (e.g. Solana's Firedancer QUIC).

Affected Versions

- All versions prior to v0.49.1 (for the 0.49 branch) - Versions v0.50.0 to v0.54.0 (inclusive) - Fixed in v0.49.1, v0.54.1, and v0.55.0 onward

Users are recommended to upgrade to the latest patched version in their respective maintenance branch or to v0.55.0 or later.

Details

For a regular 1-RTT handshake, QUIC uses three sets of keys to encrypt / decrypt QUIC packets:

- Initial keys (derived from a static key and the connection ID) - Handshake keys (derived from the client's and server's key shares in the TLS handshake) - 1-RTT keys (derived when the TLS handshake finishes)

On the client side, Initial keys are discarded when the first Handshake packet is sent. Handshake keys are discarded when the server's HANDSHAKEDONE frame is received, as specified in section 4.9.2 of RFC 9001. Crucially, Initial keys are always dropped before Handshake keys in a standard handshake.

Due to packet reordering, it is possible to receive a packet with a higher encryption level before the key for that encryption level has been derived. For example, the server's Handshake packets (containing, among others, the TLS certificate) might arrive before the server's Initial packet (which contains the TLS ServerHello). In that case, the client queues the Handshake packets and decrypts them as soon as it has processed the ServerHello and derived Handshake keys.

After completion of the handshake, Initial and Handshake packets are not needed anymore and will be dropped. quic-go implements an assertion that no packets are queued after completion of the handshake.

A misbehaving or malicious server can trigger this assertion, and thereby cause a panic, by sending a HANDSHAKEDONE frame before actually completing the handshake. In that case, Handshake keys would be dropped before Initial keys.

This can only happen if the server implementation is misbehaving: the server can only complete the handshake after receiving the client's TLS Finished message (which is sent in Handshake packets).

The Fix

quic-go needs to be able to handle misbehaving server implementations, including those that prematurely send a HANDSHAKEDONE frame. We now discard Initial keys when receiving a HANDSHAKEDONE frame, thereby correctly handling premature HANDSHAKEDONE frames. The fix was implemented in https://github.com/quic-go/quic-go/pull/5354.

Other sources

quic-go has Client Crash Due to Premature HANDSHAKEDONE Frame

Microsoft

quic-go is an implementation of the QUIC protocol in Go. In versions prior to 0.49.0, 0.54.1, and 0.55.0, a misbehaving or malicious server can cause a denial-of-service (DoS) attack on the quic-go client by triggering an assertion failure, leading to a process crash. This requires no authentication and can be exploited during the handshake phase. This was observed in the wild with certain server implementations. quic-go needs to be able to handle misbehaving server implementations, including those that prematurely send a HANDSHAKEDONE frame. Versions 0.49.0, 0.54.1, and 0.55.0 discard Initial keys when receiving a HANDSHAKEDONE frame, thereby correctly handling premature HANDSHAKEDONE frames.

MITRE

Affected Software

5 affected componentsFixes available
Quic-go quic-go<0.49.0, >0.49.0<=0.54.1, >0.54.1<=0.55.0
go/github.com/quic-go/quic-go>=0.50.0<0.54.1
0.54.1
go/github.com/quic-go/quic-go<0.49.1
0.49.1
Microsoft cbl2 coredns 1.11.1-22
Microsoft azl3 coredns 1.11.4-10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/quic-go/quic-go to a version that resolves this vulnerability.

    Fixed in 0.54.1
  2. Upgrade

    Upgrade go/github.com/quic-go/quic-go to a version that resolves this vulnerability.

    Fixed in 0.49.1
  3. Upgrade

    Upgrade quic-go to a version that resolves this vulnerability.

    Fixed in 0.49.1
  4. Upgrade

    Upgrade quic-go to a version that resolves this vulnerability.

    Fixed in 0.54.1
  5. Upgrade

    Upgrade quic-go to a version that resolves this vulnerability.

    Fixed in 0.55.0

Event History

Oct 10, 2025
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·05:03 PM
Data Sourced
via GitHub·05:03 PM
DescriptionSeverityWeaknessAffected Software
Oct 25, 2025
Data Sourced
via Microsoft·02:01 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:01 PM
Affected Software
Updated
via Microsoft·02:01 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59530?

CVE-2025-59530 is classified as a denial-of-service (DoS) vulnerability that can cause a process crash.

2

How do I fix CVE-2025-59530?

To mitigate CVE-2025-59530, upgrade to version 0.49.0, 0.54.1, or 0.55.0 of quic-go.

3

Who is affected by CVE-2025-59530?

CVE-2025-59530 affects quic-go clients running versions prior to 0.49.0, 0.54.1, and 0.55.0.

4

What kind of attack does CVE-2025-59530 allow?

CVE-2025-59530 allows a denial-of-service attack by triggering assertion failures in the quic-go client.

5

What software is impacted by CVE-2025-59530?

CVE-2025-59530 impacts the quic-go implementation of the QUIC protocol in Go programming language.

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