From 72fd186ec80e5647688ea4f7430d0753d77dcd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Wed, 1 Jul 2026 17:32:08 +0200 Subject: [PATCH] libxml2_13: fix CVE-2026-11979 --- pkgs/development/libraries/libxml2/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix index 015688e4474b..af86f01f877d 100644 --- a/pkgs/development/libraries/libxml2/default.nix +++ b/pkgs/development/libraries/libxml2/default.nix @@ -37,6 +37,13 @@ let # Based on https://gitlab.gnome.org/GNOME/libxml2/-/commit/19549c61590c1873468c53e0026a2fbffae428ef.patch # There are only whitespace differences from upstream. ./2.13-CVE-2026-0989.patch + + (fetchpatch { + name = "CVE-2026-11979.patch"; + url = "https://gitlab.gnome.org/GNOME/libxml2/-/commit/c2e233fc1b341685fc99621b2768b503f777a72e.patch"; + hash = "sha256-DcPZl6rOuP6aycK+1EHUgPX4YWDAH+ctAZtOI48QO2Q="; + excludes = [ "test/catalogs/test.sh" ]; + }) ]; freezeUpdateScript = true; extraMeta = {