Yes, let us never forget how many exploits there are in trivial codecs like ICO and BMP, because they're written in C(++): https://bugzilla.mozilla.org/show_bug.cgi?id=775794#c0
http://searchfox.org/mozilla-central/rev/bbc1c59e460a27b2092... has some of the gory details.