saned in sane-backends 1.0.7 and earlier calls malloc with an arbitrary size value if a connection is dropped before the size value has been sent, which allows remote attackers to cause a denial of service (memory consumption or crash).
http://www.securityfocus.com/bid/8600
http://www.securityfocus.com/bid/8593
http://www.redhat.com/support/errata/RHSA-2003-285.html
http://www.redhat.com/support/errata/RHSA-2003-278.html
http://www.novell.com/linux/security/advisories/2003_046_sane.html
http://www.mandriva.com/security/advisories?name=MDKSA-2003:099