Check if the name of the files you want to attach have special characters (#, $, /, etc.). Rename those files, save them and try again. Clear your browser cache, cookies and temporary files and try to disable your security software. Also, check the troubleshooting guide provided by Yahoo Help Team.