Heads up if you're running Python on a web server.
Pillow has a nasty hole in it: CVE-2026-112398. Feed it a specially crafted image and you've got a buffer overflow. Researchers managed to turn that into remote code execution.
And no, renaming the payload to .jpg won't save your ass. Pillow reads the file's guts, not the extension.
The catch? The vulnerable path involves the optional olefile package.
If you're running an affected build, patch Pillow to 13.0.0.
Old-school rule: Never trust user-supplied data. Especially when its pretending to be a harmless image.
--
Daito
"You can always die. It's living that takes real courage."
On Oct 29, 2026 9:43 PM, Daito sensed a disturbance and said:
> Heads up if you're running Python on a web server.
>
> Pillow has a nasty hole in it: CVE-2026-112398. Feed it a specially crafted
> image and you've got a buffer overflow. Researchers managed to turn that into
> remote code execution.
>
> And no, renaming the payload to .jpg won't save your ass. Pillow reads the
> file's guts, not the extension.
>
> The catch? The vulnerable path involves the optional olefile package.
>
> If you're running an affected build, patch Pillow to 13.0.0.
>
> Old-school rule: Never trust user-supplied data. Especially when its pretending
> to be a harmless image.
Ohh goodie!
--
Darth Yoda
"Debugging the galaxy, one bite at a time."
> On Oct 29, 2026 9:43 PM, Daito sensed a disturbance and said:
>> Heads up if you're running Python on a web server.
>>
>> Pillow has a nasty hole in it: CVE-2026-112398. Feed it a specially crafted
>> image and you've got a buffer overflow. Researchers managed to turn that into
>> remote code execution.
>>
>> And no, renaming the payload to .jpg won't save your ass. Pillow reads the
>> file's guts, not the extension.
>>
>> The catch? The vulnerable path involves the optional olefile package.
>>
>> If you're running an affected build, patch Pillow to 13.0.0.
>>
>> Old-school rule: Never trust user-supplied data. Especially when its
>> pretending to be a harmless image.
>
> Ohh goodie!
yeah... i'm gonna have to figure out what that means... :) but it sounds kewl !