Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
def7ce5
docs(advisories): confirm CVE-2024-13978, tiff2pdf is a tool, not a l…
stephen-masters Nov 3, 2026
3a70940
chore(advisories): promote rewrites the note that says a proposal is …
stephen-masters Nov 3, 2026
be11bcb
docs(advisories): confirm CVE-2024-56826, an opj_decompress option, n…
stephen-masters Nov 3, 2026
32f19ee
docs(advisories): confirm CVE-2024-56827, the second opj_decompress o…
stephen-masters Nov 3, 2026
f8cf799
docs(advisories): confirm CVE-2025-8176, tiffmedian is a tool, not a …
stephen-masters Nov 3, 2026
cb764a3
docs(advisories): confirm CVE-2025-8177, the thumbnail tool, not a li…
stephen-masters Nov 3, 2026
73a55f4
docs(advisories): confirm CVE-2025-8534, tiff2ps is a tool, not a lib…
stephen-masters Nov 3, 2026
fa50fd2
docs(advisories): confirm CVE-2025-8851, tiffcrop is a tool, not a li…
stephen-masters Nov 3, 2026
dc03787
docs(advisories): confirm CVE-2025-8961, tiffcrop again, not a librar…
stephen-masters Nov 3, 2026
2c92c9b
docs(advisories): confirm CVE-2025-9165, tiffcmp is a tool, not a lib…
stephen-masters Nov 3, 2026
f550760
docs(advisories): confirm CVE-2025-27363, an embedded font reaches Fr…
stephen-masters Nov 3, 2026
181fe90
docs(advisories): confirm the five other embedded-font records, nothi…
stephen-masters Nov 3, 2026
9e0370b
docs(advisories): confirm CVE-2025-28162, libpng's test program, not …
stephen-masters Nov 3, 2026
81d59c3
docs(advisories): confirm CVE-2025-28164, a setup leak under a saniti…
stephen-masters Nov 3, 2026
fcb2037
docs(advisories): confirm CVE-2025-32364, a function stream only the …
stephen-masters Nov 3, 2026
9635a81
docs(advisories): confirm CVE-2025-32365, a JBIG2 stream refusable by…
stephen-masters Nov 3, 2026
a305fba
docs(advisories): confirm CVE-2025-43718, pdfinfo crashes and the che…
stephen-masters Nov 3, 2026
e02ae7d
docs(advisories): confirm CVE-2025-43903, signature checking is a cal…
stephen-masters Nov 3, 2026
55cf830
docs(advisories): confirm CVE-2025-48379, Pillow's DDS save path, not…
stephen-masters Nov 3, 2026
66e75f1
docs(advisories): confirm CVE-2025-50420, pdfseparate is a tool, not …
stephen-masters Nov 3, 2026
9b1d8fc
docs(advisories): confirm CVE-2025-50952, JPEG 2000 refused by name; …
stephen-masters Nov 3, 2026
2098448
docs(advisories): confirm CVE-2025-52885, the structure tree, pdfinfo…
stephen-masters Nov 3, 2026
f87502f
docs(advisories): confirm CVE-2025-52886, shared reference counting, …
stephen-masters Nov 3, 2026
0a9241c
docs(advisories): confirm CVE-2025-54874, JPEG 2000 refused by name; …
stephen-masters Nov 3, 2026
3ea6c33
docs(advisories): confirm CVE-2025-61143, in TIFFOpen's setup, before…
stephen-masters Nov 3, 2026
306e7a5
docs(advisories): confirm CVE-2025-61145, tiffcrop again, not a libra…
stephen-masters Nov 3, 2026
2576062
docs(advisories): confirm CVE-2025-61144, tiffcrop again, not a libra…
stephen-masters Nov 3, 2026
f8e7117
docs(advisories): confirm CVE-2025-64505, a palette PNG, refused by s…
stephen-masters Nov 3, 2026
2f72fb4
docs(advisories): confirm CVE-2025-64506, libpng's write path, not a …
stephen-masters Nov 3, 2026
c69efd7
docs(advisories): confirm CVE-2026-3713, a contributed tool, not a li…
stephen-masters Nov 3, 2026
082dd17
docs(advisories): confirm CVE-2026-6192, OpenJPEG's encoder, never ru…
stephen-masters Nov 3, 2026
aced3f6
docs(advisories): confirm CVE-2026-10118, a tiling pattern only the r…
stephen-masters Nov 3, 2026
847cd08
docs(advisories): confirm CVE-2026-18495, tiff2pdf on a BigTIFF, not …
stephen-masters Nov 3, 2026
781422a
docs(advisories): confirm CVE-2026-22801, libpng's write path, not a …
stephen-masters Nov 3, 2026
13abe3e
docs(advisories): confirm CVE-2026-22184, a zlib demonstration, not a…
stephen-masters Nov 3, 2026
c6ebd4d
docs(advisories): confirm CVE-2026-25646, quantizing is a call Pillow…
stephen-masters Nov 3, 2026
8aab062
docs(advisories): confirm CVE-2026-25990, a Photoshop file refused by…
stephen-masters Nov 3, 2026
97c4760
docs(advisories): confirm CVE-2026-27171, a zlib helper that inflatin…
stephen-masters Nov 3, 2026
2262983
docs(advisories): confirm CVE-2026-33416, setter APIs that reading ne…
stephen-masters Nov 3, 2026
5524351
docs(advisories): confirm CVE-2026-34757, a caller's misuse of the se…
stephen-masters Nov 3, 2026
b998cc0
docs(advisories): confirm CVE-2026-40192, a FITS file refused as unknown
stephen-masters Nov 3, 2026
920f194
docs(advisories): confirm CVE-2026-40930, the push-mode APNG reader, …
stephen-masters Nov 3, 2026
5ec3dd6
docs(advisories): confirm CVE-2026-42308, text drawing, which Image.o…
stephen-masters Nov 3, 2026
d468096
docs(advisories): confirm CVE-2026-42309, the drawing APIs, which Ima…
stephen-masters Nov 3, 2026
52048b3
docs(advisories): confirm CVE-2026-42310, PdfParser runs only on append
stephen-masters Nov 3, 2026
dd409d8
docs(advisories): confirm CVE-2026-42311, a Photoshop file refused by…
stephen-masters Nov 3, 2026
8701ed5
docs(advisories): confirm CVE-2026-52490, tiffcrop's options, not a l…
stephen-masters Nov 3, 2026
a8676ca
docs(advisories): confirm CVE-2026-52491, the thumbnail tool, not a l…
stephen-masters Nov 3, 2026
30c514c
docs(advisories): confirm CVE-2026-52492, rgb2ycbcr is a tool, not a …
stephen-masters Nov 3, 2026
c6d4c90
docs(advisories): confirm CVE-2026-54058, a McIdas file refused as un…
stephen-masters Nov 3, 2026
ca9c2f7
docs(advisories): confirm CVE-2026-54059, font loading, not Image.open
stephen-masters Nov 3, 2026
bc2c923
docs(advisories): confirm CVE-2026-54060, font handling, which Image.…
stephen-masters Nov 3, 2026
5605aaf
docs(advisories): confirm CVE-2026-55379, font loading, not Image.open
stephen-masters Nov 3, 2026
96fe024
docs(advisories): say how the three bitmap-font records are kept from…
stephen-masters Nov 3, 2026
dbe15df
docs(advisories): confirm CVE-2026-55380, GdImageFile is not register…
stephen-masters Nov 3, 2026
ba36689
docs(advisories): confirm CVE-2026-55798, ImageShow, which opening a …
stephen-masters Nov 3, 2026
73df17e
docs(advisories): say what reaches ImageShow in CVE-2026-55798
stephen-masters Nov 3, 2026
d2d7ec6
docs(advisories): confirm CVE-2026-59197, a filter size the program c…
stephen-masters Nov 3, 2026
8203ad8
docs(advisories): bucket N means the check is not in the path, not "w…
stephen-masters Nov 3, 2026
9b57ed1
docs(advisories): say what rides across in CVE-2026-59198, the TGA ru…
stephen-masters Nov 3, 2026
19a00ba
docs(advisories): confirm CVE-2026-59198, the program's choice of run…
stephen-masters Nov 3, 2026
4b18148
docs(advisories): say what the check bounds in CVE-2026-59199, coordi…
stephen-masters Nov 3, 2026
39a68b1
docs(advisories): confirm CVE-2026-59199, a box the program chooses; …
stephen-masters Nov 3, 2026
3780330
docs(advisories): confirm CVE-2026-59200, a stream's expansion is in …
stephen-masters Nov 3, 2026
8ec694d
docs(advisories): confirm CVE-2026-59203, a PostScript file refused b…
stephen-masters Nov 3, 2026
c0b07f9
docs(advisories): confirm CVE-2026-59204, a JPEG 2000 file refused by…
stephen-masters Nov 3, 2026
0ad325f
docs(advisories): CVE-2026-59205, show that a file cannot cause the m…
stephen-masters Nov 3, 2026
803cb43
docs(advisories): confirm CVE-2026-59205, a mode mismatch between two…
stephen-masters Nov 3, 2026
78366d5
docs(advisories): CVE-2026-85091, nothing in the image stack calls zl…
stephen-masters Nov 3, 2026
98dc92d
docs(advisories): confirm CVE-2026-85091, zlib's gz write layer, whic…
stephen-masters Nov 3, 2026
e63e155
docs(advisories): confirm CVE-2026-93311, a function dictionary only …
stephen-masters Nov 3, 2026
dd0d230
docs(advisories): confirm CVE-2026-93312, a JBIG2 stream refusable by…
stephen-masters Nov 3, 2026
974f660
docs(advisories): confirm CVE-2026-93313, the last JBIG2 stream record
stephen-masters Nov 3, 2026
eb0640c
docs(advisories): confirm CVE-2026-93653, a tiling pattern only the r…
stephen-masters Nov 3, 2026
4547428
docs(advisories): confirm CVE-2026-96638, a BMP refused by name
stephen-masters Nov 3, 2026
13e1a61
docs(advisories): confirm CVE-2026-96640, a repeated page-tree child …
stephen-masters Nov 3, 2026
fa24f62
docs(advisories): CVE-2026-96641, the carrier is a font file, not an …
stephen-masters Nov 3, 2026
fd3fad5
docs(advisories): CVE-2026-96641 is fixed in Pillow 13.0.0, and how t…
stephen-masters Nov 3, 2026
3141efc
docs(advisories): N is never "ignore": a font or archive that carries…
stephen-masters Nov 3, 2026
dc70b61
docs(advisories): confirm CVE-2026-96641, a PILfont refused as unknown
stephen-masters Nov 3, 2026
575685c
docs(advisories): confirm CVE-2026-96642, a tar archive refused as un…
stephen-masters Nov 3, 2026
6e80a78
docs(advisories): confirm CVE-2026-96644, a Windows metafile refused …
stephen-masters Nov 3, 2026
bf23a0e
docs(advisories): confirm CVE-2026-96778, the profile that fills the …
stephen-masters Nov 3, 2026
3cf3da4
docs(advisories): confirm CVE-2026-102621, a clipping path only the r…
stephen-masters Nov 3, 2026
e45f15c
docs(advisories): confirm CVE-2026-107080, OpenJPEG's encoder, which …
stephen-masters Nov 3, 2026
cd5e4c9
docs(advisories): confirm CVE-2026-107705 as A, an encrypted PDF is r…
stephen-masters Nov 3, 2026
5f85e6f
docs(advisories): CVE-2026-107705 is A after all, with the encrypted-…
stephen-masters Nov 3, 2026
9388544
docs(advisories): CVE-2026-112392 is A, a zero dimension is refused u…
stephen-masters Nov 3, 2026
a956c2d
docs(advisories): confirm CVE-2026-112392, a zero dimension refused u…
stephen-masters Nov 3, 2026
e40d307
docs(advisories): confirm CVE-2026-112394 as A by setting, a palette …
stephen-masters Nov 3, 2026
67e4dbd
docs(advisories): CVE-2026-112396 confirmed as B; promotion waits for…
stephen-masters Nov 3, 2026
d5787af
docs(advisories): confirm CVE-2026-112397, a PPM refused as unknown, …
stephen-masters Nov 3, 2026
405ece5
docs(advisories): confirm CVE-2026-112400, a GIF refused by name
stephen-masters Nov 3, 2026
69bd26e
docs(advisories): confirm CVE-2026-112401, a GIF refused by name
stephen-masters Nov 3, 2026
dbadbdb
docs(advisories): CVE-2026-112402, no file carries the transform size…
stephen-masters Nov 3, 2026
aaa1344
docs(advisories): confirm CVE-2026-112402, a transform size the progr…
stephen-masters Nov 3, 2026
3472119
docs(advisories): confirm CVE-2026-112405, a headerless file refused …
stephen-masters Nov 3, 2026
24f9b85
docs(advisories): confirm CVE-2026-112406, a page-tree cycle is in th…
stephen-masters Nov 3, 2026
7cea5fa
docs(advisories): confirm CVE-2026-112891, a long comment bounded by …
stephen-masters Nov 3, 2026
fe2d4d2
docs(advisories): confirm CVE-2026-112892, an MSP file refused as unk…
stephen-masters Nov 3, 2026
fe94295
docs(advisories): confirm CVE-2026-112893, a malformed font refused a…
stephen-masters Nov 3, 2026
c38bf3d
docs(advisories): confirm CVE-2026-112894, a frame count bounded by m…
stephen-masters Nov 3, 2026
ca5cbc0
docs(advisories): confirm CVE-2026-112895, a Kids cycle or Prev chain…
stephen-masters Nov 3, 2026
6836ff3
docs(advisories): CVE-2026-112896 confirmed as B; promotion waits for…
stephen-masters Nov 3, 2026
8ce68f6
docs(advisories): confirm CVE-2026-112897 as A by setting, JPEG-in-TI…
stephen-masters Nov 3, 2026
81e657c
docs(advisories): CVE-2026-112897 is A by setting after all, with the…
stephen-masters Nov 3, 2026
64b58c8
test: a JPEG-compressed TIFF is refused under a policy without jpeg, …
stephen-masters Nov 3, 2026
4575875
docs(advisories): CVE-2026-112898 is A by setting, a file can carry t…
stephen-masters Nov 3, 2026
3ec2bf7
docs(advisories): confirm CVE-2026-112898 as A by setting, an empty p…
stephen-masters Nov 3, 2026
9aced78
docs(advisories): confirm CVE-2026-112899, a PostScript file refused …
stephen-masters Nov 3, 2026
8b5b52f
docs(advisories): CVE-2026-112902 confirmed as B; promotion waits for…
stephen-masters Nov 3, 2026
65c3a10
docs(advisories): confirm CVE-2026-114501, an Arrow export leak that …
stephen-masters Nov 3, 2026
4ba9182
docs(advisories): confirm GHSA-78g4-xqwv-q3g8, a JPEG 2000 file refus…
stephen-masters Nov 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion docs/advisories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,44 @@ answer to the question at the top of this page.
| **B2** | Preventable only by a coarse policy on a PDF's contents: the codec of an image, found by its filter's name in the bytes (`pdf_image_codecs`). Not an embedded font: every searchable PDF carries one, so a policy on fonts has no user, and a flaw in the font program is C | The same as B, through the PDF path; note that the policy will be coarse |
| **C** | Needs decoding to detect: a flaw in the pixel data, the entropy-coded segment, the font program | Out of this library's reach by design; say so and close. Updating the decoder is the fix |
| **D** | Reaches `pdfinfo` itself | Check that the check still fails closed (a timeout or a non-zero exit is a refusal), and close |
| **N** | Not reached by opening a file: a command-line tool, a save or encode path, a drawing or font API, a parser that only runs on append | Close |
| **N** | The check is not in the path, because no file carries the trigger: a tool's options, a size or coordinates the program chooses, an encoder run on the program's own image, a misuse of an API. Not "our pipeline never calls this": a save path that carries a crafted file's metadata is in the path (below), and a font or an archive that carries one is A, because the format gate refuses it | Close |
| **U** | A reserved CVE with no text yet | The job never opens an issue for one; it stays pending and is re-checked weekly. The bucket exists so a hand-filed issue can say so |

