{
  "results": [
    {
      "source": {
        "path": "/home/runner/work/cnpg-extensions.github.io/cnpg-extensions.github.io/static/reports/pg-search/bookworm-pg18-amd64.spdx.json",
        "type": "sbom"
      },
      "packages": [
        {
          "package": {
            "name": "arrow-data",
            "version": "59.2.0",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/arrow-data@59.2.0"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0442"
              ],
              "aliases": [
                "CVE-2026-111959",
                "GHSA-gqmm-qrjq-4c7h",
                "RUSTSEC-2026-0442"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0442.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "arrow-data",
                    "purl": "pkg:cargo/arrow-data"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "33.0.0"
                        },
                        {
                          "fixed": "57.3.2"
                        },
                        {
                          "introduced": "58.0.0"
                        },
                        {
                          "fixed": "58.4.1"
                        },
                        {
                          "introduced": "59.0.0"
                        },
                        {
                          "fixed": "59.3.2"
                        },
                        {
                          "introduced": "60.0.0"
                        },
                        {
                          "fixed": "60.1.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "aliases": [
                "CVE-2026-111959",
                "GHSA-gqmm-qrjq-4c7h"
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "Improper validation of RunEndEncoded arrays via `ArrayData::validate_values` can\nallow reading data beyond the bounds of the child values array when reading the\nlast value via APIs such as `TypedRunArray::value`.\n\nPatched versions now properly validate the contents of RunEndEncoded arrays to prevent\nallowing reading out of bounds of the specified array data.\n\nCredit to Adam Korczynski of Ada Logics for reporting this and Anthropic for finding\nthis.",
              "id": "RUSTSEC-2026-0442",
              "modified": "2026-11-05T09:00:02.631916531Z",
              "published": "2026-11-02T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/arrow-data"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0442.html"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/apache/arrow-rs/issues/11587"
                },
                {
                  "type": "WEB",
                  "url": "https://www.openwall.com/lists/oss-security/2026/11/02/2"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Apache Arrow Rust: Improper validation of RunEndEncoded arrays allows out of bounds reads"
            }
          ]
        },
        {
          "package": {
            "name": "bincode",
            "version": "1.3.3",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/bincode@1.3.3"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2025-0141"
              ],
              "aliases": [
                "RUSTSEC-2025-0141"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0141.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "bincode",
                    "purl": "pkg:cargo/bincode"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "Due to a doxxing and harassment incident, the bincode team has taken the decision to cease development permanently.\n\nThe team considers version 1.3.3 a complete version of bincode that is not in need of any updates.\n\n## Alternatives to consider\n\n* [wincode](https://crates.io/crates/wincode)\n* [postcard](https://crates.io/crates/postcard)\n* [bitcode](https://crates.io/crates/bitcode)\n* [rkyv](https://crates.io/crates/rkyv)",
              "id": "RUSTSEC-2025-0141",
              "modified": "2026-01-16T11:07:28.867553Z",
              "published": "2025-12-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/bincode"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2025-0141.html"
                },
                {
                  "type": "WEB",
                  "url": "https://git.sr.ht/~stygianentity/bincode/tree/v3.0/item/README.md"
                }
              ],
              "schema_version": "1.7.3",
              "summary": "Bincode is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "bincode",
            "version": "2.0.1",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/bincode@2.0.1"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2025-0141"
              ],
              "aliases": [
                "RUSTSEC-2025-0141"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0141.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "bincode",
                    "purl": "pkg:cargo/bincode"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "Due to a doxxing and harassment incident, the bincode team has taken the decision to cease development permanently.\n\nThe team considers version 1.3.3 a complete version of bincode that is not in need of any updates.\n\n## Alternatives to consider\n\n* [wincode](https://crates.io/crates/wincode)\n* [postcard](https://crates.io/crates/postcard)\n* [bitcode](https://crates.io/crates/bitcode)\n* [rkyv](https://crates.io/crates/rkyv)",
              "id": "RUSTSEC-2025-0141",
              "modified": "2026-01-16T11:07:28.867553Z",
              "published": "2025-12-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/bincode"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2025-0141.html"
                },
                {
                  "type": "WEB",
                  "url": "https://git.sr.ht/~stygianentity/bincode/tree/v3.0/item/README.md"
                }
              ],
              "schema_version": "1.7.3",
              "summary": "Bincode is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "chrono",
            "version": "0.4.45",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/chrono@0.4.45"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0543"
              ],
              "aliases": [
                "RUSTSEC-2026-0543"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0543.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "chrono",
                    "purl": "pkg:cargo/chrono"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The chrono crate is unmaintained; all versions are affected.\n\nRecommended alternatives:\n\n- [jiff](https://crates.io/crates/jiff)\n- [time](https://crates.io/crates/time)",
              "id": "RUSTSEC-2026-0543",
              "modified": "2026-11-17T10:15:02.344223779Z",
              "published": "2026-09-14T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/chrono"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0543.html"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/chronotope/chrono/issues/1768"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "chrono is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "chrono-tz",
            "version": "0.10.4",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/chrono-tz@0.10.4"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0555"
              ],
              "aliases": [
                "RUSTSEC-2026-0555"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0555.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "chrono-tz",
                    "purl": "pkg:cargo/chrono-tz"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The chrono-tz crate is unmaintained; all versions are affected.",
              "id": "RUSTSEC-2026-0555",
              "modified": "2026-11-17T10:15:02.351255468Z",
              "published": "2026-09-14T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/chrono-tz"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0555.html"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/chronotope/chrono/issues/1768"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "chrono-tz is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "humantime",
            "version": "2.4.0",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/humantime@2.4.0"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0542"
              ],
              "aliases": [
                "RUSTSEC-2026-0542"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0542.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "humantime",
                    "purl": "pkg:cargo/humantime"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "Because chrono is now unmaintained and humantime wraps chrono, it is also unmaintained; all\nversions are affected.",
              "id": "RUSTSEC-2026-0542",
              "modified": "2026-11-17T10:15:02.347148964Z",
              "published": "2026-09-14T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/humantime"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0542.html"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/chronotope/chrono/issues/1768"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "humantime is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "rustix",
            "version": "1.1.5",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/rustix@1.1.5"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0486"
              ],
              "aliases": [
                "GHSA-jh2m-fhpj-3vr7",
                "RUSTSEC-2026-0486"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0486.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "rustix::fs::fgetxattr",
                        "rustix::fs::flistxattr",
                        "rustix::fs::getxattr",
                        "rustix::fs::lgetxattr",
                        "rustix::fs::listxattr",
                        "rustix::fs::llistxattr"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "rustix",
                    "purl": "pkg:cargo/rustix"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "1.0.0"
                        },
                        {
                          "fixed": "1.1.6"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "aliases": [
                "GHSA-jh2m-fhpj-3vr7"
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The extended-attribute functions in `rustix::fs` (`getxattr`, `lgetxattr`, `fgetxattr`, `listxattr`, `llistxattr` and `flistxattr`) write into a `Buffer` and then mark as many bytes initialized as the system call reported. When the buffer has zero length, the operating system treats the call as a size query: it writes nothing and returns the size of the attribute value or of the name list. rustix still marked that many bytes as initialized.\n\nPassing a `Vec` whose length equals its capacity through `spare_capacity` gives such a zero-length buffer, and rustix then set the vector's length past its capacity over memory that was never written. This is undefined behavior reachable from safe code. With an empty `&mut [MaybeUninit<u8>]` the call panics instead.\n\nFrom 1.1.6 these functions return an empty result for a zero-length buffer, and new `getxattr_query`, `lgetxattr_query`, `fgetxattr_query`, `listxattr_query`, `llistxattr_query` and `flistxattr_query` functions return the size. The 0.38 series did not have the `Buffer` API and is not affected.",
              "id": "RUSTSEC-2026-0486",
              "modified": "2026-11-11T08:45:02.466292839Z",
              "published": "2026-10-27T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/rustix"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0486.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/bytecodealliance/rustix/commit/8e6aaa6713d2bb64b1fdd8c472e3a32a10a76d70"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "xattr functions mark unwritten bytes as initialized when given a zero-length buffer"
            }
          ]
        },
        {
          "package": {
            "name": "serde_cbor",
            "version": "0.11.2",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/serde_cbor@0.11.2"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2021-0127"
              ],
              "aliases": [
                "RUSTSEC-2021-0127"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0127.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "serde_cbor",
                    "purl": "pkg:cargo/serde_cbor"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The `serde_cbor` crate is unmaintained. The author has archived the github repository.\n\nAlternatives proposed by the author:\n\n * [`ciborium`](https://crates.io/crates/ciborium)\n * [`minicbor`](https://crates.io/crates/minicbor)",
              "id": "RUSTSEC-2021-0127",
              "modified": "2021-12-01T14:04:55Z",
              "published": "2021-08-15T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/serde_cbor"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2021-0127.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/pyfisch/cbor"
                }
              ],
              "schema_version": "1.7.3",
              "summary": "serde_cbor is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "tokio",
            "version": "1.53.2",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/tokio@1.53.2"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0386"
              ],
              "aliases": [
                "RUSTSEC-2026-0386"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0386.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "tokio::io::unix::AsyncFd::new",
                        "tokio::io::unix::AsyncFd::try_new",
                        "tokio::io::unix::AsyncFd::try_with_interest",
                        "tokio::io::unix::AsyncFd::with_interest"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "tokio",
                    "purl": "pkg:cargo/tokio"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.3.2"
                        },
                        {
                          "fixed": "1.51.6"
                        },
                        {
                          "introduced": "1.52.0"
                        },
                        {
                          "fixed": "1.53.3"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`tokio::io::unix::AsyncFd` provides safe constructors (`new`, `with_interest`, `try_new`, and `try_with_interest`) that accept any `T: AsRawFd` rather than requiring proof of ownership or validity of the file descriptor. Because `RawFd` implements `AsRawFd`, safe code can construct an `AsyncFd` from an arbitrary or closed file descriptor, or close/replace the underlying file descriptor while the `AsyncFd` is still alive.\n\nThis violates I/O safety in two ways:\n\n1. `AsyncFd<T>` implements `AsFd` for all `T: AsRawFd` by calling `BorrowedFd::borrow_raw(self.as_raw_fd())`, allowing safe code to obtain an arbitrary `BorrowedFd<'_>` without owning the file descriptor.\n2. Tokio's I/O driver stores a pointer to an internal allocation in the `epoll`/`kqueue` user data for registered file descriptors. If the underlying file descriptor is duplicated and then closed while an `AsyncFd` is alive, and the OS reuses that file descriptor number for a another IO resource on the same runtime, dropping the first `AsyncFd` deregisters the reused file descriptor number and frees the first while the original file description remains registered in `epoll`, leading to a use-after-free when a readiness event fires.\n\nStarting in Tokio 1.51.6, 1.53.3, and 1.54.0, `AsyncFd::new`, `AsyncFd::with_interest`, `AsyncFd::try_new`, and `AsyncFd::try_with_interest` are deprecated in favor of the `unsafe` constructors `AsyncFd::register` and `AsyncFd::register_with_interest`. Callers must ensure that the file descriptor remains valid, open, and unchanged for the lifetime of the `AsyncFd`.",
              "id": "RUSTSEC-2026-0386",
              "modified": "2026-10-23T14:45:03.847864944Z",
              "published": "2026-10-13T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/tokio"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0386.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/tokio-rs/tokio/pull/8587"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/tokio-rs/tokio/issues/8538"
                },
                {
                  "type": "REPORT",
                  "url": "https://github.com/tokio-rs/tokio/issues/8539"
                }
              ],
              "schema_version": "1.9.0",
              "summary": "`AsyncFd::new` and related constructors violate I/O safety"
            }
          ]
        },
        {
          "package": {
            "name": "unsafe-libyaml",
            "version": "0.2.11",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/unsafe-libyaml@0.2.11"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2024-0449"
              ],
              "aliases": [
                "RUSTSEC-2024-0449"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [],
                    "cvss": null,
                    "informational": "unmaintained",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0449.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "unsafe-libyaml",
                    "purl": "pkg:cargo/unsafe-libyaml"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The [repository](https://github.com/dtolnay/unsafe-libyaml) was archived by\nits owner on 2024-03-25 and is read-only. The last release is 0.2.11\n(March 2024).\n\n`unsafe-libyaml` is a machine translation of libyaml's C code into unsafe\nRust (c2rust). Bugs found in it will not be fixed upstream. It is used by\n`serde_yaml` (itself deprecated) and by forks such as `serde_yaml_ng`.\n\n## Alternatives\n\nConsider a YAML parser written in safe Rust, for example:\n\n- [saphyr](https://crates.io/crates/saphyr) ([serde-saphyr](https://crates.io/crates/serde-saphyr) for serde users)\n- [noyalib](https://crates.io/crates/noyalib)",
              "id": "RUSTSEC-2024-0449",
              "modified": "2026-10-12T11:45:02.518189315Z",
              "published": "2024-03-25T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/unsafe-libyaml"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2024-0449.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/dtolnay/unsafe-libyaml"
                }
              ],
              "schema_version": "1.9.0",
              "summary": "unsafe-libyaml is unmaintained"
            }
          ]
        },
        {
          "package": {
            "name": "zstd",
            "version": "0.13.3",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/zstd@0.13.3"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0391"
              ],
              "aliases": [
                "RUSTSEC-2026-0391"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": null,
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0391.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd::stream::raw::Decoder::with_context",
                        "zstd::stream::raw::Encoder::with_context"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd",
                    "purl": "pkg:cargo/zstd"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.13.2"
                        },
                        {
                          "fixed": "0.13.4"
                        },
                        {
                          "introduced": "0.14.0-0"
                        },
                        {
                          "fixed": "0.14.3"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The `with_context` constructors of the stream encoders and decoders used the\nborrowed context as it was. When a stream was abandoned on a context, for\nexample an encoder dropped before `finish()` after an error, whatever it\nleft there was carried into the next stream: the input buffered by the\nprevious encoder (up to 128 KiB, or all of it with `zstdmt`) became the\nstart of the next frame, and a decoder returned undelivered output of the\nprevious stream.\n\nAn application reusing one context for data that must stay separate, such\nas different users' requests, could disclose one user's plaintext to\nanother. Whoever supplies the data can cause the abandonment with invalid\ninput.\n\nThe flaw was corrected by resetting the context's session in\n`with_context`.",
              "id": "RUSTSEC-2026-0391",
              "modified": "2026-11-02T09:30:03.590733846Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0391.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/74ace2dcdca62a2ce0f034895d6079458311e003"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Data from an abandoned stream leaks into the next stream on a reused context"
            }
          ]
        },
        {
          "package": {
            "name": "zstd-safe",
            "version": "7.2.4",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/zstd-safe@7.2.4"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0395"
              ],
              "aliases": [
                "RUSTSEC-2026-0395"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0396"
              ],
              "aliases": [
                "RUSTSEC-2026-0396"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0397"
              ],
              "aliases": [
                "RUSTSEC-2026-0397"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0398"
              ],
              "aliases": [
                "RUSTSEC-2026-0398"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0399"
              ],
              "aliases": [
                "RUSTSEC-2026-0399"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0400"
              ],
              "aliases": [
                "RUSTSEC-2026-0400"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0401"
              ],
              "aliases": [
                "RUSTSEC-2026-0401"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0402"
              ],
              "aliases": [
                "RUSTSEC-2026-0402"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0403"
              ],
              "aliases": [
                "RUSTSEC-2026-0403"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0404"
              ],
              "aliases": [
                "RUSTSEC-2026-0404"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0405"
              ],
              "aliases": [
                "RUSTSEC-2026-0405"
              ],
              "max_severity": ""
            },
            {
              "ids": [
                "RUSTSEC-2026-0406"
              ],
              "aliases": [
                "RUSTSEC-2026-0406"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0395.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::CCtx::set_parameter"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "4.1.0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "With `CParameter::StableInBuffer(true)` (`experimental` feature), the C\nlibrary keeps a pointer to the input of one streaming call and reads from it\nin later calls, including `flush_stream` and `end_stream`, which take no\ninput. An `InBuffer` only borrows its slice for one call, so safe code could\nfree it in between, and freed memory was compressed into the frame. The C\nlibrary behaves this way since zstd 1.5.4, whether bundled or linked from the\nsystem.\n\nThe flaw was corrected by refusing to enable the parameter.",
              "id": "RUSTSEC-2026-0395",
              "modified": "2026-11-02T09:30:03.420559993Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0395.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/53a8a290d8cfb52ff5b29fb6e04a40b5a174cc65"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Use-after-free with `CParameter::StableInBuffer`"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0396.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::seekable::SeekTable::frame_decompressed_size",
                        "zstd_safe::seekable::Seekable::decompress",
                        "zstd_safe::seekable::Seekable::decompress_frame",
                        "zstd_safe::seekable::Seekable::frame_decompressed_size",
                        "zstd_safe::seekable::Seekable::offset_to_frame_index"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "7.2.2"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`Seekable` did not record whether it was initialized. On a fresh `Seekable`,\nor one whose `init_buff()` failed, `decompress`, `offset_to_frame_index` and\n`frame_decompressed_size` made the C library read a NULL seek table. After a\nfailed re-initialization, `decompress` returned data from the refused buffer\nusing the previous seek table.\n\nSeparately, `frame_decompressed_size(num_frames())`, on `Seekable` and\n`SeekTable`, read one entry past the end of the seek table.\n\nThe flaw was corrected by refusing to use a `Seekable` until an\ninitialization succeeded, and by checking the frame index.",
              "id": "RUSTSEC-2026-0396",
              "modified": "2026-11-02T09:30:03.400899521Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0396.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/a9626069d6f2e90b782b8f627f57a361cfe8ef85"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "`Seekable` reads a NULL or out-of-bounds seek table"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0397.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::OutBuffer::around_pos"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "4.0.0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`OutBuffer::around_pos` accepted a position past the initialized length of a\n`Vec<u8>`. The next streaming call then marked everything before the\nposition as initialized, so safe code could read stale heap memory between\nthe vector's previous length and that position.\n\nThe flaw was corrected by zero-filling that gap.",
              "id": "RUSTSEC-2026-0397",
              "modified": "2026-11-02T09:30:03.445177143Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0397.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/5827de2459b8ac430e87e860f00c7f3c13023833"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "`OutBuffer::around_pos` exposes uninitialized memory"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure",
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": null,
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0398.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::seekable::AdvancedSeekable::decompress",
                        "zstd_safe::seekable::Seekable::decompress"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "7.2.2"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`ZSTD_seekable_decompress` shortens the requested length to the end of the\ndata without checking that the offset is before it. For an offset past the\nend, it returns a wrapped-around length without writing anything, and\n`Seekable::decompress` passed that length to `Vec::set_len`.\n\nWith the `seekable` feature, whoever supplies the archive, or chooses the\noffset, can leave the caller's `Vec<u8>` with a length far beyond its\ncapacity. Reading it then discloses neighbouring heap memory, and appending\nto it corrupts memory. Offsets near `u64::MAX` can also hang the call.\n\nThe flaw was corrected by clamping requests to the end of the data, and by\nchecking every count reported by the C library against the buffer capacity.",
              "id": "RUSTSEC-2026-0398",
              "modified": "2026-11-02T09:30:03.419709171Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0398.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/80506be743fae2ed0c2fe8b21c374c6a2eab0be7"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "`Seekable::decompress` sets a `Vec` length beyond its capacity for offsets past the end"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0399.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::CCtx::init_using_cdict",
                        "zstd_safe::DCtx::init_using_ddict"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "3.0.0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`CCtx::init_using_cdict` and `DCtx::init_using_ddict` (`experimental`\nfeature, deprecated) took the dictionary as `&CDict<'b>` and `&DDict<'b>`\nwith only `'b: 'a`, so the dictionary itself could be dropped while the\ncontext still pointed at it. The same mistake in other constructors was\nfixed earlier (<https://github.com/gyscos/zstd-rs/issues/365>).\n\nThe flaw was corrected by taking `&'a CDict<'b>` and `&'a DDict<'b>`.",
              "id": "RUSTSEC-2026-0399",
              "modified": "2026-11-02T09:30:03.328955732Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0399.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/e00e7928e3e98953fc43418af6d73f6aae2378fb"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Use-after-free through `init_using_cdict` and `init_using_ddict`"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0400.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::DCtx::decompress",
                        "zstd_safe::DCtx::decompress_using_ddict",
                        "zstd_safe::DCtx::decompress_using_dict"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "3.0.1"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "The one-shot `DCtx` and `CCtx` methods assumed the C library resets the\ncontext, but it leaves an open stream as it is. When a stream was left\nunfinished on a context, a one-shot call such as `decompress_using_dict`\ncould leave the context pointing at the dictionary borrowed for that call,\nand the next streaming call resumed the stream against it after it was\nfreed: decompressed output then contained freed heap memory. On the\ncompression side, the stream resumed against the one-shot call's buffers.\n\nThis requires an application to use one context for both streaming and\none-shot calls without a reset in between. The flaw was corrected by\nresetting the session after one-shot calls whenever a stream may be open.",
              "id": "RUSTSEC-2026-0400",
              "modified": "2026-11-02T09:30:03.428341570Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0400.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/d34502a0ed07f80ab2aa4c65059578e0466f2467"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Use-after-free of a dictionary after a one-shot call on a context with an open stream"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0401.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::train_from_buffer"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`ZDICT_trainFromBuffer` is never told the length of the samples buffer, so\n`train_from_buffer` checked that the sample sizes add up to it. With\noverflow checks off, as in release builds, that sum wrapped around: sizes\ntotalling 2^64 plus the buffer length passed the check, and the trainer read\npast the end of the buffer. `zstd::dict::from_continuous` relies on this\ncheck from zstd 0.4.10; older versions of zstd had their own, covered by a\nseparate advisory.\n\nThis requires the sample sizes to come from an untrusted source. The flaw\nwas corrected by summing the sizes with overflow checks.",
              "id": "RUSTSEC-2026-0401",
              "modified": "2026-11-02T09:30:03.353698025Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0401.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/781ea454191dbf178d09c1daf6fc896d15fbaa2f"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Out-of-bounds read in `train_from_buffer` when sample sizes overflow"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0402.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::CCtx::try_clone"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "4.1.4"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`CCtx::try_clone` (`experimental` feature, deprecated) copies tables sized\nfrom the context's applied parameters. Starting a multithreaded frame\n(`zstdmt` feature) replaces those parameters with the workers' without\nresizing the context's own tables, so after an abandoned single-threaded\nframe, the copy wrote up to 512 KiB past a heap allocation, or read past\none. This became reachable with the bundled zstd 1.5.6.\n\nThe flaw was corrected by refusing `try_clone` (and the unsafe\n`compress_block`) once `NbWorkers` was set on the context.",
              "id": "RUSTSEC-2026-0402",
              "modified": "2026-11-02T09:30:04.162155944Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0402.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/682b8b2967cf4aba5cfe2d940d1e381a3e23211a"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Heap buffer overflow in `CCtx::try_clone` on a multithreaded context"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": null,
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0403.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::DCtx::decompress_stream"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "4.0.0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "When decompression fails inside a legacy (zstd v0.4 to v0.7) frame, the\nbundled zstd library reports the output buffer as fully written although\nnothing was written. `DCtx::decompress_stream` committed that position even\non error, and for a `Vec<u8>` destination this extended the vector's length\nover uninitialized memory.\n\nLegacy support is enabled by default. A 5- or 6-byte corrupt legacy frame is\nenough: through `zstd::stream::write::Decoder`, up to 32 KiB of stale heap\nmemory is then passed to the wrapped writer on the next `write()` or\n`flush()`, or when an `auto_flush()`/`on_flush()` decoder is dropped. Whether\nthis reaches an attacker depends on where the application sends the\ndecompressed output. `zstd::stream::read::Decoder`, `zstd::decode_all` and\nthe bulk API are not affected.\n\nBefore zstd-safe 4.0.0, output buffers could only be initialized slices.\nThe zstd crate's own writer had the same flaw from 0.4.22 to 0.7.x, which is\ncovered by a separate advisory.\n\nThe flaw was corrected by only committing the buffer positions of a\nsuccessful call.",
              "id": "RUSTSEC-2026-0403",
              "modified": "2026-11-02T09:30:04.136442771Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0403.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/006e1d1ad1eeaf6b5d4c28329e70217adabcec43"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Uninitialized memory exposed when streaming decompression of a legacy frame fails"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0404.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::DCtx::try_clone"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "4.1.4"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`DCtx::try_clone` (`experimental` feature, deprecated) is a plain copy of the\nC context. A context owning a dictionary (from `load_dictionary`,\n`ref_prefix` or `init_using_dict`) or a dictionary table (`ref_ddict` with\n`RefMultipleDDicts`) ended up with both copies freeing it. A context cloned\nmid-frame resumed on uninitialized stream state. The clone also silently lost\nthe `WindowLogMax` limit.\n\nThe flaw was corrected by refusing to clone such contexts, and by carrying\nover the parameters the copy leaves out.",
              "id": "RUSTSEC-2026-0404",
              "modified": "2026-11-02T09:30:04.168804805Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0404.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/cee6529b553ec600a8e152aaca15a91598820ecf"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Double free in `DCtx::try_clone`"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-exposure"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0405.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::seekable::SeekableCStream::compress_stream"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "7.2.2"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "`InBuffer`'s fields are public, so safe code can set `pos` past the end of\n`src`. The position was passed to the C library unchecked, and\n`ZSTD_seekable_compressStream`, unlike the other streaming functions, does\nnot validate it: it read past the end of the input slice, by up to the\nframe size, and compressed that memory into the output.\n\nThe flaw was corrected by checking the position before every call into the\nC library.",
              "id": "RUSTSEC-2026-0405",
              "modified": "2026-11-02T09:30:03.399517581Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0405.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/20d397c0d68d8b4300c5493875ebfa10e355fcdd"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Out-of-bounds read with an out-of-range `InBuffer::pos`"
            },
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": "unsound",
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0406.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [],
                      "functions": [
                        "zstd_safe::CCtx::disable_dictionary",
                        "zstd_safe::CCtx::init",
                        "zstd_safe::CCtx::load_dictionary",
                        "zstd_safe::CCtx::ref_cdict",
                        "zstd_safe::CCtx::ref_prefix",
                        "zstd_safe::CCtx::reset",
                        "zstd_safe::CCtx::set_parameter"
                      ],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-safe",
                    "purl": "pkg:cargo/zstd-safe"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "0.0.0-0"
                        },
                        {
                          "fixed": "7.4.0"
                        },
                        {
                          "introduced": "8.0.0-0"
                        },
                        {
                          "fixed": "8.2.0"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "When a multithreaded frame (`zstdmt` feature, `CParameter::NbWorkers`) is\nleft unfinished, its jobs may still be running on the worker threads: the C\nlibrary only waits for them when the next frame starts, or when the context\nis freed. A session reset makes the context accept changes again in the\nmeantime, so:\n\n- unloading the dictionary (`load_dictionary`, `ref_cdict`, `ref_prefix`,\n  `disable_dictionary`, `init*`, or `reset` with parameters) freed the\n  dictionary a worker was still compressing against;\n- changing `NbWorkers` made the next frame resize the job table before\n  waiting for the old jobs.\n\nThe flaw was corrected by refusing these calls while a multithreaded frame\nis unfinished. The new `CCtx::wait_for_workers()` waits for the workers\nfirst.",
              "id": "RUSTSEC-2026-0406",
              "modified": "2026-11-02T09:30:03.591194710Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-safe"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0406.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/e224018a2389915d68ed17f30109bebad36e9734"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.2",
              "summary": "Use-after-free when changing a multithreaded context with an unfinished frame"
            }
          ]
        },
        {
          "package": {
            "name": "zstd-sys",
            "version": "2.0.16+zstd.1.5.7",
            "ecosystem": "crates.io",
            "purl": "pkg:cargo/zstd-sys@2.0.16%2Bzstd.1.5.7"
          },
          "groups": [
            {
              "ids": [
                "RUSTSEC-2026-0410"
              ],
              "aliases": [
                "RUSTSEC-2026-0410"
              ],
              "max_severity": ""
            }
          ],
          "vulnerabilities": [
            {
              "affected": [
                {
                  "database_specific": {
                    "categories": [
                      "memory-corruption"
                    ],
                    "cvss": null,
                    "informational": null,
                    "source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0410.json"
                  },
                  "ecosystem_specific": {
                    "affected_functions": null,
                    "affects": {
                      "arch": [
                        "wasm32"
                      ],
                      "functions": [],
                      "os": []
                    }
                  },
                  "package": {
                    "ecosystem": "crates.io",
                    "name": "zstd-sys",
                    "purl": "pkg:cargo/zstd-sys"
                  },
                  "ranges": [
                    {
                      "events": [
                        {
                          "introduced": "2.0.9"
                        },
                        {
                          "fixed": "2.1.2"
                        }
                      ],
                      "type": "SEMVER"
                    }
                  ]
                }
              ],
              "database_specific": {
                "license": "CC0-1.0"
              },
              "details": "On wasm32, zstd-sys provides `malloc` and `free` to the C library through a\nshim over Rust's allocator. The shim did not check for allocation failure:\nit wrote its size header to address 0 and returned address 4, which the C\nlibrary used as a valid buffer. `free(NULL)` also read below address 0.\n\nWhenever the instance cannot grow its memory by what a frame asks for, a\nsmall crafted frame (a 9-byte header declaring a 128 MiB window is enough)\nmade decompression write decoded data over the bottom of the module's\nlinear memory, instead of failing. The corruption stays within the wasm\nsandbox.\n\nThe flaw was corrected by returning NULL on allocation failure or size\noverflow, and by making `free(NULL)` a no-op.",
              "id": "RUSTSEC-2026-0410",
              "modified": "2026-10-26T14:00:05.788985783Z",
              "published": "2026-10-16T12:00:00Z",
              "references": [
                {
                  "type": "PACKAGE",
                  "url": "https://crates.io/crates/zstd-sys"
                },
                {
                  "type": "ADVISORY",
                  "url": "https://rustsec.org/advisories/RUSTSEC-2026-0410.html"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/commit/165d1625553c236b9700ca794b8a7c51f5d98314"
                },
                {
                  "type": "WEB",
                  "url": "https://github.com/gyscos/zstd-rs/pull/384"
                }
              ],
              "schema_version": "1.9.0",
              "summary": "WebAssembly allocator shim corrupts memory on allocation failure"
            }
          ]
        }
      ]
    }
  ],
  "experimental_config": {
    "licenses": {
      "summary": false,
      "allowlist": null
    }
  }
}
