I understand that this is how it goes:
Malformed Image --> Buffer Overrun --> Stack Over Flow --> Execute Malware Pushed On Stack
And though I don't a huge amount about this, I know that I have had many of these malicious scripts come with images before that have done nasty things within my browser hiding in my cache, but why does do most browsers not protect against this? Is this something exploited through vulnerabilities (if so, there seem to be far too many of them as I've had far too many of these malicious scripts)? Or why is it so difficult to have protection against this?
I just understood from here that browsers don't protect against these things and I want to know why.