Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
# the full history in CI and weekly (security.yml). `gitleaks git .` scans
# the history by hand.
#
# Extends the built-in rules. No allow-list yet; add paths here, never rules.
# Extends the built-in rules. The allow-list is ours; add to it, never to
# the rules.
[extend]
useDefault = true

[allowlist]
description = "Known false positives"
# The advisory record (docs/advisories/record/ and proposed/) names each
# advisory in a `key` field. A CVE id with the right spread of digits
# crosses the generic API-key rule's entropy threshold (CVE-2024-13978 did,
# 1 November 2026). Only that field, only an advisory id.
regexTarget = "line"
regexes = [
'''"key": "(CVE-\d{4}-\d{4,}|GHSA-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}|PYSEC-\d{4}-\d+)"''',
]
31 changes: 27 additions & 4 deletions docs/advisories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,33 @@ and `fixed` may be `null` when the upstream record does not say; `notes`
says so when a record was written without the upstream text to hand.

The first records (1 November 2026) are the advisories the policy table
in the README already cited, each with the test that was written for it;
the 138 advisories of the backfill are in `seen.json` but not yet in the
record, since their buckets were decided before the record existed.
Folding them in is open work.
in the README already cited, each with the test that was written for it.
The backfill's buckets were decided before the record existed and were not
written down, so folding it in meant reading each advisory again. That
re-reading, for everything published from 2025 on, is in `proposed/`.

### Proposals

[`proposed/`](proposed/) holds records in the same shape that have been
drafted from the advisory's text but **not yet confirmed by a person**.
Each says so in its `notes`. Nothing reads them but two commands, and the
export never includes them, so the watch on tetrak.dev shows only what a
maintainer has confirmed:

```bash
python scripts/advisory_record.py proposals # what is waiting, by bucket, with what is in the way
python scripts/advisory_record.py promote KEY... # confirm: moves into record/, dated today, re-exports
```

To confirm one, read the advisory and the proposal's finding; if the
bucket and the sentence are right, promote it, and if not, edit the file
first. A proposal in bucket A, B or B2 cannot be promoted until it names a
test that builds the triggering file and checks it is refused: for an A
that test usually exists already, and for a B or B2 the policy field and
the corpus case come first, as the next section says. The proposals in
B2 at the time of writing all want one of two coarse PDF policies, on
embedded fonts and on JBIG2 image streams, and the one B wants a ceiling
on a single image dimension.

## The buckets

Expand Down
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2024-13978.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2024-56826.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2024-56827.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-27363.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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": "B2",
"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. Not built.",
"refusal": null,
"verified_by": [],
"protect": {
"general": "Upgrade to FreeType 2.13.1.",
"specific": "Until a policy on embedded fonts exists, 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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-28162.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-28164.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-32364.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-32365.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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": "pdfimages -list reports each image stream's encoding, so a coarse policy refusing JBIG2 streams would keep the stream from the decoder. Some scanners write JBIG2-compressed PDFs, so the policy would refuse real scans too. Not built.",
"refusal": null,
"verified_by": [],
"protect": {
"general": "Upgrade to poppler 25.04.0.",
"specific": "Until a policy on image stream encodings exists, render in a boxed process."
},
"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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-43718.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
29 changes: 29 additions & 0 deletions docs/advisories/proposed/CVE-2025-43903.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"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-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."
}
30 changes: 30 additions & 0 deletions docs/advisories/proposed/CVE-2025-48379.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"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-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."
}
Loading
Loading