From 97caf07e99994d421e96ef9a5f2335b243fa3bcf Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Thu, 17 Sep 2026 20:47:32 -0700 Subject: [PATCH] policycoreutils: fix CVE-2026-19079 --- pkgs/by-name/po/policycoreutils/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/po/policycoreutils/package.nix b/pkgs/by-name/po/policycoreutils/package.nix index 89a2e30e324c..092b0183bac7 100644 --- a/pkgs/by-name/po/policycoreutils/package.nix +++ b/pkgs/by-name/po/policycoreutils/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchpatch, gettext, libsepol, libselinux, @@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-BU5B7AOXMaXua3l6jguNbjRu4dCpusLyUttIwj+aixs="; }; + patches = [ + # https://nvd.nist.gov/vuln/detail/CVE-2026-19079 + (fetchpatch { + name = "CVE-2026-19079.patch"; + url = "https://github.com/SELinuxProject/selinux/commit/a556538c2d5d2583273e025b45c02651fef47679.patch"; + stripLen = 1; + hash = "sha256-na/4xfW1R5VwvwHTUHXSs23pOD8Z/ClbBET+oxJe+uA="; + }) + ]; + postPatch = '' # Fix install references substituteInPlace po/Makefile \