From 1827c0e863cf376d2f3b26ac767fdd5d5351a030 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 17 Feb 2026 23:35:17 +0100 Subject: [PATCH] ccextractor: apply patch for CVE-2026-2245 Upstream security issue: https://github.com/CCExtractor/ccextractor/issues/2053 Fixes #489009 --- pkgs/by-name/cc/ccextractor/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/cc/ccextractor/package.nix b/pkgs/by-name/cc/ccextractor/package.nix index ce4f958b0803..0db6e5fc7165 100644 --- a/pkgs/by-name/cc/ccextractor/package.nix +++ b/pkgs/by-name/cc/ccextractor/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, writeTextFile, pkg-config, @@ -43,6 +44,11 @@ stdenv.mkDerivation (finalAttrs: { ./remove-default-commit-hash.patch ./remove-vendored-libraries.patch ./fix-avcodec-close.patch + (fetchpatch { + name = "CVE-2026-2245.patch"; + url = "https://github.com/CCExtractor/ccextractor/commit/fd7271bae238ccb3ae8a71304ea64f0886324925.patch"; + hash = "sha256-wZiJob5v4SVa5YBmiHuNvgphSi4PhTTb3hg4vs1lhVg="; + }) ] ++ finalAttrs.cargoDeps.vendorStaging.patches;