Fixed on your site. Current patches will be updated with the hotfix today.
There was nothing particularly terrible about this error, except that it showed in the logs, or meant that some images were broken. However, the images that triggered this issue were ones that failed to generate a thumbnail anyway, possibly due to the new decompression bomb protection kicking in. This is a good sign. Especially since, after looking quickly at your logs, it looks like someone has been trying to bomb your site's various image functions (not just the wiki).
The hotfix falls back to the full image, when generating a thumbnail would set off a decompression bomb, rather than throwing the undefined index/database error.