CVE-2025-29785: quic-go Has Panic in Path Probe Loss Recovery Handling
Impact
The loss recovery logic for path probe packets that was added in the v0.50.0 release can be used to trigger a nil-pointer dereference by a malicious QUIC client.
In order to do so, the attacker first sends valid QUIC packets from different remote addresses (thereby triggering the newly added path validation logic: the server sends path probe packets), and then sending ACKs for packets received from the server specifically crafted to trigger the nil-pointer dereference.
Patches
v0.50.1 contains a patch that fixes the vulnerability.
This release contains a test that generates random sequences of sent packets (both regular and path probe packets), that was used to verify that the patch actually covers all corner cases.
Workarounds
No.
References
This issue has been reported publicly, but without any context, in https://github.com/quic-go/quic-go/issues/4981.
Other sources
quic-go is an implementation of the QUIC protocol in Go. The loss recovery logic for path probe packets that was added in the v0.50.0 release can be used to trigger a nil-pointer dereference by a malicious QUIC client. In order to do so, the attacker first sends valid QUIC packets from different remote addresses (thereby triggering the newly added path validation logic: the server sends path probe packets), and then sending ACKs for packets received from the server specifically crafted to trigger the nil-pointer dereference. v0.50.1 contains a patch that fixes the vulnerability. This release contains a test that generates random sequences of sent packets (both regular and path probe packets), that was used to verify that the patch actually covers all corner cases. No known workarounds are available.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-29785?
CVE-2025-29785 is considered a medium severity vulnerability due to the potential for denial of service through nil-pointer dereference.
How do I fix CVE-2025-29785?
To mitigate CVE-2025-29785, upgrade to quic-go version 0.50.1 or higher where the vulnerability has been addressed.
What versions of quic-go are affected by CVE-2025-29785?
CVE-2025-29785 affects quic-go versions from 0.50.0 up to, but not including, 0.50.1.
What type of vulnerability is CVE-2025-29785?
CVE-2025-29785 is a nil-pointer dereference vulnerability that can be exploited by sending crafted QUIC packets.
Who can be impacted by CVE-2025-29785?
Any application or service that utilizes quic-go versions affected by CVE-2025-29785 may be at risk of exploitation.