A client can send a WebSocket frame containing an unknown opcode and an excessively large declared payload length. When auto-fragmentation is enabled, unknown opcodes bypass standard maximum frame size checks, leading the system to attempt a large memory allocation before the opcode is validated. This process can exhaust the JVM heap, potentially causing a denial of service.