Sonic 3 A.I.R. Unbounded Memory Allocation DoS via ReceivedPacketCache
Eukaryot sonic3air
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Eukaryot sonic3air |
|
|
Original description
Sonic 3 A.I.R. before commit 2492d18 contains an unbounded memory allocation vulnerability in ReceivedPacketCache::enqueuePacket() that allows unauthenticated remote attackers to crash the server process by sending a crafted UDP packet with mUniquePacketID set to the maximum uint32 value. The mUniquePacketID field is read directly from the UDP wire-format packet header without bounds checking, causing the server to allocate one CacheItem per missing packet ID gap, exhausting available host memory and propagating an uncaught std::bad_alloc exception to std::terminate().
From the CVE record · VulnCheck