The reply_sesssetup_and_X_spnego function in sesssetup.c in smbd in Samba before 3.4.8 and 3.5.x before 3.5.2 allows remote attackers to trigger an out-of-bounds read, and cause a denial of service (process crash), via a \xff\xff security blob length in a Session Setup AndX request.
git.samba.org/?p=samba.git%3Ba=commit%3Bh=9280051bfba337458722fb157f3082f93cbd9f2b
samba.org/samba/history/samba-3.4.8.html
samba.org/samba/history/samba-3.5.2.html
security-tracker.debian.org/tracker/CVE-2010-1642
www.mandriva.com/security/advisories?name=MDVSA-2010:141
www.securityfocus.com/bid/40097
www.stratsec.net/Research/Advisories/Samba-Multiple-DoS-Vulnerabilities-%28SS-2010-005%29
www.vupen.com/english/advisories/2010/1933
bugzilla.redhat.com/show_bug.cgi?id=594921
bugzilla.samba.org/show_bug.cgi?id=7254