Frhed is an open source free hex editor. Though it suffers from a horrible search dialog and hasn't been updated in years, it's still the best free hex editor I've found.