A flaw found in Samba allows some SMB1 write requests to not be correctly range-checked to ensure the client has sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).