Tetrak
GitHub ↗
Security

Imaging security watch

The published security flaws in the libraries that decode images and PDFs, what each one takes to trigger, and how to protect a pipeline that opens files it did not make. Kept current from sillybos's advisory record, rebuilt weekly.

Every program that reads scans hands each file to a decoder, and decoders have flaws. In October 2026 Pillow fixed more than thirty at once, several of them reachable by opening a single crafted file. Anyone who runs an OCR pipeline, a thumbnailer or an upload form has the same question each time one is announced: does this reach me, and what do I do?

This page is our answer, written down. It comes from the work behind sillybos, the library that decides whether a file may be opened before any decoder sees it: every advisory on the libraries we watch is fetched weekly, read by a person, and recorded with what triggers it, whether opening a file reaches it, whether a check before decoding would have refused the file, and how to protect yourself with or without that check. The record is public data in the sillybos repository; this page is built from it.

Three things it is not. It is not a vulnerability database: OSV.dev and the GitHub Advisory Database are, and every row links to them. It is not a claim that sillybos prevents everything: a row says refused by default only where a test in the sillybos suite builds the triggering file and proves it is refused, and many rows say plainly that nothing before the decoder can help. And it is not advice to skip upgrading. The first line of every “how to protect yourself” entry is the fixed version.

If you only want the general advice, read Protecting yourself.

What is watched

The libraries below are the ones sillybos's weekly job asks OSV.dev about. A library with a page has advisories in the record; the others are watched and have none recorded yet.

FreeType freetype on Debian
The font renderer, which poppler uses for the text in a PDF and Pillow uses to draw text.
libjpeg-turbo libjpeg-turbo on Debian
The JPEG decoder nearly everything uses, Pillow included.
libpng libpng1.6 on Debian
The reference C library for PNG, used by Pillow, browsers and most image software.
libtiff tiff on Debian
The C library that reads and writes TIFF, the format most archival scans are kept in. Pillow, poppler, ImageMagick and nearly everything else decode TIFF through it.
OpenJPEG openjpeg2 on Debian
The JPEG 2000 codec, bundled inside Pillow's wheels and used by poppler for JPEG 2000 streams inside PDFs.
Pillow pillow on PyPI
The Python image library. Most Python programs that open a JPEG, PNG or TIFF do it with Pillow, Tetrak OCR included; it wraps libjpeg-turbo, libpng, libtiff and the others below.
poppler poppler on Debian
The PDF renderer behind pdftoppm and pdfinfo, which Tetrak OCR and most Python PDF tools call to turn pages into images.
zlib zlib on Debian
The compression library inside PNG and Deflate-compressed TIFF, so a flaw in it reaches every program that opens either.

The advisories

124 recorded · 46 refused by sillybos's default policy · record generated 2026-11-09

Reaches you says how the triggering input gets to the flaw: by opening a file is the one that matters for a pipeline that takes files from outside. What sillybos does is the record's claim, and "refused by default" is only written where a test proves it. Each row links to a page with the trigger, the finding, the tests and the advice in full.

PublishedAdvisoryLibraryReaches youWhat sillybos does
OpenJPEG's wavelet encoder reads and writes out of bounds CVE-2026-107080OpenJPEGon a save pathNot reached by opening a file
A FlashPix file runs code when opened, if olefile is installed CVE-2026-112398Pillowby opening a fileRefused by default
Pillow's bundled OpenJPEG carries an unreleased heap-overflow fix GHSA-78g4-xqwv-q3g8Pillowby opening a fileRefused by default
A SPIDER stack file bypasses the pixel limit on seek CVE-2026-96637Pillowby opening a fileRefused by default
A shared page-tree graph makes Pillow's PDF append take disproportionate time CVE-2026-96640Pillowthrough another callNeeds decoding to detect
A PNG's EXIF chunk makes parsing take quadratic time CVE-2026-96643Pillowby opening a fileRefused by default
A multi-frame file that changes colour mode writes into a buffer sized for the first frame CVE-2026-96639Pillowby opening a fileRefused by default
A later frame of an MPO or DCX file is never checked against the pixel limit CVE-2026-96636Pillowby opening a fileRefused by default
A kilobyte BMP makes Pillow's run-length decoder allocate gigabytes CVE-2026-96638Pillowby opening a fileRefused by default
A JPEG comment after a full ICC profile overflows Pillow's JPEG encoder CVE-2026-96778Pillowon a save pathRefused with a setting
Saving a TIFF to memory overruns a heap buffer CVE-2026-112393Pillowon a save pathNot reached by opening a file
Saving a multi-frame image as a PDF takes quadratic time CVE-2026-112894Pillowon a save pathRefused by default
Saving a GIF with a long comment copies it in quadratic time CVE-2026-112891Pillowon a save pathRefused with a setting
Pillow's PDF parser recurses without limit when appending CVE-2026-112391Pillowon a save pathNeeds decoding to detect
PdfParser.rewrite_pages loops for ever on a page-tree Parent cycle CVE-2026-112406Pillowthrough another callNeeds decoding to detect
Image.quantize with an empty palette returns uninitialised stack memory CVE-2026-112898Pillowthrough another callRefused with a setting
Crafted TIFF tags make Pillow's libtiff encoder copy process memory into the output CVE-2026-112902Pillowon a save pathRefused with a setting
Arrow export leaks heap memory when PILLOW_ALIGNMENT is above 1 CVE-2026-114501Pillowthrough another callNot reached by opening a file
An EPS file's name is passed to Ghostscript as an option CVE-2026-112900Pillowby opening a fileRefused by default
An animated PNG allocates its full canvas before the pixel limit is checked CVE-2026-112399Pillowby opening a fileRefused by default
A wide, short metafile over-reads the heap in Pillow's Windows renderer CVE-2026-96644Pillowby opening a fileRefused by default
A tiny MSP file expands without bound in Pillow's run-length decoder CVE-2026-112892Pillowby opening a fileRefused by default
A PILfont's negative glyph advance makes a signed integer wrap CVE-2026-96641Pillowthrough another callRefused by default
A negative size in a tar header spins Pillow's TarIO for ever CVE-2026-96642Pillowthrough another callRefused by default
A MIC file makes counting its frames loop for ever CVE-2026-112390Pillowby opening a fileRefused by default
A GIF's comments are concatenated in quadratic time in Image.open CVE-2026-112401Pillowby opening a fileRefused by default
A failed glyph load with a stroker active frees an invalid pointer CVE-2026-112893Pillowthrough another callRefused by default
A 512-byte XBM file stalls Image.open() for minutes CVE-2026-112901Pillowby opening a fileRefused by default
PdfParser recurses without bound on a cyclic page tree or trailer chain CVE-2026-112895Pillowthrough another callNeeds decoding to detect
Loading an EPS at a scale lets Ghostscript render past the bomb limit CVE-2026-112899Pillowby opening a fileRefused by default
A tiled TIFF makes the decoder read past its tile buffer CVE-2026-112395Pillowby opening a fileRefused with a setting
A TIFF with short JPEG strips returns uninitialised memory as pixels CVE-2026-112897Pillowby opening a fileRefused with a setting
A malformed compressed TIFF leaks heap memory into its pixels CVE-2026-112404Pillowby opening a fileRefused with a setting
A lossless JPEG overruns the decode buffer when scaled CVE-2026-112403Pillowby opening a fileRefused by default
A 60-byte GIF makes Pillow allocate gigabytes after a bomb error is caught CVE-2026-112400Pillowby opening a fileRefused by default
Saving a TIFF with a retained ColorMap over-reads in Pillow's encoder CVE-2026-112896Pillowon a save pathRefused by default
Pillow's 2- and 4-bit palette unpackers read past the buffer CVE-2026-112394Pillowby opening a fileRefused with a setting
Image.transform frees twice when an oversized transform runs out of memory CVE-2026-112402Pillowthrough another callNot reached by opening a file
Encoding a TIFF to memory uses a freed buffer when libtiff rejects a tag CVE-2026-112396Pillowon a save pathRefused by default
An IPTC file with no recognisable header drives Image.merge into a null pointer CVE-2026-112405Pillowby opening a fileRefused by default
A zero-width PPM image crashes Pillow's morphology code CVE-2026-112397Pillowthrough another callRefused by default
A rank filter on a zero-size image dereferences a null pointer CVE-2026-112392Pillowthrough another callRefused by default
A long password overflows the stack when poppler opens an AESV3 PDF CVE-2026-107705popplerthrough another callRefused by default
A CID-keyed font makes FreeType allocate and decrypt without end CVE-2026-95512FreeTypeby opening a fileNeeds decoding to detect
Converting an embedded TrueType font overflows an integer in poppler CVE-2026-102620popplerby opening a fileNeeds decoding to detect
A clipping path overflows an integer in poppler's Splash renderer CVE-2026-102621popplerby opening a fileNeeds decoding to detect
poppler's JBIG2Stream::rewind dereferences a null pointer CVE-2026-93312popplerby opening a fileRefused with a setting
An embedded TrueType font's segment count overflows an integer in poppler CVE-2026-93314popplerby opening a fileNeeds decoding to detect
A tiling pattern near the int32 boundary spins poppler's Splash renderer CVE-2026-93653popplerby opening a fileNeeds decoding to detect
A sampled function's BitsPerSample overflows an integer in poppler CVE-2026-93311popplerby opening a fileNeeds decoding to detect
A JBIG2 code table overflows an integer in poppler CVE-2026-93313popplerby opening a fileRefused with a setting
tiff2pdf truncates a BigTIFF strip byte count and overflows CVE-2026-18495libtiffthrough a command-line toolNot reached by opening a file
zlib's gz_vacate overflows a heap buffer after a stalled gzwrite CVE-2026-85091zlibon a save pathNot reached by opening a file
The thumbnail tool's main allows arbitrary code execution CVE-2026-52491libtiffthrough a command-line toolNot reached by opening a file
zlib's gz_write overflows a heap buffer after a failed write CVE-2026-76844zlibon a save pathNot reached by opening a file
tiffcrop's option parsing allows arbitrary code execution CVE-2026-52490libtiffthrough a command-line toolNot reached by opening a file
rgb2ycbcr undersizes a strip buffer and overflows it CVE-2026-52492libtiffthrough a command-line toolNot reached by opening a file
Pillow's TGA run-length encoder copies heap bytes into the file it writes CVE-2026-59198Pillowon a save pathNot reached by opening a file
PdfParser inflates a PDF stream without an upper bound CVE-2026-59200Pillowthrough another callNeeds decoding to detect
A tiled JPEG 2000 grows Pillow's scratch buffer to a whole image CVE-2026-59204Pillowby opening a fileRefused by default
A McIdas AREA file's row stride over-reads Pillow's memory map CVE-2026-54058Pillowby opening a fileRefused by default
Coordinates near the 32-bit limit write out of bounds in Pillow's paste and crop CVE-2026-59199Pillowthrough another callNot reached by opening a file
An output image of the wrong mode corrupts the heap in ImageCms transforms CVE-2026-59205Pillowthrough another callNot reached by opening a file
A negative byte count in an EPS file loops Image.open for ever CVE-2026-59203Pillowby opening a fileRefused by default
A huge rank-filter size writes out of bounds in ImagingExpand CVE-2026-59197Pillowthrough another callNot reached by opening a file
FreeType over-reads variation design coordinates CVE-2026-50811FreeTypeby opening a fileNeeds decoding to detect
Pillow's Windows viewer builds a shell command from an unescaped path CVE-2026-55798Pillowthrough another callNot reached by opening a file
GdImageFile.open accepts any dimensions without the bomb check CVE-2026-55380Pillowthrough another callRefused by default
FontFile.compile assembles a bitmap without the bomb check CVE-2026-54060Pillowthrough another callRefused by default
A PCF font's glyph sizes bypass Pillow's decompression-bomb check CVE-2026-54059Pillowthrough another callRefused by default
A BDF font's bounding box bypasses Pillow's decompression-bomb check CVE-2026-55379Pillowthrough another callRefused by default
A PixarLog-compressed TIFF overflows a libtiff heap buffer CVE-2026-12912libtiffby opening a fileRefused by default
libpng's push-mode APNG parser misreads a discarded chunk as a header CVE-2026-40930libpngby opening a fileNeeds decoding to detect
A tiling pattern overflows an allocation in poppler's Splash renderer CVE-2026-10118popplerby opening a fileNeeds decoding to detect
PSD tile extents overflow Pillow's bounds check and write out of bounds CVE-2026-42311Pillowby opening a fileRefused by default
Pillow's PdfParser loops for ever on a cyclic trailer CVE-2026-42310Pillowthrough another callNeeds decoding to detect
Nested coordinate lists overrun a heap buffer in Pillow's drawing CVE-2026-42309Pillowthrough another callNot reached by opening a file
A font with huge glyph advances overflows Pillow's position counter CVE-2026-42308Pillowthrough another callRefused by default
OpenJPEG's encoder overflows an integer in opj_pi_initialise_encode CVE-2026-6192OpenJPEGon a save pathNot reached by opening a file
A FITS file's gzip stream expands without limit in Pillow CVE-2026-40192Pillowby opening a fileRefused by default
Passing a libpng getter's pointer back to its setter reads freed memory CVE-2026-34757libpngthrough another callNot reached by opening a file
png_set_tRNS and png_set_PLTE share one buffer between two structs CVE-2026-33416libpngthrough another callNot reached by opening a file
A palette PNG reaches a flaw in libpng's palette handling CVE-2026-33636libpngby opening a fileRefused with a setting
A YCbCr TIFF subsampled four to one overflows a libtiff buffer CVE-2026-4775libtiffby opening a fileRefused by default
The pnm2png contributed tool overruns a heap buffer CVE-2026-3713libpngthrough a command-line toolNot reached by opening a file
An OpenType variable font's variation tables over-read in FreeType CVE-2026-23865FreeTypeby opening a fileNeeds decoding to detect
tiffcrop overruns the stack in readSeparateStripsIntoBuffer CVE-2025-61144libtiffthrough a command-line toolNot reached by opening a file
tiffcrop frees memory twice CVE-2025-61145libtiffthrough a command-line toolNot reached by opening a file
libtiff dereferences a null pointer while opening a file CVE-2025-61143libtiffby opening a fileNeeds decoding to detect
zlib's crc32_combine can spin on a shift loop CVE-2026-27171zlibthrough another callNot reached by opening a file
A crafted PSD file writes out of bounds when Pillow loads it CVE-2026-25990Pillowby opening a fileRefused by default
png_set_quantize loops for ever on some palettes CVE-2026-25646libpngthrough another callNot reached by opening a file
libpng's pngimage test program leaks memory CVE-2025-28162libpngthrough a command-line toolNot reached by opening a file
libpng 1.6.43 to 1.6.46 leaks in png_create_read_struct under a sanitiser CVE-2025-28164libpngthrough another callNot reached by opening a file
libpng's simplified write truncates a row stride and over-reads CVE-2026-22801libpngon a save pathNot reached by opening a file
An interlaced 16-bit PNG overflows a libpng buffer CVE-2026-22695libpngby opening a fileRefused by default
zlib's untgz demonstration overruns a global buffer CVE-2026-22184zlibthrough a command-line toolNot reached by opening a file
A palette PNG reaches a flaw in libpng's palette handling CVE-2025-66293libpngby opening a fileRefused with a setting
Out-of-range palette indices over-read libpng's quantize table CVE-2025-64505libpngthrough another callRefused with a setting
libpng's simplified 8-bit write over-reads its row buffer CVE-2025-64506libpngon a save pathNot reached by opening a file
An interlaced 16-bit PNG overflows a libpng buffer CVE-2025-65018libpngby opening a fileRefused by default
A palette PNG reaches a flaw in libpng's palette handling CVE-2025-64720libpngby opening a fileRefused with a setting
poppler's structure tree holds dangling pointers after a vector resize CVE-2025-52885popplerby opening a fileReaches pdfinfo itself
Deeply nested PDF metadata exhausts poppler's stack CVE-2025-43718popplerby opening a fileReaches pdfinfo itself
An abnormally tall TIFF makes libtiff write colour data to an arbitrary address CVE-2025-9900libtiffby opening a fileRefused by default
tiffcmp leaks memory CVE-2025-9165libtiffthrough a command-line toolNot reached by opening a file
tiffcrop corrupts memory in main CVE-2025-8961libtiffthrough a command-line toolNot reached by opening a file
tiffcrop overruns a stack buffer in readSeparateStripsetoBuffer CVE-2025-8851libtiffthrough a command-line toolNot reached by opening a file
OpenJPEG dereferences a null pointer in the wavelet transform CVE-2025-50952OpenJPEGby opening a fileRefused by default
tiff2ps dereferences a null pointer in PS_Lvl2page CVE-2025-8534libtiffthrough a command-line toolNot reached by opening a file
A short JP2 stream makes OpenJPEG write out of bounds in opj_jp2_read_header CVE-2025-54874OpenJPEGby opening a fileRefused by default
pdfseparate recurses without limit on a crafted PDF CVE-2025-50420popplerthrough a command-line toolNot reached by opening a file
tiff2pdf dereferences a null pointer CVE-2024-13978libtiffthrough a command-line toolNot reached by opening a file
tiffmedian uses memory after freeing it CVE-2025-8176libtiffthrough a command-line toolNot reached by opening a file
The thumbnail tool overruns a buffer in setrow CVE-2025-8177libtiffthrough a command-line toolNot reached by opening a file
poppler's 32-bit reference count can overflow into a use-after-free CVE-2025-52886popplerby opening a fileReaches pdfinfo itself
Saving a large DDS image overruns a heap buffer in Pillow's BCn encoder CVE-2025-48379Pillowon a save pathNot reached by opening a file
poppler accepts a forged adbe.pkcs7.sha1 signature CVE-2025-43903popplerthrough another callNot reached by opening a file
A PostScript calculator function in a PDF divides by INT_MIN and crashes poppler CVE-2025-32364popplerby opening a fileNeeds decoding to detect
A JBIG2 stream in a PDF reads out of bounds in poppler's JBIG2Bitmap::combine CVE-2025-32365popplerby opening a fileRefused with a setting
A variable TrueType font embedded in a PDF overruns a FreeType heap buffer CVE-2025-27363FreeTypeby opening a fileNeeds decoding to detect
opj_decompress overruns a heap buffer with certain options (second report) CVE-2024-56827OpenJPEGthrough a command-line toolNot reached by opening a file
opj_decompress overruns a heap buffer with certain options CVE-2024-56826OpenJPEGthrough a command-line toolNot reached by opening a file
A TIFF tag that points past the file makes libtiff allocate for nothing CVE-2023-6277libtiffby opening a fileRefused by default

Follow it

New advisories turn up in the RSS feed. The whole record is also published as JSON, with a link to each page here, for anyone who would rather read it by machine; the file it is built from is in the sillybos repository. The site is rebuilt every Monday after the weekly advisory run, and on every change to the record.