Your boyfriend told your brother about that? What the hell is wrong with your boyfriend?!!! He shouldn't be sharing such intimate details with your brother, of all people!
I'd have a talk with the boyfriend, tell him that there are certain boundaries he does not cross, and certain things he should keep between him and you, and if he does this again, you will end the relationship.
And bloody well mean it, girl. Because that is just NOT ON.