From 2644cb43e68c0ac5c8a6c783f14eb89148494d22 Mon Sep 17 00:00:00 2001
From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
Date: Fri, 13 Mar 2026 11:24:47 +0000
Subject: [PATCH] .NET: Update system package dependencies for CVE-2026-26127
Update NuGet package dependencies to address CVE-2026-26127 (DoS via
out of bounds read in Base64Url decoding).
Package updates in Directory.Packages.props:
- Microsoft.Bcl.Memory: 10.0.2 -> 10.0.4
- Microsoft.Bcl.AsyncInterfaces: 10.0.3 -> 10.0.4
- System.Linq.AsyncEnumerable: 10.0.2 -> 10.0.4
Add direct PackageReference to Microsoft.Bcl.Memory in projects that
transitively pulled in the vulnerable 9.0.4 version via
Microsoft.ML.Tokenizers.Data.Cl100kBase:
- SemanticKernel.UnitTests
- IntegrationTests
- Concepts (sample)
---
dotnet/Directory.Packages.props | 6 +++---
dotnet/samples/Concepts/Concepts.csproj | 1 +
dotnet/src/IntegrationTests/IntegrationTests.csproj | 1 +
.../SemanticKernel.UnitTests.csproj | 1 +
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props
index 33bb59c555e2..a1ea94b0d414 100644
--- a/dotnet/Directory.Packages.props
+++ b/dotnet/Directory.Packages.props
@@ -65,9 +65,9 @@
-
+
-
+
@@ -106,7 +106,7 @@
-
+
diff --git a/dotnet/samples/Concepts/Concepts.csproj b/dotnet/samples/Concepts/Concepts.csproj
index a05acc85f0d9..2aa832dc868c 100644
--- a/dotnet/samples/Concepts/Concepts.csproj
+++ b/dotnet/samples/Concepts/Concepts.csproj
@@ -18,6 +18,7 @@
+
diff --git a/dotnet/src/IntegrationTests/IntegrationTests.csproj b/dotnet/src/IntegrationTests/IntegrationTests.csproj
index ec65cb12f288..575a75a0f28a 100644
--- a/dotnet/src/IntegrationTests/IntegrationTests.csproj
+++ b/dotnet/src/IntegrationTests/IntegrationTests.csproj
@@ -30,6 +30,7 @@
+
diff --git a/dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj b/dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj
index 2cf7b81861f7..f3e9dff4ab9c 100644
--- a/dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj
+++ b/dotnet/src/SemanticKernel.UnitTests/SemanticKernel.UnitTests.csproj
@@ -10,6 +10,7 @@
+