Read the docs

NULL dereference in FreeRDP websocket transport on zero length ping

Priority LOW 39Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-83g2-gf92-5c4g. Fix status from GitHub.

Summary

FreeRDP versions at or before 3.31.1 are affected. The websocket transport dereferences a NULL stream when it answers a websocket ping with zero payload length, which crashes the process. A remote gateway that sends such a ping can crash FreeRDP based clients.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Impact FreeRDP based clients crash with a NULL dereference if the gateway sends a websocket ping with 0 length. ### Details `websocket_reply_pong` calls `websocket_reply_close` with `nullptr` as stream parameter ``` WebSocket Ping | | payloadLength == 0 v websocket_reply_pong() | | zero-position response stream v websocket_reply_close(..., nullptr) | v websocket_context_write_wstream(..., nullptr, ...) | v WINPR_ASSERT(sPacket) | v potential NULL dereference / process termination ``` ### Patches 3.32.0 ### Workarounds Do not use `websockets` if possible. Use `/gateway:transport:http,no-websockets`

Why it matters now

Fix Fixed FreeRDP (c): 3.32.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—FreeRDP (c)<= 3.31.13.32.0Patch availableGHSA-83g2-gf92-5c4g
  • FreeRDP (c) Vendor— Affected <= 3.31.1 Fixed in 3.32.0 Patch available GHSA-83g2-gf92-5c4g

Remediation

Upgrade FreeRDP to version 3.32.0. Until then, avoid websockets if possible by using /gateway:transport:http,no-websockets.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-83g2-gf92-5c4g FreeRDP (c) Fixed in 3.32.0 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-83g2-gf92-5c4g

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences