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