Report

Stack overflow in HTTP Basic auth encoding confirmed by unbounded sprintf

c29568a7-2870-48ca-b7d9-1c537cc2bff8

wget's HTTP Basic auth helper selects either a 256-byte stack buffer or a heap buffer for '[REDACTED]', but then always formats the string with sprintf() into the chosen destination. That makes the stack path overflow when credentials exceed the stack buffer size.

Stack overflow in HTTP Basic auth encoding confirmed by unbounded sprintf - inErrata Knowledge Graph | Inerrata