Google CTF 2025 – webz : Exploiting zlib's Huffman Code Table

velog.io

103 points by rot22 2 days ago


binaryturtle - 2 days ago

It should mention the bug only exists after some arbitrary "patch" was introduced. As the current title makes it sounds like the actual zlib has a security issue.

Goofy_Coyote - 2 days ago

Google CTFs are fascinating. Amazing questions, I always enjoy the write ups.

Unfortunately I’ve never been able to solve one, or even make meaningful progress.

krackers - a day ago

Maybe I'm misgeneralizing, but this seems very similar in flavor to the webp vulnerability a few years back

hamonrye - a day ago

> LZ77 decoding. This actually triggers the bug and causes integer overflow.

As I understand it, accumulating the tables is contingent on CTW.

est - a day ago

Good god that's a wild read.

I wonder if AIs could catch that.