Buffer overflow in HDLC escaping code at accel-pppd/ctrl/sstp/sstp.c:1806-1832, function sstp_recv_data_packet, the !PPP_SYNC branch
Output buffer is allocated as size*2 + 2 + PPP_FCSLEN, but the loop runs size + PPP_FCSLEN iterations, each able to emit 2 bytes, plus two PPP_FLAG bytes. Worst case is 2*size + 6, two bytes past the allocation.
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Security vulnerability