The backfill ran 138 advisories through these: 70 N, 30 A, 17 B, 8 B2,
10 C, 1 D, 2 U. Expect the same shape.

### What rides from an opened file into a save

The first reading put every save-path advisory in N, on the reasoning
that opening a file never runs an encoder. That answers the question for
one pipeline, not for a library other people use: the question is whether
the *file* is the input. A program that opens a file from outside and
saves it again, which Tetrak OCR does in three places and most pipelines
do somewhere, carries parts of that file into the encoder: a JPEG's
comment and, when the program passes it, its colour profile; a TIFF's
compression, and its tag table when the program keeps it; a declared frame
count. So the second reading (3 November 2026) asks, for each save-path
advisory, what rides across:

- Nothing from the file (an encoder run on any image, a save to memory,
a tool's own options): N.
- A block or a count the readers already measure (a colour profile that
fills the encoder's buffer, a text chunk, a frame count): A, usually by
a setting of `max_metadata_bytes` or `max_pages` rather than by default.
- A tag in the directory the TIFF reader already walks (private and DNG
tags, a ColorMap that does not fit the sample depth, a Predictor libtiff
rejects): B, awaiting a policy on a TIFF's tags.
- The object graph of a PDF handed to Pillow's own parser on append: C.
The check belongs in front of that PDF for what it does see, but a
cycle in the page tree is not a header field.

A record in N should say which of the first kind it is, so that nobody
reads "not reached" as "not reached by us". And N is never "ignore":
whenever a file carries the trigger and the check would refuse that file,
the record is A and claims the refusal, even for a font or a tar archive
that no image check is usually in front of. The claim costs a test, and
someone who does hand the check such a file is protected.

## What a B finding becomes

A B (or B2) finding becomes **a policy field plus a hostile corpus case,
Expand Down
29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-107705.json

This file was deleted.

30 changes: 0 additions & 30 deletions docs/advisories/proposed/CVE-2026-112392.json

This file was deleted.

30 changes: 0 additions & 30 deletions docs/advisories/proposed/CVE-2026-112394.json

This file was deleted.

8 changes: 4 additions & 4 deletions docs/advisories/proposed/CVE-2026-112396.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"fixed": "12.3.0",
"reached_by": "save",
"trigger": "Image.save(format=\"TIFF\") to an in-memory buffer with a tag libtiff rejects.",
"bucket": "N",
"finding": "On the TIFF save path only; Image.open never runs the encoder.",
"bucket": "B",
"finding": "The rejected tag, a floating-point Predictor on integer samples in the report's example, rides into the save when the program keeps the opened file's tag table, and is visible in the directory the reader walks. A policy on a TIFF's tags, refusing private and unknown tags by name and a ColorMap or Predictor that does not fit the samples, would keep the file from the encoder; it is not built, and these three proposals are its ticket.",
"refusal": null,
"verified_by": [],
"protect": {
"general": "Upgrade to Pillow 12.3.0.",
"specific": "Not a pre-decode matter: the flaw is on a save path."
"specific": "Do not save a file from outside back to TIFF with its tag table, and save to a file rather than memory; upgrade to Pillow 12.3.0."
},
"sources": [
"https://osv.dev/vulnerability/GHSA-4rr5-89j8-mwwm",
"https://osv.dev/vulnerability/PYSEC-2026-4328"
],
"triaged": "2026-11-01",
"checked": "2026-11-01",
"notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; not yet confirmed by a person."
"notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; not yet confirmed by a person. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input. Bucket and finding confirmed by a person on 2026-11-03; waits for the policy on a TIFF's tags and its test before it can be promoted."
}
30 changes: 0 additions & 30 deletions docs/advisories/proposed/CVE-2026-112402.json

This file was deleted.

29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112406.json

This file was deleted.

29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112891.json

This file was deleted.

29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112893.json

This file was deleted.

29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112894.json

This file was deleted.

8 changes: 4 additions & 4 deletions docs/advisories/proposed/CVE-2026-112896.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"fixed": "12.3.0",
"reached_by": "save",
"trigger": "Opening a 16-bit palette TIFF with a 768-entry ColorMap and saving it back as TIFF with its metadata.",
"bucket": "N",
"finding": "On the TIFF save path; opening and loading the file is fine, the over-read is in the encoder.",
"bucket": "B",
"finding": "The ColorMap rides from the opened file's tag table into a save that keeps its metadata. The tag is in the directory the reader already walks, and a ColorMap whose 768 entries disagree with 16-bit samples, which need 65,536 per plane, is visible there. A policy on a TIFF's tags, refusing private and unknown tags by name and a ColorMap or Predictor that does not fit the samples, would keep the file from the encoder; it is not built, and these three proposals are its ticket.",
"refusal": null,
"verified_by": [],
"protect": {
"general": "Upgrade to Pillow 12.3.0.",
"specific": "Not a pre-decode matter: the flaw is on a save path."
"specific": "Do not save a file from outside back to TIFF with its tag table; upgrade to Pillow 12.3.0."
},
"sources": [
"https://osv.dev/vulnerability/GHSA-pchr-8j38-3x4p",
"https://osv.dev/vulnerability/PYSEC-2026-4334"
],
"triaged": "2026-11-01",
"checked": "2026-11-01",
"notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; not yet confirmed by a person."
"notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; not yet confirmed by a person. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input. Bucket and finding confirmed by a person on 2026-11-03; waits for the policy on a TIFF's tags and its test before it can be promoted."
}
29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112897.json

This file was deleted.

29 changes: 0 additions & 29 deletions docs/advisories/proposed/CVE-2026-112898.json

This file was deleted.

Loading
Loading