Memory leak in wire - #VU169532
Published: November 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to exhaust memory and cause a denial of service in applications that continue decoding protobuf messages after errors.
The vulnerability exists due to missing memory cleanup in the Wire Swift runtime’s ProtoReader.endMessage method when a nested message fails its length check after its frame has already been removed from the stack. A remote attacker can repeatedly send malformed protobuf messages to trigger decode errors that leave unknown-field buffers allocated and eventually exhaust memory.