this post was submitted on 30 Jun 2024
167 points (87.1% liked)

memes

9616 readers
2972 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 months ago (2 children)

Isn't there an issue with webp where it could potentially run arbitrary code?

[–] [email protected] 23 points 2 months ago (2 children)

I actually held a presentation on it, yeah! It wasn't really a webp problem, but an issue in the image decoder library which was used in basically.. everything to open Webp. What happened was that you could tell the OS to build a super bad (Huffman Tree, which in turn led to the decoding not fitting in the allocated memory space and overflowing.

[–] [email protected] 4 points 2 months ago

Didn't every imaging lib have similar issues? They are always supposed to be fast and get implemented in C and humans fail memory management. Neverending story...

[–] [email protected] 3 points 2 months ago

I see! Thank you for clearing that up.

[–] [email protected] 2 points 2 months ago

"Can't media format X run arbitrary code" is almost never an issue with the format itself and virtually always a bug with a particular decoder/player.