diff --git a/docs/advisories/README.md b/docs/advisories/README.md index d54947d..536fd18 100644 --- a/docs/advisories/README.md +++ b/docs/advisories/README.md @@ -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, diff --git a/docs/advisories/proposed/CVE-2026-107705.json b/docs/advisories/proposed/CVE-2026-107705.json deleted file mode 100644 index 4deae35..0000000 --- a/docs/advisories/proposed/CVE-2026-107705.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-107705", - "aliases": [], - "library": "poppler", - "package": "poppler", - "ecosystem": "Debian", - "title": "A long password overflows the stack when poppler opens an AESV3 PDF", - "summary": "Poppler 0.42.0 through 26.10.0 contains a stack-based buffer overflow in Decrypt::revision6Hash() that allows attackers controlling the password to overwrite stack memory when opening AESV3/R6 encrypted PDFs.", - "published": "2026-10-08", - "severity": null, - "affected": "poppler 0.42.0 through 26.10.0", - "fixed": null, - "reached_by": "api", - "trigger": "Opening an encrypted (AESV3, revision 6) PDF with a password longer than 127 bytes supplied by the caller.", - "bucket": "N", - "finding": "The password, not the file, is the over-long input, and an encrypted PDF is refused by default before poppler is asked to open it. A pipeline that supplies no password never reaches it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", - "specific": "Keep allow_encrypted_pdf off, as the default does; where passwords are accepted, bound their length." - }, - "sources": [ - "https://osv.dev/vulnerability/DEBIAN-CVE-2026-107705" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112392.json b/docs/advisories/proposed/CVE-2026-112392.json deleted file mode 100644 index adc702a..0000000 --- a/docs/advisories/proposed/CVE-2026-112392.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-112392", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A rank filter on a zero-size image dereferences a null pointer", - "summary": "Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images", - "published": "2026-10-19", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Applying a median, minimum, maximum or rank filter to an image with zero width or height.", - "bucket": "N", - "finding": "In the filter API; opening a file never runs it, and sillybos refuses an image with a zero dimension in any case.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-27h8-gf7j-v5hc", - "https://osv.dev/vulnerability/PYSEC-2026-4326" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112394.json b/docs/advisories/proposed/CVE-2026-112394.json deleted file mode 100644 index 82a95b8..0000000 --- a/docs/advisories/proposed/CVE-2026-112394.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-112394", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Pillow's 2- and 4-bit palette unpackers read past the buffer", - "summary": "Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size", - "published": "2026-10-19", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "open", - "trigger": "Loading an image whose raw tile uses the P;2L or P;4L unpacker with a width that leaves the line size and the unpacker's stride disagreeing.", - "bucket": "C", - "finding": "Which unpacker a tile uses is decided inside Pillow from the format's own header, not from a field sillybos reads; a 2- or 4-bit palette PNG passes a header check. Out of a header check's reach, though a scans-only policy without palette PNGs narrows the path.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Keep png_colour_types to greyscale and rgb for scans; decode in a boxed process." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-4558-3h8r-v8xp", - "https://osv.dev/vulnerability/PYSEC-2026-4327" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112396.json b/docs/advisories/proposed/CVE-2026-112396.json index 86ff96f..e913631 100644 --- a/docs/advisories/proposed/CVE-2026-112396.json +++ b/docs/advisories/proposed/CVE-2026-112396.json @@ -12,13 +12,13 @@ "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", @@ -26,5 +26,5 @@ ], "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." } diff --git a/docs/advisories/proposed/CVE-2026-112402.json b/docs/advisories/proposed/CVE-2026-112402.json deleted file mode 100644 index 5c93ab2..0000000 --- a/docs/advisories/proposed/CVE-2026-112402.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-112402", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Image.transform frees twice when an oversized transform runs out of memory", - "summary": "Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform", - "published": "2026-10-19", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Image.transform with an output size too large to allocate.", - "bucket": "N", - "finding": "In the transform API, with a size the caller chooses; opening a file never runs it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-7mwm-ghpf-9vrm", - "https://osv.dev/vulnerability/PYSEC-2026-4331" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112406.json b/docs/advisories/proposed/CVE-2026-112406.json deleted file mode 100644 index f7a26fc..0000000 --- a/docs/advisories/proposed/CVE-2026-112406.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112406", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "PdfParser.rewrite_pages loops for ever on a page-tree Parent cycle", - "summary": "Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle", - "published": "2026-10-21", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", - "bucket": "N", - "finding": "PdfParser runs only when a PDF is appended to; opening a file never runs it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-f2g6-542v-9j58" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112891.json b/docs/advisories/proposed/CVE-2026-112891.json deleted file mode 100644 index e4d6b2f..0000000 --- a/docs/advisories/proposed/CVE-2026-112891.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112891", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Saving a GIF with a long comment copies it in quadratic time", - "summary": "Pillow: Quadratic GIF comment copying during save", - "published": "2026-10-21", - "severity": null, - "affected": "12.3.0", - "fixed": null, - "reached_by": "save", - "trigger": "Image.save(format=\"GIF\") of an image carrying a long comment.", - "bucket": "N", - "finding": "On the GIF save path; and a GIF is refused by name on the way in.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", - "specific": "Not a pre-decode matter: the flaw is on a save path." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-fc9g-5qg7-mf45" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112893.json b/docs/advisories/proposed/CVE-2026-112893.json deleted file mode 100644 index 674d166..0000000 --- a/docs/advisories/proposed/CVE-2026-112893.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112893", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A failed glyph load with a stroker active frees an invalid pointer", - "summary": "Pillow: Invalid free in FreeType glyph rendering when a stroker is active", - "published": "2026-10-21", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Drawing stroked text with a malformed font through ImageDraw and ImageFont.", - "bucket": "N", - "finding": "In text drawing, which Image.open never runs.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-j4m9-6w36-pw47" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112894.json b/docs/advisories/proposed/CVE-2026-112894.json deleted file mode 100644 index 43f2ac9..0000000 --- a/docs/advisories/proposed/CVE-2026-112894.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112894", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Saving a multi-frame image as a PDF takes quadratic time", - "summary": "Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)", - "published": "2026-10-21", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "save", - "trigger": "Image.save(format=\"PDF\", save_all=True) of an image with many frames.", - "bucket": "N", - "finding": "On the PDF save path; opening a file never runs the writer.", - "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." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-jg86-v3jv-hrpm" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112896.json b/docs/advisories/proposed/CVE-2026-112896.json index 2efd7a4..680cf1b 100644 --- a/docs/advisories/proposed/CVE-2026-112896.json +++ b/docs/advisories/proposed/CVE-2026-112896.json @@ -12,13 +12,13 @@ "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", @@ -26,5 +26,5 @@ ], "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." } diff --git a/docs/advisories/proposed/CVE-2026-112897.json b/docs/advisories/proposed/CVE-2026-112897.json deleted file mode 100644 index aada6b4..0000000 --- a/docs/advisories/proposed/CVE-2026-112897.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112897", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A TIFF with short JPEG strips returns uninitialised memory as pixels", - "summary": "Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips", - "published": "2026-10-20", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "open", - "trigger": "Opening and loading a small crafted JPEG-compressed TIFF whose strips hold less data than a strip needs.", - "bucket": "C", - "finding": "JPEG compression in a TIFF is allowed by default, since scanners write it; how much data each strip holds is in the strip byte counts, and the shortfall only shows when the strip is decoded. Out of a header check's reach; a policy without jpeg in tiff_compressions would refuse the file, at the cost of refusing real JPEG-in-TIFF scans.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Decode in a boxed process; if your scans are never JPEG-compressed TIFFs, drop jpeg from tiff_compressions." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-q45j-58j2-45rg" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112898.json b/docs/advisories/proposed/CVE-2026-112898.json deleted file mode 100644 index 869799d..0000000 --- a/docs/advisories/proposed/CVE-2026-112898.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-112898", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Image.quantize with an empty palette returns uninitialised stack memory", - "summary": "Pillow: Image.quantize() with empty palette leaks uninitialized stack memory", - "published": "2026-10-21", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Image.quantize(palette=...) with a palette image that has no palette.", - "bucket": "N", - "finding": "In the quantize API with an argument the caller supplies; opening a file never runs it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-rfgq-q3w2-pmv2" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-112902.json b/docs/advisories/proposed/CVE-2026-112902.json index 375b24b..a533aaf 100644 --- a/docs/advisories/proposed/CVE-2026-112902.json +++ b/docs/advisories/proposed/CVE-2026-112902.json @@ -12,18 +12,18 @@ "fixed": "12.3.0", "reached_by": "save", "trigger": "Opening a crafted TIFF and saving it back as TIFF with its tags.", - "bucket": "N", - "finding": "In the encoder, when the file is written back out; opening and loading alone does not reach it.", + "bucket": "B", + "finding": "The crafted tags (DNGPrivateData and ActiveArea, private and DNG tags a scan never carries) ride from the opened file's tag table into a bare save, through libtiff whenever the file is compressed, with no option from the program. The tags are in the directory the reader already 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. Tetrak OCR copies each frame before saving, which drops the tag table, so it is not reached there.", "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. Until the tag policy exists, a boxed process bounds the damage." }, "sources": [ "https://osv.dev/vulnerability/GHSA-xvh5-g6gv-559v" ], "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." } diff --git a/docs/advisories/proposed/CVE-2026-42308.json b/docs/advisories/proposed/CVE-2026-42308.json deleted file mode 100644 index db4a8e3..0000000 --- a/docs/advisories/proposed/CVE-2026-42308.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-42308", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A font with huge glyph advances overflows Pillow's position counter", - "summary": "Pillow has an integer overflow when processing fonts", - "published": "2026-05-04", - "severity": 5.5, - "affected": "< 12.2.0", - "fixed": "12.2.0", - "reached_by": "api", - "trigger": "Drawing text with a crafted font through ImageFont.", - "bucket": "N", - "finding": "In text drawing, which Image.open never runs.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.2.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-wjx4-4jcj-g98j", - "https://osv.dev/vulnerability/PYSEC-2026-165" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-54059.json b/docs/advisories/proposed/CVE-2026-54059.json deleted file mode 100644 index 405803a..0000000 --- a/docs/advisories/proposed/CVE-2026-54059.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-54059", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A PCF font's glyph sizes bypass Pillow's decompression-bomb check", - "summary": "Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading", - "published": "2026-07-06", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Loading a PCF font file through PcfFontFile, which Image.open never does.", - "bucket": "N", - "finding": "In font loading, a separate entry point from Image.open; not reached by opening an image.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-8v84-f9pq-wr9x", - "https://osv.dev/vulnerability/PYSEC-2026-2253" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-54060.json b/docs/advisories/proposed/CVE-2026-54060.json deleted file mode 100644 index d80104a..0000000 --- a/docs/advisories/proposed/CVE-2026-54060.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-54060", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "FontFile.compile assembles a bitmap without the bomb check", - "summary": "Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`", - "published": "2026-07-06", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Compiling a loaded BDF or PCF font into an ImageFont.", - "bucket": "N", - "finding": "In font handling, which Image.open never runs.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-5x94-69rx-g8h2", - "https://osv.dev/vulnerability/PYSEC-2026-2254" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-55379.json b/docs/advisories/proposed/CVE-2026-55379.json deleted file mode 100644 index c4ef5af..0000000 --- a/docs/advisories/proposed/CVE-2026-55379.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-55379", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A BDF font's bounding box bypasses Pillow's decompression-bomb check", - "summary": "Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading", - "published": "2026-07-06", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Loading a BDF font file through BdfFontFile.", - "bucket": "N", - "finding": "In font loading, a separate entry point from Image.open; not reached by opening an image.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-45hq-cxwh-f6vc", - "https://osv.dev/vulnerability/PYSEC-2026-2255" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-55380.json b/docs/advisories/proposed/CVE-2026-55380.json deleted file mode 100644 index f34e3b5..0000000 --- a/docs/advisories/proposed/CVE-2026-55380.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-55380", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "GdImageFile.open accepts any dimensions without the bomb check", - "summary": "Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`", - "published": "2026-07-06", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Calling PIL.GdImageFile.open directly on a GD 2.x file.", - "bucket": "N", - "finding": "GdImageFile is not registered with Image.open; only a direct call reaches it, and a GD file is in any case refused by sillybos as an unknown format.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-phj9-mv4w-65pm", - "https://osv.dev/vulnerability/PYSEC-2026-2256" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-59198.json b/docs/advisories/proposed/CVE-2026-59198.json deleted file mode 100644 index 97d0db0..0000000 --- a/docs/advisories/proposed/CVE-2026-59198.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-59198", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Pillow's TGA run-length encoder copies heap bytes into the file it writes", - "summary": "Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images", - "published": "2026-07-20", - "severity": 6.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "save", - "trigger": "Image.save(format=\"TGA\", compression=\"tga_rle\") of a mode-1 image.", - "bucket": "N", - "finding": "On the TGA save path only; Image.open never runs the encoder.", - "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." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-fj7v-r99m-22gq", - "https://osv.dev/vulnerability/PYSEC-2026-3494" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-59199.json b/docs/advisories/proposed/CVE-2026-59199.json deleted file mode 100644 index 2620eca..0000000 --- a/docs/advisories/proposed/CVE-2026-59199.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-59199", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "Coordinates near the 32-bit limit write out of bounds in Pillow's paste and crop", - "summary": "Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow", - "published": "2026-07-14", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Image.paste or Image.crop with coordinates the program supplies near the signed 32-bit limits.", - "bucket": "N", - "finding": "In the coordinate APIs, with values the caller chooses; opening a file never runs them.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-6r8x-57c9-28j4", - "https://osv.dev/vulnerability/PYSEC-2026-3451" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-59205.json b/docs/advisories/proposed/CVE-2026-59205.json deleted file mode 100644 index abddc97..0000000 --- a/docs/advisories/proposed/CVE-2026-59205.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-59205", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "An output image of the wrong mode corrupts the heap in ImageCms transforms", - "summary": "Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch", - "published": "2026-07-14", - "severity": 7.5, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "ImageCmsTransform.apply with an output image whose mode does not match the transform's.", - "bucket": "N", - "finding": "In the colour-management API with an argument the caller builds; opening a file never runs it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-9hw9-ch79-4vh6", - "https://osv.dev/vulnerability/PYSEC-2026-3453" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-96640.json b/docs/advisories/proposed/CVE-2026-96640.json deleted file mode 100644 index e3b4045..0000000 --- a/docs/advisories/proposed/CVE-2026-96640.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-96640", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A shared page-tree graph makes Pillow's PDF append take disproportionate time", - "summary": "Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion", - "published": "2026-10-22", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", - "bucket": "N", - "finding": "PdfParser runs only when a PDF is appended to; opening a file never runs it.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-mrfp-p49p-3hf2" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-96641.json b/docs/advisories/proposed/CVE-2026-96641.json deleted file mode 100644 index 398beb5..0000000 --- a/docs/advisories/proposed/CVE-2026-96641.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-96641", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A PILfont's negative glyph advance makes a signed integer wrap", - "summary": "Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise", - "published": "2026-10-21", - "severity": 6.5, - "affected": "12.3.0", - "fixed": null, - "reached_by": "api", - "trigger": "Measuring text with a crafted PILfont through ImageFont.", - "bucket": "N", - "finding": "In text measurement, which Image.open never runs.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-4rm8-3hmm-39fg", - "https://osv.dev/vulnerability/PYSEC-2026-4340" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-96642.json b/docs/advisories/proposed/CVE-2026-96642.json deleted file mode 100644 index 7ecfb70..0000000 --- a/docs/advisories/proposed/CVE-2026-96642.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "key": "CVE-2026-96642", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A negative size in a tar header spins Pillow's TarIO for ever", - "summary": "Pillow: TarIO negative size field causes infinite CPU-spin loop", - "published": "2026-10-21", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "api", - "trigger": "Opening a tar archive with PIL.TarIO.", - "bucket": "N", - "finding": "TarIO is a separate helper for reading images out of archives; Image.open on a file never runs it, and a tar archive is in any case refused as an unknown format.", - "refusal": null, - "verified_by": [], - "protect": { - "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-3j72-p6qg-6xp7", - "https://osv.dev/vulnerability/PYSEC-2026-4341" - ], - "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." -} diff --git a/docs/advisories/proposed/CVE-2026-96778.json b/docs/advisories/proposed/CVE-2026-96778.json deleted file mode 100644 index 66c2e82..0000000 --- a/docs/advisories/proposed/CVE-2026-96778.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "key": "CVE-2026-96778", - "aliases": [], - "library": "Pillow", - "package": "pillow", - "ecosystem": "PyPI", - "title": "A JPEG comment after a full ICC profile overflows Pillow's JPEG encoder", - "summary": "Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer", - "published": "2026-10-22", - "severity": null, - "affected": "< 12.3.0", - "fixed": "12.3.0", - "reached_by": "save", - "trigger": "Image.save(format=\"JPEG\") of an image carrying a large ICC profile and a comment.", - "bucket": "N", - "finding": "On the JPEG save path; opening a file never runs the encoder.", - "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." - }, - "sources": [ - "https://osv.dev/vulnerability/GHSA-g7cr-3p24-7wf7" - ], - "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." -} diff --git a/docs/advisories/record.json b/docs/advisories/record.json index c17cab3..787a819 100644 --- a/docs/advisories/record.json +++ b/docs/advisories/record.json @@ -1,12 +1,12 @@ { - "generated": "2026-11-02", + "generated": "2026-11-03", "buckets": { "A": "Already refused by an existing check", "B": "Preventable from a header field our readers can see", "B2": "Preventable only by a coarse policy on a PDF's contents", "C": "Needs decoding to detect; out of this library's reach by design", "D": "Reaches pdfinfo itself", - "N": "Not reached by opening a file", + "N": "The check is not in the path: no file carries the trigger", "U": "A reserved CVE with no text yet" }, "reached_by": { @@ -17,24 +17,57 @@ "other": "some other way; the finding says" }, "counts": { - "records": 23, - "refused_by_default": 16, + "records": 120, + "refused_by_default": 44, "by_bucket": { - "A": 5, + "A": 39, "B": 16, - "B2": 0, - "C": 0, - "D": 0, - "N": 2, + "B2": 3, + "C": 19, + "D": 3, + "N": 40, "U": 0 }, "by_library": { - "Pillow": 14, - "libpng": 5, - "libtiff": 4 + "FreeType": 4, + "OpenJPEG": 6, + "Pillow": 58, + "libpng": 15, + "libtiff": 18, + "poppler": 16, + "zlib": 3 } }, "records": [ + { + "key": "CVE-2026-107080", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "OpenJPEG's wavelet encoder reads and writes out of bounds", + "summary": "OpenJPEG 2.4.0 through 2.5.4, and git master through commit 8314119b, contains an out-of-bounds read and write in opj_dwt_encode_and_deinterleave_v() in src/lib/openjp2/dwt.c.", + "published": "2026-10-26", + "severity": 6.5, + "affected": "OpenJPEG 2.4.0 through 2.5.4", + "fixed": null, + "reached_by": "save", + "trigger": "Encoding a JPEG 2000 image that reaches opj_dwt_encode_and_deinterleave_v.", + "bucket": "N", + "finding": "In the encoder's wavelet transform, run on whatever image the program chooses to encode as JPEG 2000; no file carries the trigger, and a JPEG 2000 file handed to the check is refused by name in any case.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: the flaw is on a save path." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-107080" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: no file carries the trigger." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -72,6 +105,76 @@ "https://github.com/advisories/GHSA-5x8w-8jj5-q52h" ] }, + { + "key": "GHSA-78g4-xqwv-q3g8", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's bundled OpenJPEG carries an unreleased heap-overflow fix", + "summary": "Pillow: Bundled libopenjp2 2.5.4 in all wheels since 11.1.0 carries OSV-2025-219 heap-buffer-overflow write reachable from Image.open().load()", + "published": "2026-10-22", + "severity": 8.1, + "affected": ">= 11.1.0 (bundled libopenjp2 2.5.4)", + "fixed": null, + "reached_by": "open", + "trigger": "Image.open and load on a crafted JPEG 2000 file with a Pillow wheel from 11.1.0 onward, whose bundled libopenjp2 2.5.4 lacks the upstream fix for OSV-2025-219.", + "bucket": "A", + "finding": "A JPEG 2000 file is refused by name before Pillow sees it. A patched system OpenJPEG does not help a wheel that bundles its own, which is one more reason to refuse the format by name rather than trust the decoder's version.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", + "specific": "Refuse JPEG 2000 by name, as sillybos does by default." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-78g4-xqwv-q3g8" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-96778", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A JPEG comment after a full ICC profile overflows Pillow's JPEG encoder", + "summary": "Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer", + "published": "2026-10-22", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "save", + "trigger": "Image.save(format=\"JPEG\") of an image carrying a large ICC profile and a comment.", + "bucket": "A", + "finding": "The comment rides from the opened file into a JPEG save on its own, and the profile does when the program passes it, which is the documented way to keep colour. The profile has to fill the encoder's 64 KB buffer, so it is about 65,498 bytes, and it is the block the reader measures: the default ceiling of 4 MiB lets it through, and a ceiling under 65 KB refuses the file. Tetrak OCR's access copy does not pass the profile, so it is not reached there.", + "refusal": { + "check": "max_metadata_bytes", + "default": false, + "setting": "Policy(max_metadata_bytes=65_000)" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_jpeg_profile_that_fills_the_encoder_buffer" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Set max_metadata_bytes under 65 KB where no colour profile that large has a use, or do not pass icc_profile when re-saving a file from outside; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-g7cr-3p24-7wf7" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -110,6 +213,35 @@ "https://github.com/advisories/GHSA-g4qv-2jxx-769h" ] }, + { + "key": "CVE-2026-96640", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A shared page-tree graph makes Pillow's PDF append take disproportionate time", + "summary": "Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion", + "published": "2026-10-22", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a page tree that repeats the same child at every level, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-mrfp-p49p-3hf2" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -148,6 +280,41 @@ "https://github.com/advisories/GHSA-v9pv-5gc8-w2m6" ] }, + { + "key": "CVE-2026-96638", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A kilobyte BMP makes Pillow's run-length decoder allocate gigabytes", + "summary": "Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode", + "published": "2026-10-22", + "severity": 6.5, + "affected": "<= 13.0.0", + "fixed": null, + "reached_by": "open", + "trigger": "Image.open and load on a crafted run-length-encoded BMP.", + "bucket": "A", + "finding": "A BMP is not one of the four formats a scan can be and is refused by name before Pillow sees it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-24rc-8hj2-v98c" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -223,6 +390,144 @@ "https://github.com/advisories/GHSA-p8hx-v2p6-rp84" ] }, + { + "key": "CVE-2026-96644", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A wide, short metafile over-reads the heap in Pillow's Windows renderer", + "summary": "Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open and load on a crafted WMF or EMF file on a Windows build of Pillow.", + "bucket": "A", + "finding": "A Windows metafile is not one of the four formats a scan can be and is refused before Pillow sees it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-9v9v-9qvf-h2hj", + "https://osv.dev/vulnerability/PYSEC-2026-4343" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-96642", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A negative size in a tar header spins Pillow's TarIO for ever", + "summary": "Pillow: TarIO negative size field causes infinite CPU-spin loop", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Opening a tar archive with PIL.TarIO.", + "bucket": "A", + "finding": "The carrier is a tar archive with a negative size in a member's header, opened through PIL.TarIO, which a program calls by name to read an image out of an archive. Handed to the check, a tar archive is not one of the four formats and is refused as unknown, so the record claims that refusal. Neither Tetrak OCR nor sillybos imports TarIO.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Unpack archives yourself, with the standard library, and run the check on each file that comes out; a tar handed to the check is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-3j72-p6qg-6xp7", + "https://osv.dev/vulnerability/PYSEC-2026-4341" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "key": "CVE-2026-96641", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A PILfont's negative glyph advance makes a signed integer wrap", + "summary": "Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise", + "published": "2026-10-21", + "severity": 6.5, + "affected": "12.3.0", + "fixed": "13.0.0", + "reached_by": "api", + "trigger": "Measuring text with a crafted PILfont through ImageFont.", + "bucket": "A", + "finding": "The carrier is a PILfont, Pillow's own bitmap font format, whose glyph advance is a signed 16-bit field; a crafted one carries -32,768 and a string of 65,537 characters measured with it wraps the width. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont. Pillow 13.0.0 raises OverflowError instead; on an older Pillow a width above the characters measured times 32,767 is the wrapped value.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 13.0.0, which raises OverflowError (\"Width too small\") where 12.3.0 returned a wrapped width.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-4rm8-3hmm-39fg", + "https://osv.dev/vulnerability/PYSEC-2026-4340" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Checked on 2026-11-03: the carrier is a font file, not an image. The fix is present in 13.0.0, checked with the advisory's reproducer on 2026-11-03; the first release carrying it was not confirmed. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "key": "CVE-2026-114501", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Arrow export leaks heap memory when PILLOW_ALIGNMENT is above 1", + "summary": "Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Exporting an image to Arrow with PILLOW_ALIGNMENT set above 1.", + "bucket": "N", + "finding": "A memory leak in the Arrow export, a call the program makes on an image it already holds, under a build-time alignment setting; no file carries the trigger, and the effect is lost memory, not a file's doing.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-654x-cwwv-5j9c", + "https://osv.dev/vulnerability/PYSEC-2026-4336" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: no file carries the trigger." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -299,127 +604,367 @@ ] }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-112399", - "aliases": [ - "GHSA-5xm2-6676-qcp9" - ], + "key": "CVE-2026-112898", + "aliases": [], "library": "Pillow", "package": "pillow", "ecosystem": "PyPI", - "title": "An animated PNG allocates its full canvas before the pixel limit is checked", - "summary": "APNG background disposal allocates the full canvas before the decompression-bomb check; a 126-byte file claiming 22,000 x 22,000 pixels costs about 1.9 GB.", + "title": "Image.quantize with an empty palette returns uninitialised stack memory", + "summary": "Pillow: Image.quantize() with empty palette leaks uninitialized stack memory", "published": "2026-10-21", - "severity": 8.7, - "affected": ">= 8.1.0, < 13.0.0", - "fixed": "13.0.0", - "reached_by": "open", - "trigger": "Opening a small animated PNG whose IHDR claims enormous dimensions.", - "bucket": "B", - "finding": "Width and height are read from the IHDR, and the frame count from acTL, before any decoder runs; the product is held to max_pixels and the count to max_pages.", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.quantize(palette=...) with a palette image that has no palette.", + "bucket": "A", + "finding": "The trigger is a palette image with no entries, handed to Image.quantize as the palette, and a file can carry it: an 80-byte PNG with an empty PLTE chunk, opened with Image.open, is one of the three ways the upstream report names (a colour-mapped TGA with no entries is another, refused by name; Image.new is the third). The program has to let a file from outside be the palette image. The reader does not open the PLTE, so the default passes such a file; a scans-only policy without palette PNGs refuses it before Pillow sees it. Refusing an empty PLTE by default, as the PNG specification's one-to-256 entries would justify, would be a new default refusal and so a breaking change for a later release.", "refusal": { - "check": "max_pixels", - "default": true, - "setting": "from the header, before Pillow allocates" + "check": "png_colour_types", + "default": false, + "setting": "Policy(png_colour_types=frozenset({\"greyscale\", \"rgb\", \"greyscale-alpha\", \"rgba\"}))" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_a_pixel_bomb" + "tests/test_check.py::TestHostileFiles::test_a_palette_png_with_an_empty_palette" ], "protect": { - "general": "Upgrade to Pillow 13.0.0.", - "specific": "Read the declared size from the header and refuse before the decoder allocates; sillybos does." + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Never let a file from outside be the palette image for quantize; where it must be, run the check on it under a policy without palette PNGs; upgrade to Pillow 12.3.0." }, "sources": [ - "https://github.com/advisories/GHSA-5xm2-6676-qcp9" - ] + "https://osv.dev/vulnerability/GHSA-rfgq-q3w2-pmv2" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: a file can carry the empty palette, and a setting refuses it." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-112393", - "aliases": [ - "GHSA-332p-7hrc-92wf" - ], + "key": "CVE-2026-112894", + "aliases": [], "library": "Pillow", "package": "pillow", "ecosystem": "PyPI", - "title": "Saving a TIFF to memory overruns a heap buffer", - "summary": "Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO.", + "title": "Saving a multi-frame image as a PDF takes quadratic time", + "summary": "Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)", "published": "2026-10-21", - "severity": 9.2, - "affected": ">= 2.0.0, < 13.0.0", - "fixed": "13.0.0", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", "reached_by": "save", - "trigger": "Saving any image as TIFF to an in-memory destination (io.BytesIO) rather than a file; the data written past the buffer is attacker-chosen when the image came from outside.", - "bucket": "N", - "finding": "A save-path flaw. Nothing read from the incoming file's header decides it, so a check before decoding cannot reach it.", - "refusal": null, - "verified_by": [], + "trigger": "Image.save(format=\"PDF\", save_all=True) of an image with many frames.", + "bucket": "A", + "finding": "The frame count comes from the opened file: a TIFF's frame chain, which the reader walks, or an animated PNG's acTL count, which it reads. max_pages bounds both, and the default of 500 keeps the quadratic cost small; the 125-byte animated PNG that declares two billion frames is refused on the count alone.", + "refusal": { + "check": "max_pages", + "default": true, + "setting": "max_pages" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_animated_png_that_declares_too_many_frames", + "tests/test_check.py::TestHostileFiles::test_a_tiff_with_ten_thousand_frames" + ], "protect": { - "general": "Upgrade to Pillow 13.0.0. Until then, save TIFFs to a file on disk, not to memory.", - "specific": "Not something a pre-decode check can prevent; listed so that nobody expects it to." + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Keep max_pages at what a document needs; sillybos reads the declared frame count before Pillow does." }, "sources": [ - "https://github.com/advisories/GHSA-332p-7hrc-92wf" - ] + "https://osv.dev/vulnerability/GHSA-jg86-v3jv-hrpm" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-112391", - "aliases": [ - "GHSA-254f-3936-288h" - ], + "key": "CVE-2026-112893", + "aliases": [], "library": "Pillow", "package": "pillow", "ecosystem": "PyPI", - "title": "Pillow's PDF parser recurses without limit when appending", - "summary": "PdfParser can recurse without limit in get_value() and linearize_page_tree().", + "title": "A failed glyph load with a stroker active frees an invalid pointer", + "summary": "Pillow: Invalid free in FreeType glyph rendering when a stroker is active", "published": "2026-10-21", - "severity": 6.3, - "affected": ">= 5.1.0, < 13.0.0", - "fixed": "13.0.0", - "reached_by": "save", - "trigger": "Image.save(..., format=\"PDF\", append=True) onto an attacker-controlled existing PDF.", - "bucket": "N", - "finding": "Reached only through Pillow's PDF append path, which Image.open never runs.", - "refusal": null, - "verified_by": [], + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Drawing stroked text with a malformed font through ImageDraw and ImageFont.", + "bucket": "A", + "finding": "The carrier is a malformed font loaded through FreeType, drawn with a stroke width so that a failed glyph load reaches the stale pointer. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont or ImageDraw.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], "protect": { - "general": "Upgrade to Pillow 13.0.0. Do not append to PDFs you did not make.", - "specific": "Not a pre-decode matter." + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." }, "sources": [ - "https://github.com/advisories/GHSA-254f-3936-288h" - ] + "https://osv.dev/vulnerability/GHSA-j4m9-6w36-pw47" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-112390", - "aliases": [ - "GHSA-22hg-r758-rrw9" - ], + "key": "CVE-2026-112892", + "aliases": [], "library": "Pillow", "package": "pillow", "ecosystem": "PyPI", - "title": "A MIC file makes counting its frames loop for ever", - "summary": "Infinite loop in MIC n_frames when the embedded TIFF has three or more directories; needs the optional olefile package.", + "title": "A tiny MSP file expands without bound in Pillow's run-length decoder", + "summary": "Pillow: MSP RLE decoder expands a tiny file into unbounded memory", "published": "2026-10-21", - "severity": 8.2, - "affected": ">= 7.2.0, < 13.0.0", - "fixed": "13.0.0", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", "reached_by": "open", - "trigger": "Opening a crafted MIC (Microsoft Image Composer) file, an OLE container, and reading n_frames.", + "trigger": "Image.open and load on a crafted Microsoft Paint (MSP) file.", "bucket": "A", - "finding": "OLE is refused by name from the first bytes.", + "finding": "An MSP file is not one of the four formats a scan can be; sillybos does not know the format and refuses it as unknown before Pillow sees it.", "refusal": { - "check": "formats", + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-gg2r-wvfm-q9rx" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-112891", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Saving a GIF with a long comment copies it in quadratic time", + "summary": "Pillow: Quadratic GIF comment copying during save", + "published": "2026-10-21", + "severity": null, + "affected": "12.3.0", + "fixed": null, + "reached_by": "save", + "trigger": "Image.save(format=\"GIF\") of an image carrying a long comment.", + "bucket": "A", + "finding": "The comment rides from the opened file into a GIF save on its own. From a file it can only come through a PNG text chunk, since a JPEG comment segment is at most 65,533 bytes by format, too short to matter, and a GIF is refused by name. The chunk is a block the reader measures: the default ceiling of 4 MiB allows a comment long enough to cost tens of seconds, and a lower ceiling bounds it.", + "refusal": { + "check": "max_metadata_bytes", + "default": false, + "setting": "Policy(max_metadata_bytes=65_536)" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_png_text_chunk_under_a_lower_ceiling" + ], + "protect": { + "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", + "specific": "Set max_metadata_bytes to what a scan carries, tens of kilobytes, where images from outside are re-saved as GIF; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-fc9g-5qg7-mf45" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, + { + "key": "CVE-2026-112406", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "PdfParser.rewrite_pages loops for ever on a page-tree Parent cycle", + "summary": "Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a /Parent cycle among page-tree nodes, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-f2g6-542v-9j58" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, + { + "key": "CVE-2026-112401", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A GIF's comments are concatenated in quadratic time in Image.open", + "summary": "Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open on a crafted GIF with many comment blocks.", + "bucket": "A", + "finding": "A GIF is refused by name before Pillow sees it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-74r2-7ff9-mjj2" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": null, + "key": "CVE-2026-112399", + "aliases": [ + "GHSA-5xm2-6676-qcp9" + ], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "An animated PNG allocates its full canvas before the pixel limit is checked", + "summary": "APNG background disposal allocates the full canvas before the decompression-bomb check; a 126-byte file claiming 22,000 x 22,000 pixels costs about 1.9 GB.", + "published": "2026-10-21", + "severity": 8.7, + "affected": ">= 8.1.0, < 13.0.0", + "fixed": "13.0.0", + "reached_by": "open", + "trigger": "Opening a small animated PNG whose IHDR claims enormous dimensions.", + "bucket": "B", + "finding": "Width and height are read from the IHDR, and the frame count from acTL, before any decoder runs; the product is held to max_pixels and the count to max_pages.", + "refusal": { + "check": "max_pixels", + "default": true, + "setting": "from the header, before Pillow allocates" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_pixel_bomb" + ], + "protect": { + "general": "Upgrade to Pillow 13.0.0.", + "specific": "Read the declared size from the header and refuse before the decoder allocates; sillybos does." + }, + "sources": [ + "https://github.com/advisories/GHSA-5xm2-6676-qcp9" + ] + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": null, + "key": "CVE-2026-112393", + "aliases": [ + "GHSA-332p-7hrc-92wf" + ], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Saving a TIFF to memory overruns a heap buffer", + "summary": "Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO.", + "published": "2026-10-21", + "severity": 9.2, + "affected": ">= 2.0.0, < 13.0.0", + "fixed": "13.0.0", + "reached_by": "save", + "trigger": "Saving any image as TIFF to an in-memory destination (io.BytesIO) rather than a file; the data written past the buffer is attacker-chosen when the image came from outside.", + "bucket": "N", + "finding": "A save-path flaw. Nothing read from the incoming file's header decides it, so a check before decoding cannot reach it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 13.0.0. Until then, save TIFFs to a file on disk, not to memory.", + "specific": "Not something a pre-decode check can prevent; listed so that nobody expects it to." + }, + "sources": [ + "https://github.com/advisories/GHSA-332p-7hrc-92wf" + ] + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": " Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input.", + "key": "CVE-2026-112391", + "aliases": [ + "GHSA-254f-3936-288h" + ], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's PDF parser recurses without limit when appending", + "summary": "PdfParser can recurse without limit in get_value() and linearize_page_tree().", + "published": "2026-10-21", + "severity": 6.3, + "affected": ">= 5.1.0, < 13.0.0", + "fixed": "13.0.0", + "reached_by": "save", + "trigger": "Image.save(..., format=\"PDF\", append=True) onto an attacker-controlled existing PDF.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a value nested thousands of levels deep in the Root object's own dictionary, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 13.0.0. Do not append to PDFs you did not make.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://github.com/advisories/GHSA-254f-3936-288h" + ] + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": null, + "key": "CVE-2026-112390", + "aliases": [ + "GHSA-22hg-r758-rrw9" + ], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A MIC file makes counting its frames loop for ever", + "summary": "Infinite loop in MIC n_frames when the embedded TIFF has three or more directories; needs the optional olefile package.", + "published": "2026-10-21", + "severity": 8.2, + "affected": ">= 7.2.0, < 13.0.0", + "fixed": "13.0.0", + "reached_by": "open", + "trigger": "Opening a crafted MIC (Microsoft Image Composer) file, an OLE container, and reading n_frames.", + "bucket": "A", + "finding": "OLE is refused by name from the first bytes.", + "refusal": { + "check": "formats", "default": true, "setting": "OLE is refused whatever the policy says" }, @@ -434,6 +979,105 @@ "https://github.com/advisories/GHSA-22hg-r758-rrw9" ] }, + { + "key": "CVE-2026-112899", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Loading an EPS at a scale lets Ghostscript render past the bomb limit", + "summary": "Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit", + "published": "2026-10-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open on an EPS file, then load(scale=n) with n above 1.", + "bucket": "A", + "finding": "A PostScript file is refused by name before Pillow sees it; nothing from outside should reach the EPS reader or Ghostscript.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_renamed_postscript_file" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Refuse PostScript by name, as sillybos does by default." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-vx6w-vv9f-6gvg" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-112897", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A TIFF with short JPEG strips returns uninitialised memory as pixels", + "summary": "Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips", + "published": "2026-10-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Opening and loading a small crafted JPEG-compressed TIFF whose strips hold less data than a strip needs.", + "bucket": "A", + "finding": "The carrier is a JPEG-compressed TIFF whose strip byte counts are short, and the shortfall only shows when a strip is decoded, which no header check does. But the compression is in the header, and a policy without jpeg in tiff_compressions refuses the file before libtiff sees it. The default allows JPEG in a TIFF, since scanners write it, so the setting is what closes this, at the cost of refusing real JPEG-in-TIFF scans.", + "refusal": { + "check": "tiff_compressions", + "default": false, + "setting": "Policy(tiff_compressions=frozenset({\"none\", \"ccitt\", \"lzw\", \"deflate\", \"packbits\"}))" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_jpeg_compressed_tiff_under_a_policy_without_jpeg" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Where the source never writes JPEG-in-TIFF, take jpeg out of tiff_compressions; otherwise upgrade Pillow and render in a boxed process." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-q45j-58j2-45rg" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the carrier is refused by a setting." + }, + { + "key": "CVE-2026-112895", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "PdfParser recurses without bound on a cyclic page tree or trailer chain", + "summary": "Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)", + "published": "2026-10-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True); Image.open never reads a PDF.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a /Kids cycle in the page tree, or a long chain of distinct /Prev offsets, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-p4wg-p73j-c528" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -508,6 +1152,41 @@ "https://github.com/advisories/GHSA-8g5g-8vmr-9782" ] }, + { + "key": "CVE-2026-112400", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A 60-byte GIF makes Pillow allocate gigabytes after a bomb error is caught", + "summary": "Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS", + "published": "2026-10-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Seeking to a later frame of a crafted GIF after catching the DecompressionBombError its size raised.", + "bucket": "A", + "finding": "A GIF is not one of the four formats a scan can be and is refused by name before Pillow sees it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-65qm-jvmh-6pqg" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, { "triaged": "2026-11-01", "checked": "2026-11-01", @@ -547,228 +1226,2020 @@ ] }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-12912", - "aliases": [ - "GHSA-cg4c-j43f-qcg7" - ], - "library": "libtiff", - "package": "tiff", - "ecosystem": "Debian", - "title": "A PixarLog-compressed TIFF overflows a libtiff heap buffer", - "summary": "Decoding a PixarLog image with the 8-bit ABGR output format and a specific stride leads to a heap-based buffer overflow.", - "published": "2026-06-29", - "severity": 7.3, - "affected": "libtiff, as packaged; see the upstream record", - "fixed": null, + "key": "CVE-2026-112405", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "An IPTC file with no recognisable header drives Image.merge into a null pointer", + "summary": "Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", "reached_by": "open", - "trigger": "Opening a TIFF compressed with PixarLog.", - "bucket": "B", - "finding": "The compression scheme is a directory tag. The default policy allows none, CCITT, LZW, JPEG, Deflate and PackBits; PixarLog and the other codecs a scan never uses are refused by name.", + "trigger": "Image.open and load on a crafted IPTC file; the IPTC plugin has no magic-byte check, so any bytes can reach it.", + "bucket": "A", + "finding": "The flaw depends on Pillow trying the IPTC reader on a file with no header to recognise. sillybos names the format from the first bytes and refuses what it cannot name, and open_checked passes Pillow only the JPEG, PNG and TIFF readers, so the IPTC plugin is never tried.", "refusal": { - "check": "tiff_compressions", + "check": "format", "default": true, - "setting": "tiff_compressions excludes PixarLog by default" + "setting": "formats" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_a_pixarlog_tiff" + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" ], "protect": { - "general": "Keep libtiff current.", - "specific": "Allow only the compression schemes your files use; sillybos --tiff-compressions." + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; a file of any other format is refused before Pillow sees it." }, "sources": [ - "https://github.com/advisories/GHSA-cg4c-j43f-qcg7" - ] + "https://osv.dev/vulnerability/GHSA-cp9v-662q-vvx9", + "https://osv.dev/vulnerability/PYSEC-2026-4333" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": "Cited from the policy's own notes (policy.py), written from the advisory at the time; the OSV record was unreachable when this entry was made and its fields should be filled in.", - "key": "CVE-2026-33636", - "aliases": [ - "GHSA-wjr5-c57x-95m2" + "key": "CVE-2026-112402", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Image.transform frees twice when an oversized transform runs out of memory", + "summary": "Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.transform with an output size too large to allocate.", + "bucket": "N", + "finding": "The trigger is the output size the program passes to Image.transform, and it has to be absurd: a one-row output hundreds of millions of pixels wide, so that the small per-column table is the allocation that fails while the image still fits, on a worker with an address-space limit. No file carries it. What the check bounds is any size a program derives from the file: with max_side at 30,000 the table is 120 KB and never fails, and a PDF page is bounded at render_dpi. Tetrak OCR never calls transform; its turns go through transpose, as does Pillow's EXIF handling, and its resizes are to sizes computed from the image. Pillow's rotate reaches transform only for angles that are not right angles, and the upstream report says rotate is not affected.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Derive transform sizes from the image's size, which the check bounds, and clip any size that comes from outside; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-7mwm-ghpf-9vrm", + "https://osv.dev/vulnerability/PYSEC-2026-4331" ], - "library": "libpng", - "package": "libpng1.6", - "ecosystem": "Debian", - "title": "A palette PNG reaches a flaw in libpng's palette handling", - "summary": "One of three libpng flaws in the paths that handle palette (indexed-colour) PNGs. The upstream record was not re-fetched when this entry was written; see notes.", - "published": "2026-03-26", - "severity": 7.6, - "affected": ">= 1.6.36, <= 1.6.55", - "fixed": "1.6.56", + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: what the file contributes, and what the check bounds." + }, + { + "key": "CVE-2026-112397", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A zero-width PPM image crashes Pillow's morphology code", + "summary": "Pillow: Out-of-bounds access in _imagingmorph on a zero-width image", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.open on a PPM or PGM file declaring a width of 0, then ImageMorph.MorphOp.apply on it.", + "bucket": "A", + "finding": "A PPM file is not one of the four formats a scan can be and is refused as an unknown format; a zero dimension is refused in the formats sillybos does read. The crash itself is in a morphology call opening a file never makes.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format", + "tests/test_check.py::TestHostileFiles::test_an_image_with_a_zero_dimension" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-58r4-6rv3-gfh8", + "https://osv.dev/vulnerability/PYSEC-2026-4329" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-112394", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's 2- and 4-bit palette unpackers read past the buffer", + "summary": "Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", "reached_by": "open", - "trigger": "Opening a palette-type PNG.", - "bucket": "B", - "finding": "The colour type is in the PNG's IHDR. The default allows all five colour types; a policy for scans alone can keep to greyscale and RGB, which keeps palette PNGs from the decoder.", + "trigger": "Loading an image whose raw tile uses the P;2L or P;4L unpacker with a width that leaves the line size and the unpacker's stride disagreeing.", + "bucket": "A", + "finding": "Which unpacker a tile uses is decided inside Pillow from the format's own header, but the carrier is a palette image at 2 or 4 bits, and the header check sees the colour type and the depth: a scans-only policy (png_colour_types without palette, tiff_photometrics without palette) refuses it before Pillow sees it. The default allows palette images, so the setting is what closes this.", "refusal": { "check": "png_colour_types", "default": false, - "setting": "Policy(png_colour_types={\"greyscale\", \"rgb\"})" + "setting": "Policy(png_colour_types=frozenset({\"greyscale\", \"rgb\", \"greyscale-alpha\", \"rgba\"})); tiff_photometrics without palette for a TIFF" }, "verified_by": [ "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" ], "protect": { - "general": "Keep libpng current.", - "specific": "If nothing you handle is a palette PNG, say so in the policy: sillybos --png-colour-types greyscale,rgb." + "general": "Upgrade to Pillow 12.3.0.", + "specific": "A scanner never writes a palette image: refuse palette PNGs and TIFFs by policy where the source is scans; upgrade Pillow." }, "sources": [ - "https://github.com/advisories/GHSA-wjr5-c57x-95m2", - "https://osv.dev/vulnerability/CVE-2026-33636" - ] + "https://osv.dev/vulnerability/GHSA-4558-3h8r-v8xp", + "https://osv.dev/vulnerability/PYSEC-2026-4327" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the carrier is refused by the same setting as CVE-2025-64505." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": null, - "key": "CVE-2026-4775", - "aliases": [ - "GHSA-cm99-m826-vgg7" + "key": "CVE-2026-112392", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A rank filter on a zero-size image dereferences a null pointer", + "summary": "Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Applying a median, minimum, maximum or rank filter to an image with zero width or height.", + "bucket": "A", + "finding": "The trigger is an image with a zero width or height, handed to a rank filter. A file whose header gives a zero dimension is refused under every policy before Pillow sees it, so from a file the image cannot come; only an image the program makes itself (Image.new with a zero side, or a crop to nothing) reaches the filter. The check claims the refusal for the file.", + "refusal": { + "check": "dimensions", + "default": true, + "setting": "none: a zero dimension is refused under every policy" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_image_with_a_zero_dimension" ], - "library": "libtiff", - "package": "tiff", + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on files from outside, which refuses a zero dimension; and never filter an image whose size the program has reduced to nothing." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-27h8-gf7j-v5hc", + "https://osv.dev/vulnerability/PYSEC-2026-4326" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is refused." + }, + { + "key": "CVE-2026-107705", + "aliases": [], + "library": "poppler", + "package": "poppler", "ecosystem": "Debian", - "title": "A YCbCr TIFF subsampled four to one overflows a libtiff buffer", - "summary": "Signed integer overflow in putcontig8bitYCbCr44tile leads to an out-of-bounds heap write.", - "published": "2026-03-24", - "severity": 7.8, - "affected": "libtiff, as packaged; see the upstream record", + "title": "A long password overflows the stack when poppler opens an AESV3 PDF", + "summary": "Poppler 0.42.0 through 26.10.0 contains a stack-based buffer overflow in Decrypt::revision6Hash() that allows attackers controlling the password to overwrite stack memory when opening AESV3/R6 encrypted PDFs.", + "published": "2026-10-08", + "severity": null, + "affected": "poppler 0.42.0 through 26.10.0", "fixed": null, - "reached_by": "open", - "trigger": "Opening a YCbCr TIFF whose chroma subsampling is 4x4, through the RGBA reading path.", - "bucket": "B", - "finding": "A YCbCr TIFF's subsampling is a directory tag. The default policy allows 1x1, 2x1, 1x2 and 2x2, which is what scanners and cameras write; 4x4 and the other factor-of-four values are refused.", + "reached_by": "api", + "trigger": "Opening an encrypted (AESV3, revision 6) PDF with a password longer than 127 bytes supplied by the caller.", + "bucket": "A", + "finding": "The over-long input is the password the caller supplies, but the file has to be an encrypted PDF (AESV3, revision 6) for it to reach the flaw, and an encrypted PDF is refused by default before poppler is asked to open it; the check's own pdfinfo run supplies no password. A policy that allows encrypted PDFs and a program that passes passwords from outside is the only path.", "refusal": { - "check": "tiff_subsamplings", + "check": "allow_encrypted_pdf", "default": true, - "setting": "tiff_subsamplings excludes factor-of-four by default" + "setting": "allow_encrypted_pdf" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_a_ycbcr_tiff_subsampled_four_by_four" + "tests/test_pdf.py::test_an_encrypted_pdf_is_refused_unless_allowed" ], "protect": { - "general": "Keep libtiff current.", - "specific": "Allow only the subsamplings your files use; sillybos --tiff-subsamplings." + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Keep allow_encrypted_pdf off, as it is by default; where it must be on, bound the password's length before passing it; upgrade poppler." }, "sources": [ - "https://github.com/advisories/GHSA-cm99-m826-vgg7" - ] + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-107705" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is refused by default." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": "Cited from the policy's own notes (policy.py); the OSV record was unreachable when this entry was made and its fields should be filled in.", - "key": "CVE-2026-22695", - "aliases": [ - "GHSA-mmq5-27w3-rxpp" + "key": "CVE-2026-95512", + "aliases": [], + "library": "FreeType", + "package": "freetype", + "ecosystem": "Debian", + "title": "A CID-keyed font makes FreeType allocate and decrypt without end", + "summary": "A flaw was found in FreeType, specifically within its CID font loader.", + "published": "2026-10-02", + "severity": 5.5, + "affected": "FreeType, as packaged; see the upstream record", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF whose embedded CID-keyed font repeats subroutine data across many font dictionaries.", + "bucket": "C", + "finding": "Reached by rendering, through an embedded CID-keyed font; nothing is filtered. A time limit on the renderer bounds the cost. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade FreeType to a version that has the fix; the upstream record names it.", + "specific": "Render in a boxed process with a time limit." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-95512" ], - "library": "libpng", - "package": "libpng1.6", + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." + }, + { + "key": "CVE-2026-102621", + "aliases": [], + "library": "poppler", + "package": "poppler", "ecosystem": "Debian", - "title": "An interlaced 16-bit PNG overflows a libpng buffer", - "summary": "One of two libpng overflows on the Adam7-interlaced 16-bit path. The upstream record was not re-fetched when this entry was written; see notes.", - "published": "2026-01-12", - "severity": 6.1, - "affected": ">= 1.6.51, <= 1.6.53", - "fixed": "1.6.54", + "title": "A clipping path overflows an integer in poppler's Splash renderer", + "summary": "A vulnerability was identified in Freedesktop Poppler up to 26.08.0.", + "published": "2026-09-29", + "severity": null, + "affected": "poppler up to 26.08.0", + "fixed": "26.09.0", "reached_by": "open", - "trigger": "Opening an Adam7-interlaced PNG with 16-bit samples.", - "bucket": "B", - "finding": "Interlacing is in the IHDR. No scanner writes an interlaced PNG, so the default refuses one.", - "refusal": { - "check": "allow_interlaced_png", - "default": true, - "setting": "allow_interlaced_png is off by default" + "trigger": "Rendering a PDF whose clipping path makes SplashClip::clipToPath overflow.", + "bucket": "C", + "finding": "Page content that only the renderer evaluates; out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 26.09.0.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." }, - "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_an_interlaced_png" + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102621" ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-102620", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "Converting an embedded TrueType font overflows an integer in poppler", + "summary": "A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0.", + "published": "2026-09-29", + "severity": null, + "affected": "poppler 26.06.0 through 26.08.0", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF whose embedded TrueType font makes FoFiTrueType::cvtSfnts overflow.", + "bucket": "C", + "finding": "Reached by rendering, through an embedded TrueType font that poppler converts, as CVE-2026-93314; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program, in poppler's own parser here is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], "protect": { - "general": "Keep libpng current.", - "specific": "Refuse interlaced PNGs; nothing that scans a page writes one. sillybos does by default." + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Render in a boxed process." }, "sources": [ - "https://github.com/advisories/GHSA-mmq5-27w3-rxpp", - "https://osv.dev/vulnerability/CVE-2026-22695" - ] + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102620" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": "Cited from the policy's own notes (policy.py), written from the advisory at the time; the OSV record was unreachable when this entry was made and its fields should be filled in.", - "key": "CVE-2025-66293", - "aliases": [ - "GHSA-9mpm-9pxh-mg4f" + "key": "CVE-2026-93653", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A tiling pattern near the int32 boundary spins poppler's Splash renderer", + "summary": "A denial of service flaw was found in Poppler's Splash backend.", + "published": "2026-09-18", + "severity": 5.5, + "affected": "poppler, as packaged; see the upstream record", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF whose tiling pattern geometry drives an enormous repeat count.", + "bucket": "C", + "finding": "Page content that only the renderer evaluates; nothing a header or pdfinfo shows. A time limit on the renderer turns it into one file's failure.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93653" ], - "library": "libpng", - "package": "libpng1.6", + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-93314", + "aliases": [], + "library": "poppler", + "package": "poppler", "ecosystem": "Debian", - "title": "A palette PNG reaches a flaw in libpng's palette handling", - "summary": "One of three libpng flaws in the paths that handle palette (indexed-colour) PNGs. The upstream record was not re-fetched when this entry was written; see notes.", - "published": "2025-12-03", - "severity": 7.1, - "affected": "< 1.6.52", - "fixed": "1.6.52", + "title": "An embedded TrueType font's segment count overflows an integer in poppler", + "summary": "A vulnerability was determined in Freedesktop Poppler 26.07.0.", + "published": "2026-09-18", + "severity": null, + "affected": "poppler 26.07.0", + "fixed": null, "reached_by": "open", - "trigger": "Opening a palette-type PNG.", - "bucket": "B", - "finding": "The colour type is in the PNG's IHDR. The default allows all five colour types; a policy for scans alone can keep to greyscale and RGB, which keeps palette PNGs from the decoder.", + "trigger": "Rendering a PDF whose embedded TrueType font declares a crafted segCnt in its cmap.", + "bucket": "C", + "finding": "Reached by rendering, through an embedded TrueType font that poppler converts; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program, in poppler's own parser here is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Render in a boxed process." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93314" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." + }, + { + "key": "CVE-2026-93313", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A JBIG2 code table overflows an integer in poppler", + "summary": "A vulnerability was found in Freedesktop Poppler 26.07.0.", + "published": "2026-09-18", + "severity": null, + "affected": "poppler 26.07.0", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF page whose JBIG2 stream carries a crafted code table segment.", + "bucket": "B2", + "finding": "Reached by rendering a page whose image is a JBIG2 stream. The image's filter is named in its stream dictionary, which cannot be hidden inside a compressed object stream, so a bounded search of the bytes finds /JBIG2Decode and the policy can refuse the codec by name (pdf_image_codecs). The default allows it: scanners and the archives that derive PDFs from scans write JBIG2 (five of the seven PDFs in Tetrak OCR's corpus). pdfimages -list would report the codec too, but it opens a JPX stream with OpenJPEG just to describe it, so the library does not run it.", "refusal": { - "check": "png_colour_types", + "check": "pdf_image_codecs", "default": false, - "setting": "Policy(png_colour_types={\"greyscale\", \"rgb\"})" + "setting": "Policy(pdf_image_codecs={\"jpeg\", \"jpx\", \"ccitt\"})" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" + "tests/test_check.py::TestPdf::test_a_jbig2_pdf_under_a_policy_that_refuses_it" ], "protect": { - "general": "Keep libpng current.", - "specific": "If nothing you handle is a palette PNG, say so in the policy: sillybos --png-colour-types greyscale,rgb." + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "If nothing you handle is JBIG2-coded, say so in the policy: sillybos --pdf-image-codecs jpeg,jpx,ccitt. Otherwise render in a boxed process." }, "sources": [ - "https://github.com/advisories/GHSA-9mpm-9pxh-mg4f", - "https://osv.dev/vulnerability/CVE-2025-66293" - ] + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93313" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." }, { - "triaged": "2026-11-01", - "checked": "2026-11-01", - "notes": "Cited from the policy's own notes (policy.py); the OSV record was unreachable when this entry was made and its fields should be filled in.", - "key": "CVE-2025-65018", - "aliases": [ - "GHSA-7wv6-48j4-hj3g" - ], - "library": "libpng", - "package": "libpng1.6", + "key": "CVE-2026-93312", + "aliases": [], + "library": "poppler", + "package": "poppler", "ecosystem": "Debian", - "title": "An interlaced 16-bit PNG overflows a libpng buffer", - "summary": "One of two libpng overflows on the Adam7-interlaced 16-bit path. The upstream record was not re-fetched when this entry was written; see notes.", - "published": "2025-11-24", - "severity": 7.1, - "affected": ">= 1.6.0, < 1.6.51", - "fixed": "1.6.51", + "title": "poppler's JBIG2Stream::rewind dereferences a null pointer", + "summary": "A flaw has been found in Freedesktop Poppler 26.07.0.", + "published": "2026-09-18", + "severity": null, + "affected": "poppler 26.07.0", + "fixed": "26.08.0", "reached_by": "open", - "trigger": "Opening an Adam7-interlaced PNG with 16-bit samples.", - "bucket": "B", - "finding": "Interlacing is in the IHDR. No scanner writes an interlaced PNG, so the default refuses one.", + "trigger": "Rendering a PDF page whose image is a crafted JBIG2 stream.", + "bucket": "B2", + "finding": "Reached by rendering a page whose image is a JBIG2 stream. The image's filter is named in its stream dictionary, which cannot be hidden inside a compressed object stream, so a bounded search of the bytes finds /JBIG2Decode and the policy can refuse the codec by name (pdf_image_codecs). The default allows it: scanners and the archives that derive PDFs from scans write JBIG2 (five of the seven PDFs in Tetrak OCR's corpus). pdfimages -list would report the codec too, but it opens a JPX stream with OpenJPEG just to describe it, so the library does not run it.", "refusal": { - "check": "allow_interlaced_png", - "default": true, - "setting": "allow_interlaced_png is off by default" + "check": "pdf_image_codecs", + "default": false, + "setting": "Policy(pdf_image_codecs={\"jpeg\", \"jpx\", \"ccitt\"})" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_an_interlaced_png" + "tests/test_check.py::TestPdf::test_a_jbig2_pdf_under_a_policy_that_refuses_it" ], "protect": { - "general": "Keep libpng current.", - "specific": "Refuse interlaced PNGs; nothing that scans a page writes one. sillybos does by default." + "general": "Upgrade to poppler 26.08.0.", + "specific": "If nothing you handle is JBIG2-coded, say so in the policy: sillybos --pdf-image-codecs jpeg,jpx,ccitt. Otherwise render in a boxed process." }, "sources": [ - "https://github.com/advisories/GHSA-7wv6-48j4-hj3g", + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93312" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." + }, + { + "key": "CVE-2026-93311", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A sampled function's BitsPerSample overflows an integer in poppler", + "summary": "A vulnerability was detected in Freedesktop Poppler 26.07.0.", + "published": "2026-09-18", + "severity": null, + "affected": "poppler 26.07.0", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF whose Type 0 (sampled) function declares a crafted BitsPerSample.", + "bucket": "C", + "finding": "A function dictionary is page content that only the renderer evaluates; no header or pdfinfo report shows it. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93311" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-18495", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiff2pdf truncates a BigTIFF strip byte count and overflows", + "summary": "A flaw was found in libtiff.", + "published": "2026-09-11", + "severity": 6.1, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiff2pdf command-line tool on a crafted BigTIFF.", + "bucket": "N", + "finding": "In the tiff2pdf utility, and through a BigTIFF, which sillybos refuses by name in any case; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-18495" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-85091", + "aliases": [], + "library": "zlib", + "package": "zlib", + "ecosystem": "Debian", + "title": "zlib's gz_vacate overflows a heap buffer after a stalled gzwrite", + "summary": "zlib versions 1.3.1.2 through 1.3.2 contain a heap buffer overflow vulnerability in the gz_vacate() function when processing non-blocking gzwrite() operations with stale external buffer pointers.", + "published": "2026-09-03", + "severity": null, + "affected": "zlib 1.3.1.2 through 1.3.2", + "fixed": null, + "reached_by": "save", + "trigger": "Calling gzprintf or gzvprintf after a non-blocking gzwrite stalled.", + "bucket": "N", + "finding": "In zlib's gz file layer (gzwrite, gzprintf), on a non-blocking descriptor whose write stalled. No image file is the input, and nothing in the image stack calls that layer: libpng and libtiff use the raw deflate stream, Pillow's wheel references none of the gz write functions, and Python's zlib module has no gz API. Only a program that writes .gz files through zlib's own file functions, on a non-blocking descriptor, is in the path.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade zlib to a version that has the fix; the upstream record names it.", + "specific": "Not reached through an image: only a program's own gzwrite on a non-blocking descriptor; upgrade zlib." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-85091" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Checked on 2026-11-03 that nothing in the image stack calls zlib's gz write layer." + }, + { + "key": "CVE-2026-52491", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "The thumbnail tool's main allows arbitrary code execution", + "summary": "An issue in libtiff 85f2ac8e0b01cb7db2bbecf4a3b891bdbef67938 allows an attacker to execute arbitrary code via the libtiff/tools/thumbnail.c: main() component", + "published": "2026-08-25", + "severity": 8.4, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running LibTIFF's thumbnail command-line tool with crafted input.", + "bucket": "N", + "finding": "In tools/thumbnail.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52491" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-52492", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "rgb2ycbcr undersizes a strip buffer and overflows it", + "summary": "An integer overflow in the libtiff rgb2ycbcr utility's cvtRaster() function when computing strip buffer sizes can result in an undersized heap allocation and subsequent heap-based buffer overflow during YCbCr conversion of a crafted TIFF...", + "published": "2026-08-24", + "severity": 7.8, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the rgb2ycbcr command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In the rgb2ycbcr utility; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52492" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-52490", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcrop's option parsing allows arbitrary code execution", + "summary": "An issue in libtiff 85f2ac8e0b01cb7db2bbecf4a3b891bdbef67938 allows an attacker to execute arbitrary code via the process_command_opts() function in tools/tiffcrop.c", + "published": "2026-08-24", + "severity": 9.8, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcrop command-line tool with crafted options.", + "bucket": "N", + "finding": "In tools/tiffcrop.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52490" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-59204", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A tiled JPEG 2000 grows Pillow's scratch buffer to a whole image", + "summary": "Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service", + "published": "2026-07-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open and load on a crafted tiled JPEG 2000 file with many small tiles.", + "bucket": "A", + "finding": "A JPEG 2000 file is refused by name before Pillow sees it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Refuse JPEG 2000 by name, as sillybos does by default." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-vjc4-5qp5-m44j", + "https://osv.dev/vulnerability/PYSEC-2026-3496" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-59200", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "PdfParser inflates a PDF stream without an upper bound", + "summary": "Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()", + "published": "2026-07-20", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Opening an existing PDF with Pillow's PdfParser, as Image.save(append=True) does; Image.open never reads a PDF.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a FlateDecode stream whose expansion is unbounded, which pdfinfo never inflates, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-jjj6-mw9f-p565", + "https://osv.dev/vulnerability/PYSEC-2026-3495" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, + { + "key": "CVE-2026-59198", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's TGA run-length encoder copies heap bytes into the file it writes", + "summary": "Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images", + "published": "2026-07-20", + "severity": 6.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "save", + "trigger": "Image.save(format=\"TGA\", compression=\"tga_rle\") of a mode-1 image.", + "bucket": "N", + "finding": "What rides from the opened file is its mode and its width, and nothing crafted: any bilevel image of any width over-reads once the program saves it as TGA with run-length compression, a choice no scan pipeline makes. A bilevel scan is exactly a mode-1 image, so a policy refusing them would refuse every scan; max_side bounds the over-read's window, which is seven eighths of the width. The file is not the input in any sense a check could act on.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Do not save images from outside as run-length TGA; upgrade to Pillow 12.3.0. The check's max_side bounds how far past the row buffer the encoder reads." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-fj7v-r99m-22gq", + "https://osv.dev/vulnerability/PYSEC-2026-3494" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against what rides from an opened file into a save." + }, + { + "key": "CVE-2026-54058", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A McIdas AREA file's row stride over-reads Pillow's memory map", + "summary": "Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)", + "published": "2026-07-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open on a McIdas AREA file, from a filename, whose tile declares a stride shorter than a row.", + "bucket": "A", + "finding": "A McIdas file is not one of the four formats a scan can be; sillybos does not know the format and refuses it as unknown before Pillow sees it. The same mmap path serves uncompressed TIFF, but the record names only McIdas as reaching the flaw.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; an unknown format is refused." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-62p4-gmf7-7g93", + "https://osv.dev/vulnerability/PYSEC-2026-3493" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-59205", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "An output image of the wrong mode corrupts the heap in ImageCms transforms", + "summary": "Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch", + "published": "2026-07-14", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "ImageCmsTransform.apply with an output image whose mode does not match the transform's.", + "bucket": "N", + "finding": "The mismatch is between two objects the program builds: a transform declared for one mode and an output image it allocates in another, passed together to apply. Nothing from a file sets either. The two routes a file's image takes into colour management both close it: profileToProfile builds the transform from the image's own mode and lets apply allocate the output in the transform's mode, and applyTransform refuses an image whose mode is not the transform's input mode before anything runs. An embedded profile from the file only builds the transform; it does not choose a mode. Checked against Pillow 13.0.0, whose C layer now refuses the mismatch outright. Neither Tetrak OCR nor sillybos imports ImageCms.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Let profileToProfile or applyTransform allocate the output image; never pass an output image of your own to apply; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-9hw9-ch79-4vh6", + "https://osv.dev/vulnerability/PYSEC-2026-3453" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Validated on 2026-11-03 that a file's contents cannot cause the mismatch." + }, + { + "key": "CVE-2026-59203", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A negative byte count in an EPS file loops Image.open for ever", + "summary": "Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service", + "published": "2026-07-14", + "severity": 5.3, + "affected": ">= 12.0.0, <= 12.2.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Image.open on an EPS file whose %%BeginBinary directive carries a negative byte count; the loop is in Image.open itself, before any load.", + "bucket": "A", + "finding": "A PostScript file is refused by name before Pillow sees it: the first bytes say what it is, whatever its name. This is the EPS reader October's command-execution flaw was also in.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_renamed_postscript_file" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Refuse PostScript by name, as sillybos does by default, and never hand Pillow an EPS from outside." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-pg7v-jwj7-p798", + "https://osv.dev/vulnerability/PYSEC-2026-3452" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-59199", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Coordinates near the 32-bit limit write out of bounds in Pillow's paste and crop", + "summary": "Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow", + "published": "2026-07-14", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.paste or Image.crop with coordinates the program supplies near the signed 32-bit limits.", + "bucket": "N", + "finding": "The trigger is the box the program passes to paste, crop or alpha_composite, with a coordinate within a few pixels of the signed 32-bit limit; the opened file only scales the write, by its width. No header shows what a program will later pass. What the check does is bound the geometry: with max_side at 30,000 by default, a box a program derives from the image's own size, as Tetrak OCR's tile crops are, stays five orders of magnitude below the wrap point. A box taken from anywhere else, a request or a file's metadata, is out of its reach, and the program must clip it to the image itself.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Derive boxes from the image's size, which the check bounds, and clip any box that comes from outside to the image before passing it to Pillow; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-6r8x-57c9-28j4", + "https://osv.dev/vulnerability/PYSEC-2026-3451" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: what the file contributes, and what the check bounds." + }, + { + "key": "CVE-2026-59197", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A huge rank-filter size writes out of bounds in ImagingExpand", + "summary": "Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`", + "published": "2026-07-14", + "severity": 8.2, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "image.filter(ImageFilter.MedianFilter(n)) with an enormous odd n.", + "bucket": "N", + "finding": "In the filter API, called with a size the program chooses; opening a file never runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-xj96-63gp-2gmr", + "https://osv.dev/vulnerability/PYSEC-2026-3454" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-50811", + "aliases": [], + "library": "FreeType", + "package": "freetype", + "ecosystem": "Debian", + "title": "FreeType over-reads variation design coordinates", + "summary": "An out-of-bounds read vulnerability exists in FreeType 2.14.3 and versions before commit 5a280ecde6f324de0d226261036e736e0cb49a71 in src/truetype/ttgxvar.c, in the TT_Get_Var_Design implementation used by FT_Get_Var_Design_Coordinates", + "published": "2026-07-07", + "severity": 6.5, + "affected": "FreeType 2.14.3 and earlier commits", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF whose embedded variable font makes FreeType call TT_Get_Var_Design with crafted data.", + "bucket": "C", + "finding": "Reached by rendering, through an embedded variable font; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade FreeType to a version that has the fix; the upstream record names it.", + "specific": "Render in a boxed process." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-50811" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." + }, + { + "key": "CVE-2026-55798", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's Windows viewer builds a shell command from an unescaped path", + "summary": "Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path", + "published": "2026-07-06", + "severity": 4.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.show() on Windows with a file path containing shell metacharacters.", + "bucket": "N", + "finding": "In ImageShow, reached only when a program calls Image.show to open a desktop viewer on the machine running Python; opening a file never runs it, and a page that shows a scan in a browser serves its bytes without it. The viewer builds its shell command from the temporary file it writes, not from the scan's name, so the input is the path quoting, not the file's contents.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-4x4j-2g7c-83w6", + "https://osv.dev/vulnerability/PYSEC-2026-2257" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-55380", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "GdImageFile.open accepts any dimensions without the bomb check", + "summary": "Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Calling PIL.GdImageFile.open directly on a GD 2.x file.", + "bucket": "A", + "finding": "A GD file is not one of the four formats a scan can be; the check does not know it and refuses it as unknown. It is reached only by calling GdImageFile.open by name, which Image.open never does.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Refuse what is not an image a scan can be, as sillybos does by default; GdImageFile.open is a direct call that bypasses Image.open's registry." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-phj9-mv4w-65pm", + "https://osv.dev/vulnerability/PYSEC-2026-2256" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, + { + "key": "CVE-2026-55379", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A BDF font's bounding box bypasses Pillow's decompression-bomb check", + "summary": "Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Loading a BDF font file through BdfFontFile.", + "bucket": "A", + "finding": "The carrier is a BDF font, read by BdfFontFile, a converter a program imports and calls by name; no image plugin or ImageFont reaches it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-45hq-cxwh-f6vc", + "https://osv.dev/vulnerability/PYSEC-2026-2255" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "key": "CVE-2026-54060", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "FontFile.compile assembles a bitmap without the bomb check", + "summary": "Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Compiling a loaded BDF or PCF font into an ImageFont.", + "bucket": "A", + "finding": "The carrier is a BDF or PCF font, compiled by FontFile.compile after one of the converters a program calls by name has read it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports them.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-5x94-69rx-g8h2", + "https://osv.dev/vulnerability/PYSEC-2026-2254" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "key": "CVE-2026-54059", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A PCF font's glyph sizes bypass Pillow's decompression-bomb check", + "summary": "Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Loading a PCF font file through PcfFontFile, which Image.open never does.", + "bucket": "A", + "finding": "The carrier is a PCF font, read by PcfFontFile, a converter a program imports and calls by name; no image plugin or ImageFont reaches it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-8v84-f9pq-wr9x", + "https://osv.dev/vulnerability/PYSEC-2026-2253" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": null, + "key": "CVE-2026-12912", + "aliases": [ + "GHSA-cg4c-j43f-qcg7" + ], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "A PixarLog-compressed TIFF overflows a libtiff heap buffer", + "summary": "Decoding a PixarLog image with the 8-bit ABGR output format and a specific stride leads to a heap-based buffer overflow.", + "published": "2026-06-29", + "severity": 7.3, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "open", + "trigger": "Opening a TIFF compressed with PixarLog.", + "bucket": "B", + "finding": "The compression scheme is a directory tag. The default policy allows none, CCITT, LZW, JPEG, Deflate and PackBits; PixarLog and the other codecs a scan never uses are refused by name.", + "refusal": { + "check": "tiff_compressions", + "default": true, + "setting": "tiff_compressions excludes PixarLog by default" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_pixarlog_tiff" + ], + "protect": { + "general": "Keep libtiff current.", + "specific": "Allow only the compression schemes your files use; sillybos --tiff-compressions." + }, + "sources": [ + "https://github.com/advisories/GHSA-cg4c-j43f-qcg7" + ] + }, + { + "key": "CVE-2026-40930", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "libpng's push-mode APNG parser misreads a discarded chunk as a header", + "summary": "LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files.", + "published": "2026-06-04", + "severity": 5.4, + "affected": "libpng 1.8.0", + "fixed": null, + "reached_by": "open", + "trigger": "Feeding a crafted APNG to libpng's progressive (push) reader, which discards an inter-frame ancillary chunk without consuming it.", + "bucket": "C", + "finding": "The flaw is in how the progressive reader resynchronises after a chunk, not in any field the chunk declares; sillybos reads every chunk's length and type and refuses a malformed chain, but a well-formed chain with this content passes. Only in the push-mode API, which Pillow does not use. Out of a header check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libpng to a version that has the fix; the upstream record names it.", + "specific": "Decode in a boxed process; prefer the pull-mode reader, which Pillow uses." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-40930" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-10118", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A tiling pattern overflows an allocation in poppler's Splash renderer", + "summary": "A flaw was found in Poppler's Splash backend.", + "published": "2026-06-01", + "severity": 7.8, + "affected": "poppler, as packaged; see the upstream record", + "fixed": null, + "reached_by": "open", + "trigger": "Rendering a PDF page whose tiling pattern makes tilingPatternFill compute an undersized allocation.", + "bucket": "C", + "finding": "In the renderer's pattern filling; the pattern is page content that no header or pdfinfo report shows. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-10118" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-42311", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "PSD tile extents overflow Pillow's bounds check and write out of bounds", + "summary": "Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)", + "published": "2026-05-04", + "severity": null, + "affected": ">= 10.3.0, < 12.2.0", + "fixed": "12.2.0", + "reached_by": "open", + "trigger": "Image.open on a Photoshop (PSD) file with tile dimensions chosen to wrap the extent sum.", + "bucket": "A", + "finding": "A Photoshop file is refused by name before Pillow sees it, as for CVE-2026-25990, whose fix this bypassed.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-pwv6-vv43-88gr", + "https://osv.dev/vulnerability/PYSEC-2026-2252" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-42310", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's PdfParser loops for ever on a cyclic trailer", + "summary": "Pillow has a PDF Parsing Trailer Infinite Loop (DoS)", + "published": "2026-05-04", + "severity": 5.5, + "affected": "< 12.2.0", + "fixed": "12.2.0", + "reached_by": "api", + "trigger": "Opening an existing PDF with Pillow's PdfParser, which Image.save(append=True) does; Image.open does not read PDFs.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a trailer whose /Prev pointer forms a cycle, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-r73j-pqj5-w3x7", + "https://osv.dev/vulnerability/PYSEC-2026-2874" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." + }, + { + "key": "CVE-2026-42309", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Nested coordinate lists overrun a heap buffer in Pillow's drawing", + "summary": "Pillow has a heap buffer overflow with nested list coordinates", + "published": "2026-05-04", + "severity": 5.5, + "affected": ">= 11.2.1, < 12.2.0", + "fixed": "12.2.0", + "reached_by": "api", + "trigger": "Passing nested lists as coordinates to ImageDraw or ImagePath.", + "bucket": "N", + "finding": "In the drawing APIs, which Image.open never runs.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-5xmw-vc9v-4wf2", + "https://osv.dev/vulnerability/PYSEC-2026-2251" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-42308", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A font with huge glyph advances overflows Pillow's position counter", + "summary": "Pillow has an integer overflow when processing fonts", + "published": "2026-05-04", + "severity": 5.5, + "affected": "< 12.2.0", + "fixed": "12.2.0", + "reached_by": "api", + "trigger": "Drawing text with a crafted font through ImageFont.", + "bucket": "A", + "finding": "The carrier is a font whose glyphs advance by an enormous amount, loaded through ImageFont and drawn with. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-wjx4-4jcj-g98j", + "https://osv.dev/vulnerability/PYSEC-2026-165" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." + }, + { + "key": "CVE-2026-6192", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "OpenJPEG's encoder overflows an integer in opj_pi_initialise_encode", + "summary": "A vulnerability was identified in uclouvain openjpeg up to 2.5.4.", + "published": "2026-04-13", + "severity": null, + "affected": "OpenJPEG up to 2.5.4", + "fixed": null, + "reached_by": "save", + "trigger": "Encoding a JPEG 2000 image with crafted parameters.", + "bucket": "N", + "finding": "In the encoder's packet iterator; decoding never runs it, and a JPEG 2000 file is refused by name in any case.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: the flaw is on a save path." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-6192" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-40192", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A FITS file's gzip stream expands without limit in Pillow", + "summary": "FITS GZIP decompression bomb in Pillow", + "published": "2026-04-13", + "severity": 7.5, + "affected": ">= 10.3.0, < 12.2.0", + "fixed": "12.2.0", + "reached_by": "open", + "trigger": "Image.open on a FITS file whose GZIP-compressed data expands far beyond the image it declares.", + "bucket": "A", + "finding": "A FITS file is not one of the four formats a scan can be; sillybos does not know the format and refuses it as unknown before Pillow sees it. The advisory's own workaround is Image.open's formats parameter, which open_checked sets from the policy.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-whj4-6x5x-4v2j", + "https://osv.dev/vulnerability/PYSEC-2026-2250" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-34757", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "Passing a libpng getter's pointer back to its setter reads freed memory", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2026-04-09", + "severity": 4.4, + "affected": "libpng 1.0.9 to before 1.6.57", + "fixed": "1.6.57", + "reached_by": "api", + "trigger": "Calling png_set_PLTE, png_set_tRNS or png_set_hIST with the pointer the matching getter returned.", + "bucket": "N", + "finding": "A misuse of the setter API by the caller, not a crafted file; Pillow does not do it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.57.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-34757" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": "Cited from the policy's own notes (policy.py), written from the advisory at the time; the OSV record was unreachable when this entry was made and its fields should be filled in.", + "key": "CVE-2026-33636", + "aliases": [ + "GHSA-wjr5-c57x-95m2" + ], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "A palette PNG reaches a flaw in libpng's palette handling", + "summary": "One of three libpng flaws in the paths that handle palette (indexed-colour) PNGs. The upstream record was not re-fetched when this entry was written; see notes.", + "published": "2026-03-26", + "severity": 7.6, + "affected": ">= 1.6.36, <= 1.6.55", + "fixed": "1.6.56", + "reached_by": "open", + "trigger": "Opening a palette-type PNG.", + "bucket": "B", + "finding": "The colour type is in the PNG's IHDR. The default allows all five colour types; a policy for scans alone can keep to greyscale and RGB, which keeps palette PNGs from the decoder.", + "refusal": { + "check": "png_colour_types", + "default": false, + "setting": "Policy(png_colour_types={\"greyscale\", \"rgb\"})" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" + ], + "protect": { + "general": "Keep libpng current.", + "specific": "If nothing you handle is a palette PNG, say so in the policy: sillybos --png-colour-types greyscale,rgb." + }, + "sources": [ + "https://github.com/advisories/GHSA-wjr5-c57x-95m2", + "https://osv.dev/vulnerability/CVE-2026-33636" + ] + }, + { + "key": "CVE-2026-33416", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "png_set_tRNS and png_set_PLTE share one buffer between two structs", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2026-03-26", + "severity": 7.5, + "affected": "libpng 1.2.1 through 1.6.55", + "fixed": "1.6.56", + "reached_by": "api", + "trigger": "A libpng caller that sets the palette or transparency on a png_info it then frees separately from the png_struct.", + "bucket": "N", + "finding": "A lifetime flaw between the setter APIs and the caller's own frees, not something a crafted file causes on its own; reading a PNG through Pillow does not call these setters.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.56.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-33416" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": null, + "key": "CVE-2026-4775", + "aliases": [ + "GHSA-cm99-m826-vgg7" + ], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "A YCbCr TIFF subsampled four to one overflows a libtiff buffer", + "summary": "Signed integer overflow in putcontig8bitYCbCr44tile leads to an out-of-bounds heap write.", + "published": "2026-03-24", + "severity": 7.8, + "affected": "libtiff, as packaged; see the upstream record", + "fixed": null, + "reached_by": "open", + "trigger": "Opening a YCbCr TIFF whose chroma subsampling is 4x4, through the RGBA reading path.", + "bucket": "B", + "finding": "A YCbCr TIFF's subsampling is a directory tag. The default policy allows 1x1, 2x1, 1x2 and 2x2, which is what scanners and cameras write; 4x4 and the other factor-of-four values are refused.", + "refusal": { + "check": "tiff_subsamplings", + "default": true, + "setting": "tiff_subsamplings excludes factor-of-four by default" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_ycbcr_tiff_subsampled_four_by_four" + ], + "protect": { + "general": "Keep libtiff current.", + "specific": "Allow only the subsamplings your files use; sillybos --tiff-subsamplings." + }, + "sources": [ + "https://github.com/advisories/GHSA-cm99-m826-vgg7" + ] + }, + { + "key": "CVE-2026-3713", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "The pnm2png contributed tool overruns a heap buffer", + "summary": "A flaw has been found in pnggroup libpng up to 1.6.55.", + "published": "2026-03-08", + "severity": null, + "affected": "libpng up to 1.6.55 (contrib/pngminus only)", + "fixed": null, + "reached_by": "tool", + "trigger": "Running contrib/pngminus/pnm2png with a crafted width or height.", + "bucket": "N", + "finding": "A contributed tool under contrib/, not the library; no library call runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libpng to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-3713" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-23865", + "aliases": [], + "library": "FreeType", + "package": "freetype", + "ecosystem": "Debian", + "title": "An OpenType variable font's variation tables over-read in FreeType", + "summary": "An integer overflow in the tt_var_load_item_variation_store function of the Freetype library in versions 2.13.2 and 2.13.3 may allow for an out of bounds read operation when parsing HVAR/VVAR/MVAR tables in OpenType variable fonts.", + "published": "2026-03-02", + "severity": 5.3, + "affected": "FreeType 2.13.2 and 2.13.3", + "fixed": "2.14.2", + "reached_by": "open", + "trigger": "Rendering a PDF whose embedded OpenType variable font carries crafted HVAR, VVAR or MVAR tables.", + "bucket": "C", + "finding": "Reached by rendering, through an embedded variable font, as CVE-2025-27363; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to FreeType 2.14.2.", + "specific": "Render in a boxed process; an image-only PDF carries no font." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-23865" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." + }, + { + "key": "CVE-2025-61145", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcrop frees memory twice", + "summary": "libtiff up to v4.7.1 was discovered to contain a double free via the component tools/tiffcrop.c.", + "published": "2026-02-23", + "severity": 5.0, + "affected": "libtiff up to 4.7.1", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcrop command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/tiffcrop.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61145" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-61144", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcrop overruns the stack in readSeparateStripsIntoBuffer", + "summary": "libtiff up to v4.7.1 was discovered to contain a stack overflow via the readSeparateStripsIntoBuffer function.", + "published": "2026-02-23", + "severity": 7.3, + "affected": "libtiff up to 4.7.1", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcrop command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "readSeparateStripsIntoBuffer is tiffcrop's, in tools/; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61144" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-61143", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "libtiff dereferences a null pointer while opening a file", + "summary": "libtiff up to v4.7.1 was discovered to contain a NULL pointer dereference via the component libtiff/tif_open.c.", + "published": "2026-02-23", + "severity": 5.5, + "affected": "libtiff up to 4.7.1", + "fixed": null, + "reached_by": "open", + "trigger": "Opening a crafted TIFF that reaches a null pointer in tif_open.c.", + "bucket": "C", + "finding": "In TIFFOpen's own setup, before any tag that a header check could judge; the upstream record names no field. Out of a pre-decode check's reach, and a crash on open costs one file in a boxed process.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Decode in a boxed process (see Decoding in a box)." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61143" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-27171", + "aliases": [], + "library": "zlib", + "package": "zlib", + "ecosystem": "Debian", + "title": "zlib's crc32_combine can spin on a shift loop", + "summary": "zlib before 1.3.2 allows CPU consumption via crc32_combine64 and crc32_combine_gen64 because x2nmodp can do right shifts within a loop that has no termination condition.", + "published": "2026-02-18", + "severity": 5.5, + "affected": "zlib before 1.3.2", + "fixed": "1.3.2", + "reached_by": "api", + "trigger": "Calling crc32_combine64 or crc32_combine_gen64 with particular lengths.", + "bucket": "N", + "finding": "In the CRC-combining helpers, which inflating a PNG's or TIFF's data never calls; not reached by opening a file.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to zlib 1.3.2.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-27171" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-25990", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A crafted PSD file writes out of bounds when Pillow loads it", + "summary": "Pillow affected by out-of-bounds write when loading PSD images", + "published": "2026-02-11", + "severity": null, + "affected": ">= 10.3.0, < 12.1.1", + "fixed": "12.1.1", + "reached_by": "open", + "trigger": "Image.open on a Photoshop (PSD) file with crafted layer data, then loading it.", + "bucket": "A", + "finding": "A Photoshop file is not one of the four formats a scan can be and is refused by name before Pillow sees it; the advisory's own workaround is Image.open's formats parameter, which open_checked sets from the policy.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to Pillow 12.1.1.", + "specific": "Open with formats limited to the readers you mean to use, as open_checked does; sillybos refuses a Photoshop file by name by default." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-cfh3-3jmp-rvhc", + "https://osv.dev/vulnerability/PYSEC-2026-2249" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-25646", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "png_set_quantize loops for ever on some palettes", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2026-02-10", + "severity": 8.1, + "affected": "libpng before 1.6.55", + "fixed": "1.6.55", + "reached_by": "api", + "trigger": "A libpng caller that asks for quantizing (png_set_quantize) with no histogram, on a palette with more than twice the display's colours; Pillow does not call it.", + "bucket": "N", + "finding": "Only a caller that requests quantizing reaches it, and Pillow does not. For a caller that does, a scans-only policy without palette PNGs would keep the file away (the png_colour_types setting).", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.55.", + "specific": "If your libpng caller quantizes, keep png_colour_types to greyscale and rgb." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-25646" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-28164", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "libpng 1.6.43 to 1.6.46 leaks in png_create_read_struct under a sanitiser", + "summary": "Buffer Overflow vulnerability in libpng 1.6.43-1.6.46 allows a local attacker to cause a denial of service via png_create_read_struct() function.", + "published": "2026-01-27", + "severity": 5.5, + "affected": "libpng 1.6.43 to 1.6.46", + "fixed": "1.6.47", + "reached_by": "api", + "trigger": "Creating read structures repeatedly in a program built with AddressSanitizer; reported against the pngimage test program.", + "bucket": "N", + "finding": "A resource leak in setup code, reported from a test program under a sanitiser, not a flaw a crafted file triggers; nothing a header shows bears on it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.47.", + "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-28164" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-28162", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "libpng's pngimage test program leaks memory", + "summary": "Buffer Overflow vulnerability in libpng 1.6.43-1.6.46 allows a local attacker to cause a denial of service via the pngimage with AddressSanitizer (ASan), the program leaks memory in various locations, eventually leading to high memory us...", + "published": "2026-01-27", + "severity": 5.5, + "affected": "libpng 1.6.43 to 1.6.46", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the pngimage test program under AddressSanitizer.", + "bucket": "N", + "finding": "A test program, not the library; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libpng to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-28162" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2026-22801", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "libpng's simplified write truncates a row stride and over-reads", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2026-01-12", + "severity": 7.8, + "affected": "libpng 1.6.26 to 1.6.53", + "fixed": "1.6.54", + "reached_by": "save", + "trigger": "Writing an image through png_write_image_16bit or png_write_image_8bit with a negative or over-large row stride.", + "bucket": "N", + "finding": "On the write path only; reading a PNG never runs the simplified write functions.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.54.", + "specific": "Not a pre-decode matter: the flaw is on a save path." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-22801" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": "Cited from the policy's own notes (policy.py); the OSV record was unreachable when this entry was made and its fields should be filled in.", + "key": "CVE-2026-22695", + "aliases": [ + "GHSA-mmq5-27w3-rxpp" + ], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "An interlaced 16-bit PNG overflows a libpng buffer", + "summary": "One of two libpng overflows on the Adam7-interlaced 16-bit path. The upstream record was not re-fetched when this entry was written; see notes.", + "published": "2026-01-12", + "severity": 6.1, + "affected": ">= 1.6.51, <= 1.6.53", + "fixed": "1.6.54", + "reached_by": "open", + "trigger": "Opening an Adam7-interlaced PNG with 16-bit samples.", + "bucket": "B", + "finding": "Interlacing is in the IHDR. No scanner writes an interlaced PNG, so the default refuses one.", + "refusal": { + "check": "allow_interlaced_png", + "default": true, + "setting": "allow_interlaced_png is off by default" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_interlaced_png" + ], + "protect": { + "general": "Keep libpng current.", + "specific": "Refuse interlaced PNGs; nothing that scans a page writes one. sillybos does by default." + }, + "sources": [ + "https://github.com/advisories/GHSA-mmq5-27w3-rxpp", + "https://osv.dev/vulnerability/CVE-2026-22695" + ] + }, + { + "key": "CVE-2026-22184", + "aliases": [], + "library": "zlib", + "package": "zlib", + "ecosystem": "Debian", + "title": "zlib's untgz demonstration overruns a global buffer", + "summary": "zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz.", + "published": "2026-01-07", + "severity": 7.8, + "affected": "zlib up to 1.3.1.2 (contrib/untgz only)", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the contrib/untgz demonstration utility with an over-long archive name.", + "bucket": "N", + "finding": "A standalone demonstration under contrib/, which the zlib library does not contain; no library call runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade zlib to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-22184" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": "Cited from the policy's own notes (policy.py), written from the advisory at the time; the OSV record was unreachable when this entry was made and its fields should be filled in.", + "key": "CVE-2025-66293", + "aliases": [ + "GHSA-9mpm-9pxh-mg4f" + ], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "A palette PNG reaches a flaw in libpng's palette handling", + "summary": "One of three libpng flaws in the paths that handle palette (indexed-colour) PNGs. The upstream record was not re-fetched when this entry was written; see notes.", + "published": "2025-12-03", + "severity": 7.1, + "affected": "< 1.6.52", + "fixed": "1.6.52", + "reached_by": "open", + "trigger": "Opening a palette-type PNG.", + "bucket": "B", + "finding": "The colour type is in the PNG's IHDR. The default allows all five colour types; a policy for scans alone can keep to greyscale and RGB, which keeps palette PNGs from the decoder.", + "refusal": { + "check": "png_colour_types", + "default": false, + "setting": "Policy(png_colour_types={\"greyscale\", \"rgb\"})" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" + ], + "protect": { + "general": "Keep libpng current.", + "specific": "If nothing you handle is a palette PNG, say so in the policy: sillybos --png-colour-types greyscale,rgb." + }, + "sources": [ + "https://github.com/advisories/GHSA-9mpm-9pxh-mg4f", + "https://osv.dev/vulnerability/CVE-2025-66293" + ] + }, + { + "key": "CVE-2025-64506", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "libpng's simplified 8-bit write over-reads its row buffer", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2025-11-25", + "severity": 6.1, + "affected": "libpng 1.6.0 to before 1.6.51", + "fixed": "1.6.51", + "reached_by": "save", + "trigger": "Writing an 8-bit image through libpng's simplified write API with convert_to_8bit set.", + "bucket": "N", + "finding": "On the write path only; reading a PNG never runs png_write_image_8bit.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to libpng 1.6.51.", + "specific": "Not a pre-decode matter: the flaw is on a save path." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-64506" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-64505", + "aliases": [], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "Out-of-range palette indices over-read libpng's quantize table", + "summary": "LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.", + "published": "2025-11-25", + "severity": 6.1, + "affected": "libpng before 1.6.51", + "fixed": "1.6.51", + "reached_by": "api", + "trigger": "Reading a palette PNG with out-of-range indices through a libpng caller that has asked for quantizing (png_set_quantize); Pillow does not.", + "bucket": "A", + "finding": "A palette PNG. Under a scans-only policy (png_colour_types without palette) the file is refused before libpng sees it; the default policy allows palette PNGs, so the setting is what closes this.", + "refusal": { + "check": "png_colour_types", + "default": false, + "setting": "png_colour_types" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" + ], + "protect": { + "general": "Upgrade to libpng 1.6.51.", + "specific": "Keep png_colour_types to greyscale and rgb for scans, as the policy table suggests; a scanner never writes a palette image." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-64505" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "triaged": "2026-11-01", + "checked": "2026-11-01", + "notes": "Cited from the policy's own notes (policy.py); the OSV record was unreachable when this entry was made and its fields should be filled in.", + "key": "CVE-2025-65018", + "aliases": [ + "GHSA-7wv6-48j4-hj3g" + ], + "library": "libpng", + "package": "libpng1.6", + "ecosystem": "Debian", + "title": "An interlaced 16-bit PNG overflows a libpng buffer", + "summary": "One of two libpng overflows on the Adam7-interlaced 16-bit path. The upstream record was not re-fetched when this entry was written; see notes.", + "published": "2025-11-24", + "severity": 7.1, + "affected": ">= 1.6.0, < 1.6.51", + "fixed": "1.6.51", + "reached_by": "open", + "trigger": "Opening an Adam7-interlaced PNG with 16-bit samples.", + "bucket": "B", + "finding": "Interlacing is in the IHDR. No scanner writes an interlaced PNG, so the default refuses one.", + "refusal": { + "check": "allow_interlaced_png", + "default": true, + "setting": "allow_interlaced_png is off by default" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_interlaced_png" + ], + "protect": { + "general": "Keep libpng current.", + "specific": "Refuse interlaced PNGs; nothing that scans a page writes one. sillybos does by default." + }, + "sources": [ + "https://github.com/advisories/GHSA-7wv6-48j4-hj3g", "https://osv.dev/vulnerability/CVE-2025-65018" ] }, @@ -806,9 +3277,67 @@ "specific": "If nothing you handle is a palette PNG, say so in the policy: sillybos --png-colour-types greyscale,rgb." }, "sources": [ - "https://github.com/advisories/GHSA-hfc7-ph9c-wcww", - "https://osv.dev/vulnerability/CVE-2025-64720" - ] + "https://github.com/advisories/GHSA-hfc7-ph9c-wcww", + "https://osv.dev/vulnerability/CVE-2025-64720" + ] + }, + { + "key": "CVE-2025-52885", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "poppler's structure tree holds dangling pointers after a vector resize", + "summary": "Poppler ia a library for rendering PDF files, and examining or modifying their structure.", + "published": "2025-10-10", + "severity": null, + "affected": "poppler before 25.10.0", + "fixed": "25.10.0", + "reached_by": "open", + "trigger": "A tagged PDF whose structure tree makes poppler resize the vector that refToParentMap points into.", + "bucket": "D", + "finding": "In StructTreeRoot, parsed when a tool reads the structure of a tagged file; pdfinfo may do so for a tagged document. A crash in pdfinfo is a refusal (fails closed); in the renderer, nothing a header shows distinguishes the file.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 25.10.0.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-52885" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-43718", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "Deeply nested PDF metadata exhausts poppler's stack", + "summary": "Poppler 24.06.1 through 25.x before 25.04.0 allows stack consumption and a SIGSEGV via deeply nested structures within the metadata (such as GTS_PDFEVersion) of a PDF document, e.g., a regular expression for a long pdfsubver string.", + "published": "2025-10-01", + "severity": 2.9, + "affected": "poppler 24.06.1 through 25.03", + "fixed": "25.04.0", + "reached_by": "open", + "trigger": "A PDF whose metadata (for example a long GTS_PDFEVersion string) drives deep recursion in poppler's regular-expression matching.", + "bucket": "D", + "finding": "In Catalog::getMetadata and the dictionary lookup beneath it, which pdfinfo may run while reporting the metadata. A crash in pdfinfo is a non-zero exit and so a refusal: the check fails closed.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 25.04.0.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-43718" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." }, { "key": "CVE-2025-9900", @@ -843,7 +3372,548 @@ ], "triaged": "2026-11-02", "checked": "2026-11-02", - "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; confirmed by a person on 2026-11-02." + }, + { + "key": "CVE-2025-9165", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcmp leaks memory", + "summary": "A flaw has been found in LibTIFF 4.7.0.", + "published": "2025-08-19", + "severity": null, + "affected": "LibTIFF 4.7.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcmp command-line tool on crafted TIFFs.", + "bucket": "N", + "finding": "In tools/tiffcmp.c, a command-line tool; no library call opening a file runs it. The upstream record doubts the flaw is real.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-9165" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-8961", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcrop corrupts memory in main", + "summary": "A weakness has been identified in LibTIFF 4.7.0.", + "published": "2025-08-14", + "severity": null, + "affected": "LibTIFF 4.7.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcrop command-line tool with crafted arguments.", + "bucket": "N", + "finding": "In tiffcrop.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8961" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-8851", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffcrop overruns a stack buffer in readSeparateStripsetoBuffer", + "summary": "A vulnerability was determined in LibTIFF up to 4.5.1.", + "published": "2025-08-11", + "severity": null, + "affected": "LibTIFF up to 4.5.1", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffcrop command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/tiffcrop.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8851" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-50952", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "OpenJPEG dereferences a null pointer in the wavelet transform", + "summary": "openjpeg v 2.5.0 was discovered to contain a NULL pointer dereference via the component /openjp2/dwt.c.", + "published": "2025-08-07", + "severity": 6.5, + "affected": "OpenJPEG 2.5.0", + "fixed": null, + "reached_by": "open", + "trigger": "Decoding a crafted JPEG 2000 codestream that reaches openjp2/dwt.c.", + "bucket": "A", + "finding": "A JPEG 2000 file is refused by name before any decoder sees it. Inside a PDF, a JPX image stream still reaches OpenJPEG when poppler renders the page; the default allows it, and a policy that knows its source refuses it by name (pdf_image_codecs without jpx). pdfimages -list would show the stream too, but it opens it with OpenJPEG just to describe it, so the library never runs that tool.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", + "specific": "Refuse JPEG 2000 by name, as sillybos does by default; for a JPX stream inside a PDF, refuse the codec with pdf_image_codecs if the source never uses it, and render in a boxed process in any case." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-50952" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-8534", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiff2ps dereferences a null pointer in PS_Lvl2page", + "summary": "A vulnerability classified as problematic was found in libtiff 4.6.0.", + "published": "2025-08-05", + "severity": null, + "affected": "libtiff 4.6.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiff2ps command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/tiff2ps.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8534" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-54874", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "A short JP2 stream makes OpenJPEG write out of bounds in opj_jp2_read_header", + "summary": "OpenJPEG is an open-source JPEG 2000 codec.", + "published": "2025-08-05", + "severity": 9.8, + "affected": "OpenJPEG 2.5.1 through 2.5.3", + "fixed": "2.5.4", + "reached_by": "open", + "trigger": "Opening a JPEG 2000 file whose stream ends before the header is complete.", + "bucket": "A", + "finding": "A JPEG 2000 file is not one of the four formats a scan can be and is refused by name before any decoder sees it. Inside a PDF, a JPX image stream still reaches OpenJPEG when poppler renders the page; the default allows it, and a policy that knows its source refuses it by name (pdf_image_codecs without jpx). pdfimages -list would show the stream too, but it opens it with OpenJPEG just to describe it, so the library never runs that tool.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_format_a_scan_never_is" + ], + "protect": { + "general": "Upgrade to OpenJPEG 2.5.4.", + "specific": "Refuse JPEG 2000 by name, as sillybos does by default; for a JPX stream inside a PDF, refuse the codec with pdf_image_codecs if the source never uses it, and render in a boxed process in any case." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-54874" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-50420", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "pdfseparate recurses without limit on a crafted PDF", + "summary": "An issue in the pdfseparate utility of freedesktop poppler v25.04.0 allows attackers to cause an infinite recursion via supplying a crafted PDF file.", + "published": "2025-08-04", + "severity": 6.5, + "affected": "poppler 25.04.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running poppler's pdfseparate utility on a crafted PDF.", + "bucket": "N", + "finding": "Reported against the pdfseparate utility; pdfinfo and the renderer are not named. If the recursion were in shared parsing code, pdfinfo's time limit would turn it into a refusal.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-50420" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2024-13978", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiff2pdf dereferences a null pointer", + "summary": "A vulnerability was found in LibTIFF up to 4.7.0.", + "published": "2025-08-01", + "severity": null, + "affected": "LibTIFF up to 4.7.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiff2pdf command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/tiff2pdf.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2024-13978" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-8177", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "The thumbnail tool overruns a buffer in setrow", + "summary": "A vulnerability was found in LibTIFF up to 4.7.0.", + "published": "2025-07-26", + "severity": 7.8, + "affected": "LibTIFF up to 4.7.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running LibTIFF's thumbnail command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/thumbnail.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8177" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-8176", + "aliases": [], + "library": "libtiff", + "package": "tiff", + "ecosystem": "Debian", + "title": "tiffmedian uses memory after freeing it", + "summary": "A vulnerability was found in LibTIFF up to 4.7.0.", + "published": "2025-07-26", + "severity": 7.8, + "affected": "LibTIFF up to 4.7.0", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the tiffmedian command-line tool on a crafted TIFF.", + "bucket": "N", + "finding": "In tools/tiffmedian.c, a command-line tool; no library call opening a file runs it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade libtiff to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8176" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-52886", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "poppler's 32-bit reference count can overflow into a use-after-free", + "summary": "Poppler is a PDF rendering library.", + "published": "2025-07-02", + "severity": 5.9, + "affected": "poppler before 25.06.0", + "fixed": "25.06.0", + "reached_by": "open", + "trigger": "A PDF that makes poppler take more than 2^32 references to one object.", + "bucket": "D", + "finding": "In the object reference counting that every poppler tool shares, pdfinfo included. A file that overflowed it would crash pdfinfo, and a non-zero exit is a refusal, so the check fails closed; within max_bytes, that many references is impractical.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 25.06.0.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-52886" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-48379", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Saving a large DDS image overruns a heap buffer in Pillow's BCn encoder", + "summary": "Pillow vulnerability can cause write buffer overflow on BCn encoding", + "published": "2025-07-01", + "severity": 7.1, + "affected": "< 11.3.0", + "fixed": "11.3.0", + "reached_by": "save", + "trigger": "Image.save(..., format=\"DDS\") of an image larger than about 64 KB encoded, with default settings.", + "bucket": "N", + "finding": "On the DDS save path only; Image.open never runs the BCn encoder.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 11.3.0.", + "specific": "Not a pre-decode matter: the flaw is on a save path." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-xg8h-j46f-w952", + "https://osv.dev/vulnerability/PYSEC-2025-61" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-43903", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "poppler accepts a forged adbe.pkcs7.sha1 signature", + "summary": "NSSCryptoSignBackend.cc in Poppler before 25.04.0 does not verify the adbe.pkcs7.sha1 signatures on documents, resulting in potential signature forgeries.", + "published": "2025-04-18", + "severity": 3.3, + "affected": "poppler before 25.04.0", + "fixed": "25.04.0", + "reached_by": "api", + "trigger": "Asking poppler to verify a document signature (pdfsig or the signature API).", + "bucket": "N", + "finding": "Signature verification is a separate call that rendering and pdfinfo never make; a forged signature does not reach a pipeline that only renders pages.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 25.04.0.", + "specific": "Not a pre-decode matter. If signatures are verified, use poppler 25.04.0 or later." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-43903" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-32365", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A JBIG2 stream in a PDF reads out of bounds in poppler's JBIG2Bitmap::combine", + "summary": "Poppler before 25.04.0 allows crafted input files to trigger out-of-bounds reads in the JBIG2Bitmap::combine function in JBIG2Stream.cc because of a misplaced isOk check.", + "published": "2025-04-05", + "severity": 7.1, + "affected": "poppler before 25.04.0", + "fixed": "25.04.0", + "reached_by": "open", + "trigger": "Rendering a PDF page whose image is a crafted JBIG2 stream.", + "bucket": "B2", + "finding": "Reached by rendering a page whose image is a JBIG2 stream. The image's filter is named in its stream dictionary, which cannot be hidden inside a compressed object stream, so a bounded search of the bytes finds /JBIG2Decode and the policy can refuse the codec by name (pdf_image_codecs). The default allows it: scanners and the archives that derive PDFs from scans write JBIG2 (five of the seven PDFs in Tetrak OCR's corpus). pdfimages -list would report the codec too, but it opens a JPX stream with OpenJPEG just to describe it, so the library does not run it.", + "refusal": { + "check": "pdf_image_codecs", + "default": false, + "setting": "Policy(pdf_image_codecs={\"jpeg\", \"jpx\", \"ccitt\"})" + }, + "verified_by": [ + "tests/test_check.py::TestPdf::test_a_jbig2_pdf_under_a_policy_that_refuses_it" + ], + "protect": { + "general": "Upgrade to poppler 25.04.0.", + "specific": "If nothing you handle is JBIG2-coded, say so in the policy: sillybos --pdf-image-codecs jpeg,jpx,ccitt. Otherwise render in a boxed process." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-32365" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." + }, + { + "key": "CVE-2025-32364", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A PostScript calculator function in a PDF divides by INT_MIN and crashes poppler", + "summary": "A floating-point exception in the PSStack::roll function of Poppler before 25.04.0 can cause an application to crash when handling malformed inputs associated with INT_MIN.", + "published": "2025-04-05", + "severity": 5.5, + "affected": "poppler before 25.04.0", + "fixed": "25.04.0", + "reached_by": "open", + "trigger": "Rendering a PDF whose Type 4 (PostScript calculator) function stream makes PSStack::roll handle INT_MIN.", + "bucket": "C", + "finding": "The function stream is content that only the renderer evaluates; nothing in the structure pdfinfo reports, or in any header, shows it. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to poppler 25.04.0.", + "specific": "Render PDFs in a boxed process with memory and time limits (see Decoding in a box); nothing read before decoding can see this." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-32364" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2025-27363", + "aliases": [], + "library": "FreeType", + "package": "freetype", + "ecosystem": "Debian", + "title": "A variable TrueType font embedded in a PDF overruns a FreeType heap buffer", + "summary": "An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to parse font subglyph structures related to TrueType GX and variable font files.", + "published": "2025-03-11", + "severity": 8.1, + "affected": "FreeType 2.13.0 and earlier", + "fixed": "2.13.1", + "reached_by": "open", + "trigger": "Rendering a PDF whose embedded font is a TrueType GX or variable font with crafted subglyph structures; FreeType parses the font when poppler draws the text.", + "bucket": "C", + "finding": "Reached by rendering, through the embedded font; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to FreeType 2.13.1.", + "specific": "Render in a boxed process; a PDF with no text layer carries no font for FreeType to parse." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2025-27363" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." + }, + { + "key": "CVE-2024-56827", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "opj_decompress overruns a heap buffer with certain options (second report)", + "summary": "A flaw was found in the OpenJPEG project.", + "published": "2025-01-09", + "severity": 5.6, + "affected": "OpenJPEG, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the opj_decompress command-line tool with particular options on a crafted JPEG 2000 file.", + "bucket": "N", + "finding": "As CVE-2024-56826: the opj_decompress utility, not a library call opening a file; a JPEG 2000 file is refused by name in any case.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2024-56827" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." + }, + { + "key": "CVE-2024-56826", + "aliases": [], + "library": "OpenJPEG", + "package": "openjpeg2", + "ecosystem": "Debian", + "title": "opj_decompress overruns a heap buffer with certain options", + "summary": "A flaw was found in the OpenJPEG project.", + "published": "2025-01-09", + "severity": 5.6, + "affected": "OpenJPEG, as packaged; see the upstream record", + "fixed": null, + "reached_by": "tool", + "trigger": "Running the opj_decompress command-line tool with particular options on a crafted JPEG 2000 file.", + "bucket": "N", + "finding": "Reached only through the opj_decompress utility's option handling, which no library call opening a file runs; a JPEG 2000 file is in any case refused by name before any decoder sees it.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", + "specific": "Not a pre-decode matter: a command-line tool, not the library, runs the flawed code." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2024-56826" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." }, { "triaged": "2026-11-01", diff --git a/docs/advisories/proposed/CVE-2024-13978.json b/docs/advisories/record/CVE-2024-13978.json similarity index 87% rename from docs/advisories/proposed/CVE-2024-13978.json rename to docs/advisories/record/CVE-2024-13978.json index 9262413..a251916 100644 --- a/docs/advisories/proposed/CVE-2024-13978.json +++ b/docs/advisories/record/CVE-2024-13978.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2024-13978" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2024-56826.json b/docs/advisories/record/CVE-2024-56826.json similarity index 89% rename from docs/advisories/proposed/CVE-2024-56826.json rename to docs/advisories/record/CVE-2024-56826.json index 01a64c7..cce10ba 100644 --- a/docs/advisories/proposed/CVE-2024-56826.json +++ b/docs/advisories/record/CVE-2024-56826.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2024-56826" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2024-56827.json b/docs/advisories/record/CVE-2024-56827.json similarity index 88% rename from docs/advisories/proposed/CVE-2024-56827.json rename to docs/advisories/record/CVE-2024-56827.json index 26ae5b9..00eebb0 100644 --- a/docs/advisories/proposed/CVE-2024-56827.json +++ b/docs/advisories/record/CVE-2024-56827.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2024-56827" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-27363.json b/docs/advisories/record/CVE-2025-27363.json similarity index 57% rename from docs/advisories/proposed/CVE-2025-27363.json rename to docs/advisories/record/CVE-2025-27363.json index a99f7f5..b35cf1e 100644 --- a/docs/advisories/proposed/CVE-2025-27363.json +++ b/docs/advisories/record/CVE-2025-27363.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded font is a TrueType GX or variable font with crafted subglyph structures; FreeType parses the font when poppler draws the text.", "bucket": "C", - "finding": "Reached by rendering, through the embedded font. pdffonts reports every embedded font and its type, so a coarse policy refusing embedded fonts, or TrueType fonts, would keep the font from FreeType; a scanned book has no fonts, but a searchable PDF's invisible text layer does, so the policy would be a trade. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through the embedded font; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-27363" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2025-28162.json b/docs/advisories/record/CVE-2025-28162.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-28162.json rename to docs/advisories/record/CVE-2025-28162.json index 2ec8b90..9b524e7 100644 --- a/docs/advisories/proposed/CVE-2025-28162.json +++ b/docs/advisories/record/CVE-2025-28162.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-28162" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-28164.json b/docs/advisories/record/CVE-2025-28164.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-28164.json rename to docs/advisories/record/CVE-2025-28164.json index c6a5179..49aeba3 100644 --- a/docs/advisories/proposed/CVE-2025-28164.json +++ b/docs/advisories/record/CVE-2025-28164.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-28164" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-32364.json b/docs/advisories/record/CVE-2025-32364.json similarity index 90% rename from docs/advisories/proposed/CVE-2025-32364.json rename to docs/advisories/record/CVE-2025-32364.json index 29a25c2..61aff93 100644 --- a/docs/advisories/proposed/CVE-2025-32364.json +++ b/docs/advisories/record/CVE-2025-32364.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-32364" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-32365.json b/docs/advisories/record/CVE-2025-32365.json similarity index 91% rename from docs/advisories/proposed/CVE-2025-32365.json rename to docs/advisories/record/CVE-2025-32365.json index d90a79f..67990c3 100644 --- a/docs/advisories/proposed/CVE-2025-32365.json +++ b/docs/advisories/record/CVE-2025-32365.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-32365" ], - "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. The policy field was named on 2026-11-02." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." } diff --git a/docs/advisories/proposed/CVE-2025-43718.json b/docs/advisories/record/CVE-2025-43718.json similarity index 90% rename from docs/advisories/proposed/CVE-2025-43718.json rename to docs/advisories/record/CVE-2025-43718.json index 1ad1fcf..6703c3e 100644 --- a/docs/advisories/proposed/CVE-2025-43718.json +++ b/docs/advisories/record/CVE-2025-43718.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-43718" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-43903.json b/docs/advisories/record/CVE-2025-43903.json similarity index 88% rename from docs/advisories/proposed/CVE-2025-43903.json rename to docs/advisories/record/CVE-2025-43903.json index 97f0510..ee382f1 100644 --- a/docs/advisories/proposed/CVE-2025-43903.json +++ b/docs/advisories/record/CVE-2025-43903.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-43903" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-48379.json b/docs/advisories/record/CVE-2025-48379.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-48379.json rename to docs/advisories/record/CVE-2025-48379.json index f987efc..0d943ce 100644 --- a/docs/advisories/proposed/CVE-2025-48379.json +++ b/docs/advisories/record/CVE-2025-48379.json @@ -24,7 +24,7 @@ "https://osv.dev/vulnerability/GHSA-xg8h-j46f-w952", "https://osv.dev/vulnerability/PYSEC-2025-61" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-50420.json b/docs/advisories/record/CVE-2025-50420.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-50420.json rename to docs/advisories/record/CVE-2025-50420.json index e0cf42b..43bb034 100644 --- a/docs/advisories/proposed/CVE-2025-50420.json +++ b/docs/advisories/record/CVE-2025-50420.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-50420" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-50952.json b/docs/advisories/record/CVE-2025-50952.json similarity index 63% rename from docs/advisories/proposed/CVE-2025-50952.json rename to docs/advisories/record/CVE-2025-50952.json index 58d54e3..cf89103 100644 --- a/docs/advisories/proposed/CVE-2025-50952.json +++ b/docs/advisories/record/CVE-2025-50952.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Decoding a crafted JPEG 2000 codestream that reaches openjp2/dwt.c.", "bucket": "A", - "finding": "A JPEG 2000 file is refused by name before any decoder sees it. Inside a PDF, a JPX stream reaches OpenJPEG through poppler; pdfimages -list would show it (a B2 policy, not built).", + "finding": "A JPEG 2000 file is refused by name before any decoder sees it. Inside a PDF, a JPX image stream still reaches OpenJPEG when poppler renders the page; the default allows it, and a policy that knows its source refuses it by name (pdf_image_codecs without jpx). pdfimages -list would show the stream too, but it opens it with OpenJPEG just to describe it, so the library never runs that tool.", "refusal": { "check": "format", "default": true, @@ -24,12 +24,12 @@ ], "protect": { "general": "Upgrade OpenJPEG to a version that has the fix; the upstream record names it.", - "specific": "Refuse JPEG 2000 by name, as sillybos does by default; render PDFs in a boxed process until a policy on image stream encodings exists." + "specific": "Refuse JPEG 2000 by name, as sillybos does by default; for a JPX stream inside a PDF, refuse the codec with pdf_image_codecs if the source never uses it, and render in a boxed process in any case." }, "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-50952" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-52885.json b/docs/advisories/record/CVE-2025-52885.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-52885.json rename to docs/advisories/record/CVE-2025-52885.json index 75b5a7c..0253e7a 100644 --- a/docs/advisories/proposed/CVE-2025-52885.json +++ b/docs/advisories/record/CVE-2025-52885.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-52885" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-52886.json b/docs/advisories/record/CVE-2025-52886.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-52886.json rename to docs/advisories/record/CVE-2025-52886.json index 9f9084a..e3d52cd 100644 --- a/docs/advisories/proposed/CVE-2025-52886.json +++ b/docs/advisories/record/CVE-2025-52886.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-52886" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-54874.json b/docs/advisories/record/CVE-2025-54874.json similarity index 64% rename from docs/advisories/proposed/CVE-2025-54874.json rename to docs/advisories/record/CVE-2025-54874.json index b2d16f2..44d6fc3 100644 --- a/docs/advisories/proposed/CVE-2025-54874.json +++ b/docs/advisories/record/CVE-2025-54874.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Opening a JPEG 2000 file whose stream ends before the header is complete.", "bucket": "A", - "finding": "A JPEG 2000 file is not one of the four formats a scan can be and is refused by name before any decoder sees it. Inside a PDF, a JPX image stream reaches OpenJPEG through poppler; pdfimages -list would show it (a B2 policy, not built).", + "finding": "A JPEG 2000 file is not one of the four formats a scan can be and is refused by name before any decoder sees it. Inside a PDF, a JPX image stream still reaches OpenJPEG when poppler renders the page; the default allows it, and a policy that knows its source refuses it by name (pdf_image_codecs without jpx). pdfimages -list would show the stream too, but it opens it with OpenJPEG just to describe it, so the library never runs that tool.", "refusal": { "check": "format", "default": true, @@ -24,12 +24,12 @@ ], "protect": { "general": "Upgrade to OpenJPEG 2.5.4.", - "specific": "Refuse JPEG 2000 by name, as sillybos does by default; render PDFs in a boxed process until a policy on image stream encodings exists." + "specific": "Refuse JPEG 2000 by name, as sillybos does by default; for a JPX stream inside a PDF, refuse the codec with pdf_image_codecs if the source never uses it, and render in a boxed process in any case." }, "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-54874" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-61143.json b/docs/advisories/record/CVE-2025-61143.json similarity index 89% rename from docs/advisories/proposed/CVE-2025-61143.json rename to docs/advisories/record/CVE-2025-61143.json index 8b840a1..9f64d1f 100644 --- a/docs/advisories/proposed/CVE-2025-61143.json +++ b/docs/advisories/record/CVE-2025-61143.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61143" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-61144.json b/docs/advisories/record/CVE-2025-61144.json similarity index 88% rename from docs/advisories/proposed/CVE-2025-61144.json rename to docs/advisories/record/CVE-2025-61144.json index 816b6ad..7f4f32e 100644 --- a/docs/advisories/proposed/CVE-2025-61144.json +++ b/docs/advisories/record/CVE-2025-61144.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61144" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-61145.json b/docs/advisories/record/CVE-2025-61145.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-61145.json rename to docs/advisories/record/CVE-2025-61145.json index d518d4a..06ceada 100644 --- a/docs/advisories/proposed/CVE-2025-61145.json +++ b/docs/advisories/record/CVE-2025-61145.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-61145" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-64505.json b/docs/advisories/record/CVE-2025-64505.json similarity index 91% rename from docs/advisories/proposed/CVE-2025-64505.json rename to docs/advisories/record/CVE-2025-64505.json index 012e4c4..52f69bd 100644 --- a/docs/advisories/proposed/CVE-2025-64505.json +++ b/docs/advisories/record/CVE-2025-64505.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-64505" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-64506.json b/docs/advisories/record/CVE-2025-64506.json similarity index 88% rename from docs/advisories/proposed/CVE-2025-64506.json rename to docs/advisories/record/CVE-2025-64506.json index ce5afa6..53b6382 100644 --- a/docs/advisories/proposed/CVE-2025-64506.json +++ b/docs/advisories/record/CVE-2025-64506.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-64506" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-8176.json b/docs/advisories/record/CVE-2025-8176.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-8176.json rename to docs/advisories/record/CVE-2025-8176.json index 2453a92..a000392 100644 --- a/docs/advisories/proposed/CVE-2025-8176.json +++ b/docs/advisories/record/CVE-2025-8176.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8176" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-8177.json b/docs/advisories/record/CVE-2025-8177.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-8177.json rename to docs/advisories/record/CVE-2025-8177.json index 8cc6742..53fac0f 100644 --- a/docs/advisories/proposed/CVE-2025-8177.json +++ b/docs/advisories/record/CVE-2025-8177.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8177" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-8534.json b/docs/advisories/record/CVE-2025-8534.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-8534.json rename to docs/advisories/record/CVE-2025-8534.json index 611c2ab..bfc3f5c 100644 --- a/docs/advisories/proposed/CVE-2025-8534.json +++ b/docs/advisories/record/CVE-2025-8534.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8534" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-8851.json b/docs/advisories/record/CVE-2025-8851.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-8851.json rename to docs/advisories/record/CVE-2025-8851.json index 0db3dfa..3556305 100644 --- a/docs/advisories/proposed/CVE-2025-8851.json +++ b/docs/advisories/record/CVE-2025-8851.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8851" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-8961.json b/docs/advisories/record/CVE-2025-8961.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-8961.json rename to docs/advisories/record/CVE-2025-8961.json index 3c4956a..a0af994 100644 --- a/docs/advisories/proposed/CVE-2025-8961.json +++ b/docs/advisories/record/CVE-2025-8961.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-8961" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2025-9165.json b/docs/advisories/record/CVE-2025-9165.json similarity index 87% rename from docs/advisories/proposed/CVE-2025-9165.json rename to docs/advisories/record/CVE-2025-9165.json index ce2a80a..7ad2703 100644 --- a/docs/advisories/proposed/CVE-2025-9165.json +++ b/docs/advisories/record/CVE-2025-9165.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2025-9165" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2025-9900.json b/docs/advisories/record/CVE-2025-9900.json index 12c77bc..c052ac4 100644 --- a/docs/advisories/record/CVE-2025-9900.json +++ b/docs/advisories/record/CVE-2025-9900.json @@ -31,5 +31,5 @@ ], "triaged": "2026-11-02", "checked": "2026-11-02", - "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; confirmed by a person on 2026-11-02." } diff --git a/docs/advisories/proposed/CVE-2026-10118.json b/docs/advisories/record/CVE-2026-10118.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-10118.json rename to docs/advisories/record/CVE-2026-10118.json index d78ab9c..148de51 100644 --- a/docs/advisories/proposed/CVE-2026-10118.json +++ b/docs/advisories/record/CVE-2026-10118.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-10118" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-102620.json b/docs/advisories/record/CVE-2026-102620.json similarity index 55% rename from docs/advisories/proposed/CVE-2026-102620.json rename to docs/advisories/record/CVE-2026-102620.json index ed68f78..3bf2703 100644 --- a/docs/advisories/proposed/CVE-2026-102620.json +++ b/docs/advisories/record/CVE-2026-102620.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded TrueType font makes FoFiTrueType::cvtSfnts overflow.", "bucket": "C", - "finding": "Reached through an embedded font that pdffonts would report; as CVE-2026-93314. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through an embedded TrueType font that poppler converts, as CVE-2026-93314; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program, in poppler's own parser here is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102620" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2026-102621.json b/docs/advisories/record/CVE-2026-102621.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-102621.json rename to docs/advisories/record/CVE-2026-102621.json index 917bcea..c0749bc 100644 --- a/docs/advisories/proposed/CVE-2026-102621.json +++ b/docs/advisories/record/CVE-2026-102621.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102621" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-107080.json b/docs/advisories/record/CVE-2026-107080.json similarity index 70% rename from docs/advisories/proposed/CVE-2026-107080.json rename to docs/advisories/record/CVE-2026-107080.json index 9e5f6a9..0affec9 100644 --- a/docs/advisories/proposed/CVE-2026-107080.json +++ b/docs/advisories/record/CVE-2026-107080.json @@ -13,7 +13,7 @@ "reached_by": "save", "trigger": "Encoding a JPEG 2000 image that reaches opj_dwt_encode_and_deinterleave_v.", "bucket": "N", - "finding": "In the encoder; decoding never runs it, and a JPEG 2000 file is refused by name in any case.", + "finding": "In the encoder's wavelet transform, run on whatever image the program chooses to encode as JPEG 2000; no file carries the trigger, and a JPEG 2000 file handed to the check is refused by name in any case.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-107080" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: no file carries the trigger." } diff --git a/docs/advisories/record/CVE-2026-107705.json b/docs/advisories/record/CVE-2026-107705.json new file mode 100644 index 0000000..1fa28ed --- /dev/null +++ b/docs/advisories/record/CVE-2026-107705.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-107705", + "aliases": [], + "library": "poppler", + "package": "poppler", + "ecosystem": "Debian", + "title": "A long password overflows the stack when poppler opens an AESV3 PDF", + "summary": "Poppler 0.42.0 through 26.10.0 contains a stack-based buffer overflow in Decrypt::revision6Hash() that allows attackers controlling the password to overwrite stack memory when opening AESV3/R6 encrypted PDFs.", + "published": "2026-10-08", + "severity": null, + "affected": "poppler 0.42.0 through 26.10.0", + "fixed": null, + "reached_by": "api", + "trigger": "Opening an encrypted (AESV3, revision 6) PDF with a password longer than 127 bytes supplied by the caller.", + "bucket": "A", + "finding": "The over-long input is the password the caller supplies, but the file has to be an encrypted PDF (AESV3, revision 6) for it to reach the flaw, and an encrypted PDF is refused by default before poppler is asked to open it; the check's own pdfinfo run supplies no password. A policy that allows encrypted PDFs and a program that passes passwords from outside is the only path.", + "refusal": { + "check": "allow_encrypted_pdf", + "default": true, + "setting": "allow_encrypted_pdf" + }, + "verified_by": [ + "tests/test_pdf.py::test_an_encrypted_pdf_is_refused_unless_allowed" + ], + "protect": { + "general": "Upgrade poppler to a version that has the fix; the upstream record names it.", + "specific": "Keep allow_encrypted_pdf off, as it is by default; where it must be on, bound the password's length before passing it; upgrade poppler." + }, + "sources": [ + "https://osv.dev/vulnerability/DEBIAN-CVE-2026-107705" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is refused by default." +} diff --git a/docs/advisories/record/CVE-2026-112391.json b/docs/advisories/record/CVE-2026-112391.json index 3449adb..e44fc0a 100644 --- a/docs/advisories/record/CVE-2026-112391.json +++ b/docs/advisories/record/CVE-2026-112391.json @@ -1,7 +1,7 @@ { "triaged": "2026-11-01", "checked": "2026-11-01", - "notes": null, + "notes": " Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input.", "key": "CVE-2026-112391", "aliases": [ "GHSA-254f-3936-288h" @@ -17,13 +17,13 @@ "fixed": "13.0.0", "reached_by": "save", "trigger": "Image.save(..., format=\"PDF\", append=True) onto an attacker-controlled existing PDF.", - "bucket": "N", - "finding": "Reached only through Pillow's PDF append path, which Image.open never runs.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a value nested thousands of levels deep in the Root object's own dictionary, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", "refusal": null, "verified_by": [], "protect": { "general": "Upgrade to Pillow 13.0.0. Do not append to PDFs you did not make.", - "specific": "Not a pre-decode matter." + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." }, "sources": [ "https://github.com/advisories/GHSA-254f-3936-288h" diff --git a/docs/advisories/record/CVE-2026-112392.json b/docs/advisories/record/CVE-2026-112392.json new file mode 100644 index 0000000..9417d8d --- /dev/null +++ b/docs/advisories/record/CVE-2026-112392.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-112392", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A rank filter on a zero-size image dereferences a null pointer", + "summary": "Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Applying a median, minimum, maximum or rank filter to an image with zero width or height.", + "bucket": "A", + "finding": "The trigger is an image with a zero width or height, handed to a rank filter. A file whose header gives a zero dimension is refused under every policy before Pillow sees it, so from a file the image cannot come; only an image the program makes itself (Image.new with a zero side, or a crop to nothing) reaches the filter. The check claims the refusal for the file.", + "refusal": { + "check": "dimensions", + "default": true, + "setting": "none: a zero dimension is refused under every policy" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_image_with_a_zero_dimension" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on files from outside, which refuses a zero dimension; and never filter an image whose size the program has reduced to nothing." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-27h8-gf7j-v5hc", + "https://osv.dev/vulnerability/PYSEC-2026-4326" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is refused." +} diff --git a/docs/advisories/record/CVE-2026-112394.json b/docs/advisories/record/CVE-2026-112394.json new file mode 100644 index 0000000..ff35e07 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112394.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-112394", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's 2- and 4-bit palette unpackers read past the buffer", + "summary": "Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Loading an image whose raw tile uses the P;2L or P;4L unpacker with a width that leaves the line size and the unpacker's stride disagreeing.", + "bucket": "A", + "finding": "Which unpacker a tile uses is decided inside Pillow from the format's own header, but the carrier is a palette image at 2 or 4 bits, and the header check sees the colour type and the depth: a scans-only policy (png_colour_types without palette, tiff_photometrics without palette) refuses it before Pillow sees it. The default allows palette images, so the setting is what closes this.", + "refusal": { + "check": "png_colour_types", + "default": false, + "setting": "Policy(png_colour_types=frozenset({\"greyscale\", \"rgb\", \"greyscale-alpha\", \"rgba\"})); tiff_photometrics without palette for a TIFF" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_palette_png_under_a_scans_only_policy" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "A scanner never writes a palette image: refuse palette PNGs and TIFFs by policy where the source is scans; upgrade Pillow." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-4558-3h8r-v8xp", + "https://osv.dev/vulnerability/PYSEC-2026-4327" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the carrier is refused by the same setting as CVE-2025-64505." +} diff --git a/docs/advisories/proposed/CVE-2026-112397.json b/docs/advisories/record/CVE-2026-112397.json similarity index 85% rename from docs/advisories/proposed/CVE-2026-112397.json rename to docs/advisories/record/CVE-2026-112397.json index 66ce553..65ddcd6 100644 --- a/docs/advisories/proposed/CVE-2026-112397.json +++ b/docs/advisories/record/CVE-2026-112397.json @@ -20,7 +20,8 @@ "setting": "formats" }, "verified_by": [ - "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + "tests/test_check.py::TestHostileFiles::test_an_unknown_format", + "tests/test_check.py::TestHostileFiles::test_an_image_with_a_zero_dimension" ], "protect": { "general": "Upgrade to Pillow 12.3.0.", @@ -30,7 +31,7 @@ "https://osv.dev/vulnerability/GHSA-58r4-6rv3-gfh8", "https://osv.dev/vulnerability/PYSEC-2026-4329" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-112400.json b/docs/advisories/record/CVE-2026-112400.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-112400.json rename to docs/advisories/record/CVE-2026-112400.json index 7507cba..dcedfbc 100644 --- a/docs/advisories/proposed/CVE-2026-112400.json +++ b/docs/advisories/record/CVE-2026-112400.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-65qm-jvmh-6pqg" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-112401.json b/docs/advisories/record/CVE-2026-112401.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-112401.json rename to docs/advisories/record/CVE-2026-112401.json index 8caba3f..3764a06 100644 --- a/docs/advisories/proposed/CVE-2026-112401.json +++ b/docs/advisories/record/CVE-2026-112401.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-74r2-7ff9-mjj2" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-112402.json b/docs/advisories/record/CVE-2026-112402.json new file mode 100644 index 0000000..cbe50a4 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112402.json @@ -0,0 +1,30 @@ +{ + "key": "CVE-2026-112402", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Image.transform frees twice when an oversized transform runs out of memory", + "summary": "Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform", + "published": "2026-10-19", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.transform with an output size too large to allocate.", + "bucket": "N", + "finding": "The trigger is the output size the program passes to Image.transform, and it has to be absurd: a one-row output hundreds of millions of pixels wide, so that the small per-column table is the allocation that fails while the image still fits, on a worker with an address-space limit. No file carries it. What the check bounds is any size a program derives from the file: with max_side at 30,000 the table is 120 KB and never fails, and a PDF page is bounded at render_dpi. Tetrak OCR never calls transform; its turns go through transpose, as does Pillow's EXIF handling, and its resizes are to sizes computed from the image. Pillow's rotate reaches transform only for angles that are not right angles, and the upstream report says rotate is not affected.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Derive transform sizes from the image's size, which the check bounds, and clip any size that comes from outside; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-7mwm-ghpf-9vrm", + "https://osv.dev/vulnerability/PYSEC-2026-4331" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: what the file contributes, and what the check bounds." +} diff --git a/docs/advisories/proposed/CVE-2026-112405.json b/docs/advisories/record/CVE-2026-112405.json similarity index 91% rename from docs/advisories/proposed/CVE-2026-112405.json rename to docs/advisories/record/CVE-2026-112405.json index 8ebb4ce..4a2d321 100644 --- a/docs/advisories/proposed/CVE-2026-112405.json +++ b/docs/advisories/record/CVE-2026-112405.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-cp9v-662q-vvx9", "https://osv.dev/vulnerability/PYSEC-2026-4333" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-112406.json b/docs/advisories/record/CVE-2026-112406.json new file mode 100644 index 0000000..ac29b70 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112406.json @@ -0,0 +1,29 @@ +{ + "key": "CVE-2026-112406", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "PdfParser.rewrite_pages loops for ever on a page-tree Parent cycle", + "summary": "Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a /Parent cycle among page-tree nodes, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-f2g6-542v-9j58" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/record/CVE-2026-112891.json b/docs/advisories/record/CVE-2026-112891.json new file mode 100644 index 0000000..77e31e2 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112891.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-112891", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Saving a GIF with a long comment copies it in quadratic time", + "summary": "Pillow: Quadratic GIF comment copying during save", + "published": "2026-10-21", + "severity": null, + "affected": "12.3.0", + "fixed": null, + "reached_by": "save", + "trigger": "Image.save(format=\"GIF\") of an image carrying a long comment.", + "bucket": "A", + "finding": "The comment rides from the opened file into a GIF save on its own. From a file it can only come through a PNG text chunk, since a JPEG comment segment is at most 65,533 bytes by format, too short to matter, and a GIF is refused by name. The chunk is a block the reader measures: the default ceiling of 4 MiB allows a comment long enough to cost tens of seconds, and a lower ceiling bounds it.", + "refusal": { + "check": "max_metadata_bytes", + "default": false, + "setting": "Policy(max_metadata_bytes=65_536)" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_png_text_chunk_under_a_lower_ceiling" + ], + "protect": { + "general": "Upgrade Pillow to a version that has the fix; the upstream record names it.", + "specific": "Set max_metadata_bytes to what a scan carries, tens of kilobytes, where images from outside are re-saved as GIF; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-fc9g-5qg7-mf45" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/proposed/CVE-2026-112892.json b/docs/advisories/record/CVE-2026-112892.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-112892.json rename to docs/advisories/record/CVE-2026-112892.json index 966053e..36d1521 100644 --- a/docs/advisories/proposed/CVE-2026-112892.json +++ b/docs/advisories/record/CVE-2026-112892.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-gg2r-wvfm-q9rx" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-112893.json b/docs/advisories/record/CVE-2026-112893.json new file mode 100644 index 0000000..2bc9d88 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112893.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-112893", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A failed glyph load with a stroker active frees an invalid pointer", + "summary": "Pillow: Invalid free in FreeType glyph rendering when a stroker is active", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Drawing stroked text with a malformed font through ImageDraw and ImageFont.", + "bucket": "A", + "finding": "The carrier is a malformed font loaded through FreeType, drawn with a stroke width so that a failed glyph load reaches the stale pointer. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont or ImageDraw.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-j4m9-6w36-pw47" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/record/CVE-2026-112894.json b/docs/advisories/record/CVE-2026-112894.json new file mode 100644 index 0000000..7172092 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112894.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-112894", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Saving a multi-frame image as a PDF takes quadratic time", + "summary": "Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "save", + "trigger": "Image.save(format=\"PDF\", save_all=True) of an image with many frames.", + "bucket": "A", + "finding": "The frame count comes from the opened file: a TIFF's frame chain, which the reader walks, or an animated PNG's acTL count, which it reads. max_pages bounds both, and the default of 500 keeps the quadratic cost small; the 125-byte animated PNG that declares two billion frames is refused on the count alone.", + "refusal": { + "check": "max_pages", + "default": true, + "setting": "max_pages" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_animated_png_that_declares_too_many_frames", + "tests/test_check.py::TestHostileFiles::test_a_tiff_with_ten_thousand_frames" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Keep max_pages at what a document needs; sillybos reads the declared frame count before Pillow does." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-jg86-v3jv-hrpm" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/proposed/CVE-2026-112895.json b/docs/advisories/record/CVE-2026-112895.json similarity index 50% rename from docs/advisories/proposed/CVE-2026-112895.json rename to docs/advisories/record/CVE-2026-112895.json index 6be5b2b..373e3c0 100644 --- a/docs/advisories/proposed/CVE-2026-112895.json +++ b/docs/advisories/record/CVE-2026-112895.json @@ -12,18 +12,18 @@ "fixed": "12.3.0", "reached_by": "api", "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True); Image.open never reads a PDF.", - "bucket": "N", - "finding": "PdfParser runs only when a PDF is appended to. A PDF a pipeline opens goes to poppler after pdfinfo has checked it with a time limit.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a /Kids cycle in the page tree, or a long chain of distinct /Prev offsets, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", "refusal": null, "verified_by": [], "protect": { "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." }, "sources": [ "https://osv.dev/vulnerability/GHSA-p4wg-p73j-c528" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." } diff --git a/docs/advisories/record/CVE-2026-112897.json b/docs/advisories/record/CVE-2026-112897.json new file mode 100644 index 0000000..2c41349 --- /dev/null +++ b/docs/advisories/record/CVE-2026-112897.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-112897", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A TIFF with short JPEG strips returns uninitialised memory as pixels", + "summary": "Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips", + "published": "2026-10-20", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "open", + "trigger": "Opening and loading a small crafted JPEG-compressed TIFF whose strips hold less data than a strip needs.", + "bucket": "A", + "finding": "The carrier is a JPEG-compressed TIFF whose strip byte counts are short, and the shortfall only shows when a strip is decoded, which no header check does. But the compression is in the header, and a policy without jpeg in tiff_compressions refuses the file before libtiff sees it. The default allows JPEG in a TIFF, since scanners write it, so the setting is what closes this, at the cost of refusing real JPEG-in-TIFF scans.", + "refusal": { + "check": "tiff_compressions", + "default": false, + "setting": "Policy(tiff_compressions=frozenset({\"none\", \"ccitt\", \"lzw\", \"deflate\", \"packbits\"}))" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_jpeg_compressed_tiff_under_a_policy_without_jpeg" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Where the source never writes JPEG-in-TIFF, take jpeg out of tiff_compressions; otherwise upgrade Pillow and render in a boxed process." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-q45j-58j2-45rg" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the carrier is refused by a setting." +} diff --git a/docs/advisories/record/CVE-2026-112898.json b/docs/advisories/record/CVE-2026-112898.json new file mode 100644 index 0000000..a56c14d --- /dev/null +++ b/docs/advisories/record/CVE-2026-112898.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-112898", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Image.quantize with an empty palette returns uninitialised stack memory", + "summary": "Pillow: Image.quantize() with empty palette leaks uninitialized stack memory", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.quantize(palette=...) with a palette image that has no palette.", + "bucket": "A", + "finding": "The trigger is a palette image with no entries, handed to Image.quantize as the palette, and a file can carry it: an 80-byte PNG with an empty PLTE chunk, opened with Image.open, is one of the three ways the upstream report names (a colour-mapped TGA with no entries is another, refused by name; Image.new is the third). The program has to let a file from outside be the palette image. The reader does not open the PLTE, so the default passes such a file; a scans-only policy without palette PNGs refuses it before Pillow sees it. Refusing an empty PLTE by default, as the PNG specification's one-to-256 entries would justify, would be a new default refusal and so a breaking change for a later release.", + "refusal": { + "check": "png_colour_types", + "default": false, + "setting": "Policy(png_colour_types=frozenset({\"greyscale\", \"rgb\", \"greyscale-alpha\", \"rgba\"}))" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_palette_png_with_an_empty_palette" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Never let a file from outside be the palette image for quantize; where it must be, run the check on it under a policy without palette PNGs; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-rfgq-q3w2-pmv2" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: a file can carry the empty palette, and a setting refuses it." +} diff --git a/docs/advisories/proposed/CVE-2026-112899.json b/docs/advisories/record/CVE-2026-112899.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-112899.json rename to docs/advisories/record/CVE-2026-112899.json index c703c15..74de149 100644 --- a/docs/advisories/proposed/CVE-2026-112899.json +++ b/docs/advisories/record/CVE-2026-112899.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-vx6w-vv9f-6gvg" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-114501.json b/docs/advisories/record/CVE-2026-114501.json similarity index 68% rename from docs/advisories/proposed/CVE-2026-114501.json rename to docs/advisories/record/CVE-2026-114501.json index fa782d7..61e4d68 100644 --- a/docs/advisories/proposed/CVE-2026-114501.json +++ b/docs/advisories/record/CVE-2026-114501.json @@ -13,7 +13,7 @@ "reached_by": "api", "trigger": "Exporting an image to Arrow with PILLOW_ALIGNMENT set above 1.", "bucket": "N", - "finding": "In the Arrow export, a call opening a file never makes.", + "finding": "A memory leak in the Arrow export, a call the program makes on an image it already holds, under a build-time alignment setting; no file carries the trigger, and the effect is lost memory, not a file's doing.", "refusal": null, "verified_by": [], "protect": { @@ -24,7 +24,7 @@ "https://osv.dev/vulnerability/GHSA-654x-cwwv-5j9c", "https://osv.dev/vulnerability/PYSEC-2026-4336" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: no file carries the trigger." } diff --git a/docs/advisories/proposed/CVE-2026-18495.json b/docs/advisories/record/CVE-2026-18495.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-18495.json rename to docs/advisories/record/CVE-2026-18495.json index 3c2f135..d2c1a34 100644 --- a/docs/advisories/proposed/CVE-2026-18495.json +++ b/docs/advisories/record/CVE-2026-18495.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-18495" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-22184.json b/docs/advisories/record/CVE-2026-22184.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-22184.json rename to docs/advisories/record/CVE-2026-22184.json index 50d49ed..3ab0b91 100644 --- a/docs/advisories/proposed/CVE-2026-22184.json +++ b/docs/advisories/record/CVE-2026-22184.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-22184" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-22801.json b/docs/advisories/record/CVE-2026-22801.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-22801.json rename to docs/advisories/record/CVE-2026-22801.json index de4f591..8f36478 100644 --- a/docs/advisories/proposed/CVE-2026-22801.json +++ b/docs/advisories/record/CVE-2026-22801.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-22801" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-23865.json b/docs/advisories/record/CVE-2026-23865.json similarity index 58% rename from docs/advisories/proposed/CVE-2026-23865.json rename to docs/advisories/record/CVE-2026-23865.json index e1571a5..368b427 100644 --- a/docs/advisories/proposed/CVE-2026-23865.json +++ b/docs/advisories/record/CVE-2026-23865.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded OpenType variable font carries crafted HVAR, VVAR or MVAR tables.", "bucket": "C", - "finding": "Reached by rendering, through an embedded font that pdffonts would report; as CVE-2025-27363, a coarse policy on embedded fonts would keep it from FreeType, at the cost of refusing searchable PDFs' text layers. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through an embedded variable font, as CVE-2025-27363; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-23865" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2026-25646.json b/docs/advisories/record/CVE-2026-25646.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-25646.json rename to docs/advisories/record/CVE-2026-25646.json index 4c759ef..713045e 100644 --- a/docs/advisories/proposed/CVE-2026-25646.json +++ b/docs/advisories/record/CVE-2026-25646.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-25646" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-25990.json b/docs/advisories/record/CVE-2026-25990.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-25990.json rename to docs/advisories/record/CVE-2026-25990.json index 961d2c4..c7fd2c6 100644 --- a/docs/advisories/proposed/CVE-2026-25990.json +++ b/docs/advisories/record/CVE-2026-25990.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-cfh3-3jmp-rvhc", "https://osv.dev/vulnerability/PYSEC-2026-2249" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-27171.json b/docs/advisories/record/CVE-2026-27171.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-27171.json rename to docs/advisories/record/CVE-2026-27171.json index cca891a..9895968 100644 --- a/docs/advisories/proposed/CVE-2026-27171.json +++ b/docs/advisories/record/CVE-2026-27171.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-27171" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-33416.json b/docs/advisories/record/CVE-2026-33416.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-33416.json rename to docs/advisories/record/CVE-2026-33416.json index cdcda5e..72647c8 100644 --- a/docs/advisories/proposed/CVE-2026-33416.json +++ b/docs/advisories/record/CVE-2026-33416.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-33416" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-34757.json b/docs/advisories/record/CVE-2026-34757.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-34757.json rename to docs/advisories/record/CVE-2026-34757.json index 35b6876..18f8b4f 100644 --- a/docs/advisories/proposed/CVE-2026-34757.json +++ b/docs/advisories/record/CVE-2026-34757.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-34757" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-3713.json b/docs/advisories/record/CVE-2026-3713.json similarity index 87% rename from docs/advisories/proposed/CVE-2026-3713.json rename to docs/advisories/record/CVE-2026-3713.json index 6139298..c075bdc 100644 --- a/docs/advisories/proposed/CVE-2026-3713.json +++ b/docs/advisories/record/CVE-2026-3713.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-3713" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-40192.json b/docs/advisories/record/CVE-2026-40192.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-40192.json rename to docs/advisories/record/CVE-2026-40192.json index 3f9780b..9d12d55 100644 --- a/docs/advisories/proposed/CVE-2026-40192.json +++ b/docs/advisories/record/CVE-2026-40192.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-whj4-6x5x-4v2j", "https://osv.dev/vulnerability/PYSEC-2026-2250" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-40930.json b/docs/advisories/record/CVE-2026-40930.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-40930.json rename to docs/advisories/record/CVE-2026-40930.json index ee9f9eb..08d33b2 100644 --- a/docs/advisories/proposed/CVE-2026-40930.json +++ b/docs/advisories/record/CVE-2026-40930.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-40930" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-42308.json b/docs/advisories/record/CVE-2026-42308.json new file mode 100644 index 0000000..e4d8fc0 --- /dev/null +++ b/docs/advisories/record/CVE-2026-42308.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-42308", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A font with huge glyph advances overflows Pillow's position counter", + "summary": "Pillow has an integer overflow when processing fonts", + "published": "2026-05-04", + "severity": 5.5, + "affected": "< 12.2.0", + "fixed": "12.2.0", + "reached_by": "api", + "trigger": "Drawing text with a crafted font through ImageFont.", + "bucket": "A", + "finding": "The carrier is a font whose glyphs advance by an enormous amount, loaded through ImageFont and drawn with. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.2.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-wjx4-4jcj-g98j", + "https://osv.dev/vulnerability/PYSEC-2026-165" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/proposed/CVE-2026-42309.json b/docs/advisories/record/CVE-2026-42309.json similarity index 87% rename from docs/advisories/proposed/CVE-2026-42309.json rename to docs/advisories/record/CVE-2026-42309.json index e003ef1..c9cda8a 100644 --- a/docs/advisories/proposed/CVE-2026-42309.json +++ b/docs/advisories/record/CVE-2026-42309.json @@ -24,7 +24,7 @@ "https://osv.dev/vulnerability/GHSA-5xmw-vc9v-4wf2", "https://osv.dev/vulnerability/PYSEC-2026-2251" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-42310.json b/docs/advisories/record/CVE-2026-42310.json similarity index 51% rename from docs/advisories/proposed/CVE-2026-42310.json rename to docs/advisories/record/CVE-2026-42310.json index 46bc2f4..e885e82 100644 --- a/docs/advisories/proposed/CVE-2026-42310.json +++ b/docs/advisories/record/CVE-2026-42310.json @@ -12,19 +12,19 @@ "fixed": "12.2.0", "reached_by": "api", "trigger": "Opening an existing PDF with Pillow's PdfParser, which Image.save(append=True) does; Image.open does not read PDFs.", - "bucket": "N", - "finding": "PdfParser runs only when a PDF is appended to; opening a file never runs it. A PDF handed to poppler is checked by pdfinfo with a time limit instead.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a trailer whose /Prev pointer forms a cycle, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", "refusal": null, "verified_by": [], "protect": { "general": "Upgrade to Pillow 12.2.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." }, "sources": [ "https://osv.dev/vulnerability/GHSA-r73j-pqj5-w3x7", "https://osv.dev/vulnerability/PYSEC-2026-2874" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." } diff --git a/docs/advisories/proposed/CVE-2026-42311.json b/docs/advisories/record/CVE-2026-42311.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-42311.json rename to docs/advisories/record/CVE-2026-42311.json index b56d5ee..3b094ad 100644 --- a/docs/advisories/proposed/CVE-2026-42311.json +++ b/docs/advisories/record/CVE-2026-42311.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-pwv6-vv43-88gr", "https://osv.dev/vulnerability/PYSEC-2026-2252" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-50811.json b/docs/advisories/record/CVE-2026-50811.json similarity index 61% rename from docs/advisories/proposed/CVE-2026-50811.json rename to docs/advisories/record/CVE-2026-50811.json index b1e4c02..b1c764c 100644 --- a/docs/advisories/proposed/CVE-2026-50811.json +++ b/docs/advisories/record/CVE-2026-50811.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded variable font makes FreeType call TT_Get_Var_Design with crafted data.", "bucket": "C", - "finding": "Reached through an embedded variable font that pdffonts would report; a coarse policy on embedded fonts would keep it from FreeType. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through an embedded variable font; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-50811" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2026-52490.json b/docs/advisories/record/CVE-2026-52490.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-52490.json rename to docs/advisories/record/CVE-2026-52490.json index 27b06f7..2c77ca5 100644 --- a/docs/advisories/proposed/CVE-2026-52490.json +++ b/docs/advisories/record/CVE-2026-52490.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52490" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-52491.json b/docs/advisories/record/CVE-2026-52491.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-52491.json rename to docs/advisories/record/CVE-2026-52491.json index d513077..015d253 100644 --- a/docs/advisories/proposed/CVE-2026-52491.json +++ b/docs/advisories/record/CVE-2026-52491.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52491" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-52492.json b/docs/advisories/record/CVE-2026-52492.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-52492.json rename to docs/advisories/record/CVE-2026-52492.json index 160da51..0c51291 100644 --- a/docs/advisories/proposed/CVE-2026-52492.json +++ b/docs/advisories/record/CVE-2026-52492.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-52492" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-54058.json b/docs/advisories/record/CVE-2026-54058.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-54058.json rename to docs/advisories/record/CVE-2026-54058.json index 48e5712..d50d2c3 100644 --- a/docs/advisories/proposed/CVE-2026-54058.json +++ b/docs/advisories/record/CVE-2026-54058.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-62p4-gmf7-7g93", "https://osv.dev/vulnerability/PYSEC-2026-3493" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-54059.json b/docs/advisories/record/CVE-2026-54059.json new file mode 100644 index 0000000..d27b04d --- /dev/null +++ b/docs/advisories/record/CVE-2026-54059.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-54059", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A PCF font's glyph sizes bypass Pillow's decompression-bomb check", + "summary": "Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Loading a PCF font file through PcfFontFile, which Image.open never does.", + "bucket": "A", + "finding": "The carrier is a PCF font, read by PcfFontFile, a converter a program imports and calls by name; no image plugin or ImageFont reaches it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-8v84-f9pq-wr9x", + "https://osv.dev/vulnerability/PYSEC-2026-2253" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/record/CVE-2026-54060.json b/docs/advisories/record/CVE-2026-54060.json new file mode 100644 index 0000000..9b5cd64 --- /dev/null +++ b/docs/advisories/record/CVE-2026-54060.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-54060", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "FontFile.compile assembles a bitmap without the bomb check", + "summary": "Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Compiling a loaded BDF or PCF font into an ImageFont.", + "bucket": "A", + "finding": "The carrier is a BDF or PCF font, compiled by FontFile.compile after one of the converters a program calls by name has read it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports them.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-5x94-69rx-g8h2", + "https://osv.dev/vulnerability/PYSEC-2026-2254" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/record/CVE-2026-55379.json b/docs/advisories/record/CVE-2026-55379.json new file mode 100644 index 0000000..920cdaa --- /dev/null +++ b/docs/advisories/record/CVE-2026-55379.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-55379", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A BDF font's bounding box bypasses Pillow's decompression-bomb check", + "summary": "Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Loading a BDF font file through BdfFontFile.", + "bucket": "A", + "finding": "The carrier is a BDF font, read by BdfFontFile, a converter a program imports and calls by name; no image plugin or ImageFont reaches it. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports it.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-45hq-cxwh-f6vc", + "https://osv.dev/vulnerability/PYSEC-2026-2255" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/record/CVE-2026-55380.json b/docs/advisories/record/CVE-2026-55380.json new file mode 100644 index 0000000..638874f --- /dev/null +++ b/docs/advisories/record/CVE-2026-55380.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-55380", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "GdImageFile.open accepts any dimensions without the bomb check", + "summary": "Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`", + "published": "2026-07-06", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Calling PIL.GdImageFile.open directly on a GD 2.x file.", + "bucket": "A", + "finding": "A GD file is not one of the four formats a scan can be; the check does not know it and refuses it as unknown. It is reached only by calling GdImageFile.open by name, which Image.open never does.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_an_unknown_format" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Refuse what is not an image a scan can be, as sillybos does by default; GdImageFile.open is a direct call that bypasses Image.open's registry." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-phj9-mv4w-65pm", + "https://osv.dev/vulnerability/PYSEC-2026-2256" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/proposed/CVE-2026-55798.json b/docs/advisories/record/CVE-2026-55798.json similarity index 63% rename from docs/advisories/proposed/CVE-2026-55798.json rename to docs/advisories/record/CVE-2026-55798.json index 0e2097c..7f26109 100644 --- a/docs/advisories/proposed/CVE-2026-55798.json +++ b/docs/advisories/record/CVE-2026-55798.json @@ -13,7 +13,7 @@ "reached_by": "api", "trigger": "Image.show() on Windows with a file path containing shell metacharacters.", "bucket": "N", - "finding": "In ImageShow, which opening a file never runs; the path, not the file's contents, is the input.", + "finding": "In ImageShow, reached only when a program calls Image.show to open a desktop viewer on the machine running Python; opening a file never runs it, and a page that shows a scan in a browser serves its bytes without it. The viewer builds its shell command from the temporary file it writes, not from the scan's name, so the input is the path quoting, not the file's contents.", "refusal": null, "verified_by": [], "protect": { @@ -24,7 +24,7 @@ "https://osv.dev/vulnerability/GHSA-4x4j-2g7c-83w6", "https://osv.dev/vulnerability/PYSEC-2026-2257" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-59197.json b/docs/advisories/record/CVE-2026-59197.json similarity index 88% rename from docs/advisories/proposed/CVE-2026-59197.json rename to docs/advisories/record/CVE-2026-59197.json index a76be37..90429f8 100644 --- a/docs/advisories/proposed/CVE-2026-59197.json +++ b/docs/advisories/record/CVE-2026-59197.json @@ -24,7 +24,7 @@ "https://osv.dev/vulnerability/GHSA-xj96-63gp-2gmr", "https://osv.dev/vulnerability/PYSEC-2026-3454" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-59198.json b/docs/advisories/record/CVE-2026-59198.json new file mode 100644 index 0000000..71694eb --- /dev/null +++ b/docs/advisories/record/CVE-2026-59198.json @@ -0,0 +1,30 @@ +{ + "key": "CVE-2026-59198", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Pillow's TGA run-length encoder copies heap bytes into the file it writes", + "summary": "Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images", + "published": "2026-07-20", + "severity": 6.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "save", + "trigger": "Image.save(format=\"TGA\", compression=\"tga_rle\") of a mode-1 image.", + "bucket": "N", + "finding": "What rides from the opened file is its mode and its width, and nothing crafted: any bilevel image of any width over-reads once the program saves it as TGA with run-length compression, a choice no scan pipeline makes. A bilevel scan is exactly a mode-1 image, so a policy refusing them would refuse every scan; max_side bounds the over-read's window, which is seven eighths of the width. The file is not the input in any sense a check could act on.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Do not save images from outside as run-length TGA; upgrade to Pillow 12.3.0. The check's max_side bounds how far past the row buffer the encoder reads." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-fj7v-r99m-22gq", + "https://osv.dev/vulnerability/PYSEC-2026-3494" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against what rides from an opened file into a save." +} diff --git a/docs/advisories/record/CVE-2026-59199.json b/docs/advisories/record/CVE-2026-59199.json new file mode 100644 index 0000000..5b49167 --- /dev/null +++ b/docs/advisories/record/CVE-2026-59199.json @@ -0,0 +1,30 @@ +{ + "key": "CVE-2026-59199", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "Coordinates near the 32-bit limit write out of bounds in Pillow's paste and crop", + "summary": "Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow", + "published": "2026-07-14", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Image.paste or Image.crop with coordinates the program supplies near the signed 32-bit limits.", + "bucket": "N", + "finding": "The trigger is the box the program passes to paste, crop or alpha_composite, with a coordinate within a few pixels of the signed 32-bit limit; the opened file only scales the write, by its width. No header shows what a program will later pass. What the check does is bound the geometry: with max_side at 30,000 by default, a box a program derives from the image's own size, as Tetrak OCR's tile crops are, stays five orders of magnitude below the wrap point. A box taken from anywhere else, a request or a file's metadata, is out of its reach, and the program must clip it to the image itself.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Derive boxes from the image's size, which the check bounds, and clip any box that comes from outside to the image before passing it to Pillow; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-6r8x-57c9-28j4", + "https://osv.dev/vulnerability/PYSEC-2026-3451" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03: what the file contributes, and what the check bounds." +} diff --git a/docs/advisories/proposed/CVE-2026-59200.json b/docs/advisories/record/CVE-2026-59200.json similarity index 50% rename from docs/advisories/proposed/CVE-2026-59200.json rename to docs/advisories/record/CVE-2026-59200.json index 596eb3f..758fb9d 100644 --- a/docs/advisories/proposed/CVE-2026-59200.json +++ b/docs/advisories/record/CVE-2026-59200.json @@ -12,19 +12,19 @@ "fixed": "12.3.0", "reached_by": "api", "trigger": "Opening an existing PDF with Pillow's PdfParser, as Image.save(append=True) does; Image.open never reads a PDF.", - "bucket": "N", - "finding": "PdfParser runs only when a PDF is appended to. A PDF a pipeline opens goes to poppler, after pdfinfo has checked it with a time limit.", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a FlateDecode stream whose expansion is unbounded, which pdfinfo never inflates, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", "refusal": null, "verified_by": [], "protect": { "general": "Upgrade to Pillow 12.3.0.", - "specific": "Not a pre-decode matter: the flaw is in a call that opening a file never makes." + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." }, "sources": [ "https://osv.dev/vulnerability/GHSA-jjj6-mw9f-p565", "https://osv.dev/vulnerability/PYSEC-2026-3495" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." } diff --git a/docs/advisories/proposed/CVE-2026-59203.json b/docs/advisories/record/CVE-2026-59203.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-59203.json rename to docs/advisories/record/CVE-2026-59203.json index bb65691..ed10fa3 100644 --- a/docs/advisories/proposed/CVE-2026-59203.json +++ b/docs/advisories/record/CVE-2026-59203.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-pg7v-jwj7-p798", "https://osv.dev/vulnerability/PYSEC-2026-3452" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-59204.json b/docs/advisories/record/CVE-2026-59204.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-59204.json rename to docs/advisories/record/CVE-2026-59204.json index 7ef72ca..30167f1 100644 --- a/docs/advisories/proposed/CVE-2026-59204.json +++ b/docs/advisories/record/CVE-2026-59204.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-vjc4-5qp5-m44j", "https://osv.dev/vulnerability/PYSEC-2026-3496" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-59205.json b/docs/advisories/record/CVE-2026-59205.json new file mode 100644 index 0000000..87361b3 --- /dev/null +++ b/docs/advisories/record/CVE-2026-59205.json @@ -0,0 +1,30 @@ +{ + "key": "CVE-2026-59205", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "An output image of the wrong mode corrupts the heap in ImageCms transforms", + "summary": "Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch", + "published": "2026-07-14", + "severity": 7.5, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "ImageCmsTransform.apply with an output image whose mode does not match the transform's.", + "bucket": "N", + "finding": "The mismatch is between two objects the program builds: a transform declared for one mode and an output image it allocates in another, passed together to apply. Nothing from a file sets either. The two routes a file's image takes into colour management both close it: profileToProfile builds the transform from the image's own mode and lets apply allocate the output in the transform's mode, and applyTransform refuses an image whose mode is not the transform's input mode before anything runs. An embedded profile from the file only builds the transform; it does not choose a mode. Checked against Pillow 13.0.0, whose C layer now refuses the mismatch outright. Neither Tetrak OCR nor sillybos imports ImageCms.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Let profileToProfile or applyTransform allocate the output image; never pass an output image of your own to apply; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-9hw9-ch79-4vh6", + "https://osv.dev/vulnerability/PYSEC-2026-3453" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Validated on 2026-11-03 that a file's contents cannot cause the mismatch." +} diff --git a/docs/advisories/proposed/CVE-2026-6192.json b/docs/advisories/record/CVE-2026-6192.json similarity index 87% rename from docs/advisories/proposed/CVE-2026-6192.json rename to docs/advisories/record/CVE-2026-6192.json index be57964..3547b7f 100644 --- a/docs/advisories/proposed/CVE-2026-6192.json +++ b/docs/advisories/record/CVE-2026-6192.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-6192" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-85091.json b/docs/advisories/record/CVE-2026-85091.json similarity index 54% rename from docs/advisories/proposed/CVE-2026-85091.json rename to docs/advisories/record/CVE-2026-85091.json index 55d74e7..9244c2a 100644 --- a/docs/advisories/proposed/CVE-2026-85091.json +++ b/docs/advisories/record/CVE-2026-85091.json @@ -13,17 +13,17 @@ "reached_by": "save", "trigger": "Calling gzprintf or gzvprintf after a non-blocking gzwrite stalled.", "bucket": "N", - "finding": "On the gzip write path; inflating a PNG's or TIFF's data never runs it.", + "finding": "In zlib's gz file layer (gzwrite, gzprintf), on a non-blocking descriptor whose write stalled. No image file is the input, and nothing in the image stack calls that layer: libpng and libtiff use the raw deflate stream, Pillow's wheel references none of the gz write functions, and Python's zlib module has no gz API. Only a program that writes .gz files through zlib's own file functions, on a non-blocking descriptor, is in the path.", "refusal": null, "verified_by": [], "protect": { "general": "Upgrade zlib to a version that has the fix; the upstream record names it.", - "specific": "Not a pre-decode matter: the flaw is on a save path." + "specific": "Not reached through an image: only a program's own gzwrite on a non-blocking descriptor; upgrade zlib." }, "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-85091" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Checked on 2026-11-03 that nothing in the image stack calls zlib's gz write layer." } diff --git a/docs/advisories/proposed/CVE-2026-93311.json b/docs/advisories/record/CVE-2026-93311.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-93311.json rename to docs/advisories/record/CVE-2026-93311.json index 35a562b..8593f30 100644 --- a/docs/advisories/proposed/CVE-2026-93311.json +++ b/docs/advisories/record/CVE-2026-93311.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93311" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-93312.json b/docs/advisories/record/CVE-2026-93312.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-93312.json rename to docs/advisories/record/CVE-2026-93312.json index 3045b96..a61207d 100644 --- a/docs/advisories/proposed/CVE-2026-93312.json +++ b/docs/advisories/record/CVE-2026-93312.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93312" ], - "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. The policy field was named on 2026-11-02." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." } diff --git a/docs/advisories/proposed/CVE-2026-93313.json b/docs/advisories/record/CVE-2026-93313.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-93313.json rename to docs/advisories/record/CVE-2026-93313.json index 7e5591f..fbf2284 100644 --- a/docs/advisories/proposed/CVE-2026-93313.json +++ b/docs/advisories/record/CVE-2026-93313.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93313" ], - "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. The policy field was named on 2026-11-02." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. The policy field was named on 2026-11-02." } diff --git a/docs/advisories/proposed/CVE-2026-93314.json b/docs/advisories/record/CVE-2026-93314.json similarity index 55% rename from docs/advisories/proposed/CVE-2026-93314.json rename to docs/advisories/record/CVE-2026-93314.json index 5004e49..cc7f6e2 100644 --- a/docs/advisories/proposed/CVE-2026-93314.json +++ b/docs/advisories/record/CVE-2026-93314.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded TrueType font declares a crafted segCnt in its cmap.", "bucket": "C", - "finding": "Reached through an embedded font that pdffonts would report; a coarse policy on embedded fonts would keep it from the font parser, at the cost of searchable PDFs' text layers. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through an embedded TrueType font that poppler converts; nothing is filtered. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program, in poppler's own parser here is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93314" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2026-93653.json b/docs/advisories/record/CVE-2026-93653.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-93653.json rename to docs/advisories/record/CVE-2026-93653.json index 4ecd7f3..93769e0 100644 --- a/docs/advisories/proposed/CVE-2026-93653.json +++ b/docs/advisories/record/CVE-2026-93653.json @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-93653" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/proposed/CVE-2026-95512.json b/docs/advisories/record/CVE-2026-95512.json similarity index 57% rename from docs/advisories/proposed/CVE-2026-95512.json rename to docs/advisories/record/CVE-2026-95512.json index a9ce750..f0c114a 100644 --- a/docs/advisories/proposed/CVE-2026-95512.json +++ b/docs/advisories/record/CVE-2026-95512.json @@ -13,7 +13,7 @@ "reached_by": "open", "trigger": "Rendering a PDF whose embedded CID-keyed font repeats subroutine data across many font dictionaries.", "bucket": "C", - "finding": "Reached through an embedded font that pdffonts would report; a coarse policy on embedded fonts would keep it from FreeType. A time limit on the renderer bounds the cost. No policy is built: every searchable PDF embeds a font, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts carry one), so a policy refusing fonts would refuse the text layers it exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", + "finding": "Reached by rendering, through an embedded CID-keyed font; nothing is filtered. A time limit on the renderer bounds the cost. Embedded fonts are not unusual: every searchable PDF carries one for its text layer, Tetrak OCR's own output included (all thirty-eight PDFs in its checkouts), so a policy refusing fonts, which pdffonts could support, would refuse the very files the check exists to protect. A flaw in the font program is out of this library's reach; the boxed process is the defence.", "refusal": null, "verified_by": [], "protect": { @@ -23,7 +23,7 @@ "sources": [ "https://osv.dev/vulnerability/DEBIAN-CVE-2026-95512" ], - "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. Moved from B2 to C on 2026-11-02, with the finding above." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Moved from B2 to C on 2026-11-02, with the finding above." } diff --git a/docs/advisories/proposed/CVE-2026-96638.json b/docs/advisories/record/CVE-2026-96638.json similarity index 89% rename from docs/advisories/proposed/CVE-2026-96638.json rename to docs/advisories/record/CVE-2026-96638.json index 32d02fc..1722605 100644 --- a/docs/advisories/proposed/CVE-2026-96638.json +++ b/docs/advisories/record/CVE-2026-96638.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-24rc-8hj2-v98c" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-96640.json b/docs/advisories/record/CVE-2026-96640.json new file mode 100644 index 0000000..efabb0f --- /dev/null +++ b/docs/advisories/record/CVE-2026-96640.json @@ -0,0 +1,29 @@ +{ + "key": "CVE-2026-96640", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A shared page-tree graph makes Pillow's PDF append take disproportionate time", + "summary": "Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion", + "published": "2026-10-22", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Appending to an existing PDF with Image.save(format=\"PDF\", append=True).", + "bucket": "C", + "finding": "The existing PDF is the input, so the check belongs in front of it: the format gate and pdfinfo's time limit apply. But the trigger is a page tree that repeats the same child at every level, in the object graph, which a bounded check does not parse and pdfinfo's summary does not show. Out of a pre-decode check's reach.", + "refusal": null, + "verified_by": [], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Run the check on a PDF before appending to it, for what it does see; append only to PDFs the program wrote itself; upgrade to a Pillow with the fix." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-mrfp-p49p-3hf2" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/record/CVE-2026-96641.json b/docs/advisories/record/CVE-2026-96641.json new file mode 100644 index 0000000..1f6a351 --- /dev/null +++ b/docs/advisories/record/CVE-2026-96641.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-96641", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A PILfont's negative glyph advance makes a signed integer wrap", + "summary": "Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise", + "published": "2026-10-21", + "severity": 6.5, + "affected": "12.3.0", + "fixed": "13.0.0", + "reached_by": "api", + "trigger": "Measuring text with a crafted PILfont through ImageFont.", + "bucket": "A", + "finding": "The carrier is a PILfont, Pillow's own bitmap font format, whose glyph advance is a signed 16-bit field; a crafted one carries -32,768 and a string of 65,537 characters measured with it wraps the width. Handed to the check, its first bytes are not one of the four formats a scan can be and it is refused as unknown, so the record claims that refusal, though a font is a program's asset that no image check is usually in front of. Neither Tetrak OCR nor sillybos imports ImageFont. Pillow 13.0.0 raises OverflowError instead; on an older Pillow a width above the characters measured times 32,767 is the wrapped value.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 13.0.0, which raises OverflowError (\"Width too small\") where 12.3.0 returned a wrapped width.", + "specific": "Load only fonts you ship, never a font from outside; and if a file from outside could be one, run the check on it: a font is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-4rm8-3hmm-39fg", + "https://osv.dev/vulnerability/PYSEC-2026-4340" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Checked on 2026-11-03: the carrier is a font file, not an image. The fix is present in 13.0.0, checked with the advisory's reproducer on 2026-11-03; the first release carrying it was not confirmed. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/record/CVE-2026-96642.json b/docs/advisories/record/CVE-2026-96642.json new file mode 100644 index 0000000..cbb5460 --- /dev/null +++ b/docs/advisories/record/CVE-2026-96642.json @@ -0,0 +1,36 @@ +{ + "key": "CVE-2026-96642", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A negative size in a tar header spins Pillow's TarIO for ever", + "summary": "Pillow: TarIO negative size field causes infinite CPU-spin loop", + "published": "2026-10-21", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "api", + "trigger": "Opening a tar archive with PIL.TarIO.", + "bucket": "A", + "finding": "The carrier is a tar archive with a negative size in a member's header, opened through PIL.TarIO, which a program calls by name to read an image out of an archive. Handed to the check, a tar archive is not one of the four formats and is refused as unknown, so the record claims that refusal. Neither Tetrak OCR nor sillybos imports TarIO.", + "refusal": { + "check": "format", + "default": true, + "setting": "formats" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_font_or_archive_is_refused_as_unknown" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Unpack archives yourself, with the standard library, and run the check on each file that comes out; a tar handed to the check is refused as unknown." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-3j72-p6qg-6xp7", + "https://osv.dev/vulnerability/PYSEC-2026-4341" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-bucketed on 2026-11-03: the file that carries the trigger is one the check refuses, so the record claims it." +} diff --git a/docs/advisories/proposed/CVE-2026-96644.json b/docs/advisories/record/CVE-2026-96644.json similarity index 90% rename from docs/advisories/proposed/CVE-2026-96644.json rename to docs/advisories/record/CVE-2026-96644.json index 4556a61..e30b6bb 100644 --- a/docs/advisories/proposed/CVE-2026-96644.json +++ b/docs/advisories/record/CVE-2026-96644.json @@ -30,7 +30,7 @@ "https://osv.dev/vulnerability/GHSA-9v9v-9qvf-h2hj", "https://osv.dev/vulnerability/PYSEC-2026-4343" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/docs/advisories/record/CVE-2026-96778.json b/docs/advisories/record/CVE-2026-96778.json new file mode 100644 index 0000000..be6c386 --- /dev/null +++ b/docs/advisories/record/CVE-2026-96778.json @@ -0,0 +1,35 @@ +{ + "key": "CVE-2026-96778", + "aliases": [], + "library": "Pillow", + "package": "pillow", + "ecosystem": "PyPI", + "title": "A JPEG comment after a full ICC profile overflows Pillow's JPEG encoder", + "summary": "Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer", + "published": "2026-10-22", + "severity": null, + "affected": "< 12.3.0", + "fixed": "12.3.0", + "reached_by": "save", + "trigger": "Image.save(format=\"JPEG\") of an image carrying a large ICC profile and a comment.", + "bucket": "A", + "finding": "The comment rides from the opened file into a JPEG save on its own, and the profile does when the program passes it, which is the documented way to keep colour. The profile has to fill the encoder's 64 KB buffer, so it is about 65,498 bytes, and it is the block the reader measures: the default ceiling of 4 MiB lets it through, and a ceiling under 65 KB refuses the file. Tetrak OCR's access copy does not pass the profile, so it is not reached there.", + "refusal": { + "check": "max_metadata_bytes", + "default": false, + "setting": "Policy(max_metadata_bytes=65_000)" + }, + "verified_by": [ + "tests/test_check.py::TestHostileFiles::test_a_jpeg_profile_that_fills_the_encoder_buffer" + ], + "protect": { + "general": "Upgrade to Pillow 12.3.0.", + "specific": "Set max_metadata_bytes under 65 KB where no colour profile that large has a use, or do not pass icc_profile when re-saving a file from outside; upgrade to Pillow 12.3.0." + }, + "sources": [ + "https://osv.dev/vulnerability/GHSA-g7cr-3p24-7wf7" + ], + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03. Re-read on 2026-11-03 against the question of what rides from an opened file into a save: the file is the input." +} diff --git a/docs/advisories/proposed/GHSA-78g4-xqwv-q3g8.json b/docs/advisories/record/GHSA-78g4-xqwv-q3g8.json similarity index 91% rename from docs/advisories/proposed/GHSA-78g4-xqwv-q3g8.json rename to docs/advisories/record/GHSA-78g4-xqwv-q3g8.json index ed52c5e..2405d60 100644 --- a/docs/advisories/proposed/GHSA-78g4-xqwv-q3g8.json +++ b/docs/advisories/record/GHSA-78g4-xqwv-q3g8.json @@ -29,7 +29,7 @@ "sources": [ "https://osv.dev/vulnerability/GHSA-78g4-xqwv-q3g8" ], - "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." + "triaged": "2026-11-03", + "checked": "2026-11-03", + "notes": "Proposed from the advisory's text on 2026-11-01, as part of folding the backfill into the record; confirmed by a person on 2026-11-03." } diff --git a/scripts/advisories.py b/scripts/advisories.py index a25f48b..925a13c 100644 --- a/scripts/advisories.py +++ b/scripts/advisories.py @@ -253,7 +253,7 @@ def noise(advisory: Advisory) -> list[Hit]: ("B2", "preventable only by a coarse policy on what `pdfimages -list` or `pdffonts` report"), ("C", "needs decoding to detect; out of this library's reach"), ("D", "reaches `pdfinfo` itself"), - ("N", "not reached by opening a file"), + ("N", "the check is not in the path: no file carries the trigger"), ("U", "a reserved CVE with no text yet; re-checked weekly"), ) diff --git a/scripts/advisory_record.py b/scripts/advisory_record.py index 952357a..75f9653 100644 --- a/scripts/advisory_record.py +++ b/scripts/advisory_record.py @@ -53,7 +53,7 @@ "B2": "Preventable only by a coarse policy on a PDF's contents", "C": "Needs decoding to detect; out of this library's reach by design", "D": "Reaches pdfinfo itself", - "N": "Not reached by opening a file", + "N": "The check is not in the path: no file carries the trigger", "U": "A reserved CVE with no text yet", } @@ -274,6 +274,10 @@ def proposals(proposed_dir: Path = PROPOSED_DIR, tests_dir: Path = TESTS_DIR) -> return lines +UNCONFIRMED = "not yet confirmed by a person" +"""What a proposal's ``notes`` says until it is promoted; ``promote`` rewrites it.""" + + def promote( keys: list[str], today: str, @@ -283,6 +287,9 @@ def promote( ) -> list[str]: """Confirm proposals: validate each strictly, date it today, move it into the record. + A note saying the record is not yet confirmed by a person becomes one + saying when it was. + Returns the problems that stopped any of them; empty when all moved. """ stopped: list[str] = [] @@ -294,6 +301,10 @@ def promote( record = load(source) record["triaged"] = today record["checked"] = today + if isinstance(record.get("notes"), str): + record["notes"] = record["notes"].replace( + UNCONFIRMED, f"confirmed by a person on {today}" + ) target = record_dir / source.name found = problems(record, target, tests_dir) if target.exists(): diff --git a/tests/test_check.py b/tests/test_check.py index 61e3a3a..1473e99 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -68,6 +68,48 @@ def test_an_unknown_format(self, tmp_path: Path) -> None: assert verdict.format is None assert verdict.reasons[0].startswith("is an unknown format") + @pytest.mark.parametrize( + ("what", "head"), + [ + ("a PILfont", b"PILfont\n;;;;;;1;\nDATA\n" + b"\x00" * 64), + ("a BDF font", b"STARTFONT 2.1\nFONT -misc-fixed\n"), + ("a PCF font", b"\x01fcp" + b"\x00" * 60), + ("a TrueType font", b"\x00\x01\x00\x00\x00\x0c\x00\x80\x00\x03\x00\x20"), + ("an OpenType font", b"OTTO\x00\x0c\x00\x80\x00\x03\x00\x20"), + ( + "a tar archive", + b"scan.jpg".ljust(100, b"\x00") + b"0000644\x00" * 7 + b"\x00" * 101 + b"ustar\x00", + ), + ("a GD2 image", b"gd2\x00\x00\x02\x00\x08\x00\x08"), + ], + ) + def test_a_font_or_archive_is_refused_as_unknown( + self, tmp_path: Path, what: str, head: bytes + ) -> None: + # A file that carries a flaw's trigger is refused by the format gate + # whatever its format, so the records on fonts and archives claim it + # (CVE-2026-96641, CVE-2026-55379, CVE-2026-54059, CVE-2026-54060, + # CVE-2026-42308, CVE-2026-112893, CVE-2026-96642, CVE-2026-55380). + verdict = check(corpus.write(tmp_path / "file.bin", head)) + assert verdict.format is None, what + assert verdict.reasons[0].startswith("is an unknown format"), what + + @pytest.mark.parametrize( + ("name", "data"), + [ + ("scan.png", corpus.png(0, 10)), + ("scan.tif", corpus.tiff([(10, 0)])), + ("scan.jpg", corpus.jpeg(0, 10)), + ], + ) + def test_an_image_with_a_zero_dimension(self, tmp_path: Path, name: str, data: bytes) -> None: + # CVE-2026-112392: a zero-size image dereferences a null pointer in + # Pillow's rank filters. A file whose header gives a zero width or + # height is refused under every policy, before Pillow sees it. + verdict = check(corpus.write(tmp_path / name, data)) + assert not verdict.ok + assert "zero width or height" in verdict.reasons[0], verdict.reasons + def test_an_empty_file(self, tmp_path: Path) -> None: verdict = check(corpus.write(tmp_path / "scan.png", b"")) assert verdict.reasons == ("the file is empty",) @@ -141,6 +183,15 @@ def test_the_policy_can_allow_a_scheme(self, tmp_path: Path) -> None: verdict = check(path, Policy(tiff_compressions=frozenset({"lzw"}))) assert verdict.reasons == ("a zstd-compressed TIFF; the policy allows lzw",) + def test_a_jpeg_compressed_tiff_under_a_policy_without_jpeg(self, tmp_path: Path) -> None: + # CVE-2026-112897: short JPEG strips in a TIFF return uninitialised + # memory as pixels. The default allows JPEG in a TIFF, since scanners + # write it; a policy without it refuses the file before libtiff sees it. + path = corpus.write(tmp_path / "scan.tif", corpus.tiff([(10, 10)], compression=7)) + assert check(path).ok + verdict = check(path, Policy(tiff_compressions=frozenset({"none", "ccitt", "lzw"}))) + assert verdict.reasons == ("a jpeg-compressed TIFF; the policy allows none, ccitt and lzw",) + def test_a_cielab_tiff(self, tmp_path: Path) -> None: path = corpus.write(tmp_path / "scan.tif", corpus.tiff([(10, 10)], layout=(8, 3, 8))) verdict = check(path) @@ -231,6 +282,22 @@ def test_a_palette_png_under_a_scans_only_policy(self, tmp_path: Path) -> None: verdict = check(path, Policy(png_colour_types=frozenset({"greyscale", "rgb"}))) assert verdict.reasons == ("a palette PNG; the policy allows greyscale and rgb",) + def test_a_palette_png_with_an_empty_palette(self, tmp_path: Path) -> None: + # CVE-2026-112898: a palette image with no entries, used as the palette + # for Image.quantize, returns uninitialised stack memory as pixels; an + # 80-byte PNG with an empty PLTE is one. The reader does not open the + # PLTE, so the default passes it; a scans-only policy refuses the file. + data = corpus.png(10, 10, colour=3, extra=corpus.png_chunk(b"PLTE", 0)) + path = corpus.write(tmp_path / "scan.png", data) + assert check(path).ok + scans_only = Policy( + png_colour_types=frozenset({"greyscale", "rgb", "greyscale-alpha", "rgba"}) + ) + verdict = check(path, scans_only) + assert verdict.reasons == ( + "a palette PNG; the policy allows greyscale, rgb, greyscale-alpha and rgba", + ) + def test_a_sixteen_bit_png_is_strict_only_by_default(self, tmp_path: Path) -> None: path = corpus.write(tmp_path / "scan.png", corpus.png(10, 10, colour=0, depth=16)) assert check(path).ok @@ -255,6 +322,35 @@ def test_strict_allows_less_metadata(self, tmp_path: Path) -> None: .startswith("a JPEG colour profile") ) + def test_a_jpeg_profile_that_fills_the_encoder_buffer(self, tmp_path: Path) -> None: + # CVE-2026-96778: a 65,498-byte profile fills Pillow's 64 KB JPEG + # output buffer exactly, and a comment written after it overflows. + # Both ride from the opened file into a save that keeps the profile. + # The profile is the measured block; a ceiling under it refuses the file. + data = corpus.jpeg(10, 10, before_sof=corpus.jpeg_profile(65_498) + corpus.jpeg_padding(1)) + path = corpus.write(tmp_path / "scan.jpg", data) + assert check(path).ok + verdict = check(path, Policy(max_metadata_bytes=65_000)) + assert verdict.reasons == ("a JPEG colour profile of 65,498 bytes; the limit is 65,000",) + + def test_a_png_text_chunk_under_a_lower_ceiling(self, tmp_path: Path) -> None: + # CVE-2026-112891: a comment carried from an opened file is copied in + # quadratic time when the image is saved as a GIF. From a file it can + # only come through a PNG text chunk, whose size the reader measures. + data = corpus.png(10, 10, extra=corpus.png_chunk(b"tEXt", 1_000_000)) + path = corpus.write(tmp_path / "scan.png", data) + assert check(path).ok + verdict = check(path, Policy(max_metadata_bytes=65_536)) + assert verdict.reasons == ("a PNG tEXt chunk of 1,000,000 bytes; the limit is 65,536",) + + def test_an_animated_png_that_declares_too_many_frames(self, tmp_path: Path) -> None: + # CVE-2026-112894: Pillow's PDF writer takes time proportional to the + # square of the frame count it reads from the file before seeking any + # frame. The acTL count is read here and bounded by max_pages. + data = corpus.png(10, 10, frames=2**31 - 1) + verdict = check(corpus.write(tmp_path / "scan.png", data)) + assert verdict.reasons == ("2,147,483,647 pages; the limit is 500",) + def test_a_tiff_tag_over_the_limit(self, tmp_path: Path) -> None: data = corpus.tiff([(10, 10)], tags=[(34377, 7, b"\x00" * 4_194_305)]) verdict = check(corpus.write(tmp_path / "scan.tif", data)) diff --git a/tests/test_record.py b/tests/test_record.py index 7878327..779c7b3 100644 --- a/tests/test_record.py +++ b/tests/test_record.py @@ -209,6 +209,19 @@ def test_promote_moves_a_sound_proposal_and_dates_it(self, tmp_path: Path) -> No assert (moved["triaged"], moved["checked"]) == ("2026-11-02", "2026-11-02") assert not (proposed / "CVE-2026-1001.json").exists() + def test_promote_marks_the_note_as_confirmed(self, tmp_path: Path) -> None: + proposed, record = tmp_path / "proposed", tmp_path / "record" + proposed.mkdir() + record.mkdir() + _write( + proposed, {**SOUND, "notes": "Proposed on 2026-11-01; not yet confirmed by a person."} + ) + + assert ar.promote(["CVE-2026-1001"], "2026-11-02", proposed, record) == [] + + moved = ar.load(record / "CVE-2026-1001.json") + assert moved["notes"] == "Proposed on 2026-11-01; confirmed by a person on 2026-11-02." + def test_promote_refuses_what_is_not_ready(self, tmp_path: Path) -> None: proposed, record = tmp_path / "proposed", tmp_path / "record" proposed.mkdir()