diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 9641fa728a98..06449d8ff1c5 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -123,6 +123,15 @@ core = stdenv.mkDerivation rec { inherit (common) binToOutput src prePatch; + patches = [ + (fetchpatch { + name = "ttfdump-CVE-2024-25262.patch"; + url = "https://tug.org/svn/texlive/trunk/Build/source/texk/ttfdump/libttf/hdmx.c?r1=57915&r2=69520&view=patch"; + stripLen = 2; + hash = "sha256-WH2kioqFAs3jaFmu4DdEUdrTf6eiymtiWTZi3vWwU7k="; + }) + ]; + outputs = [ "out" "dev" "man" "info" ] ++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) corePackages);