Skip to content

Commit 02b4c89

Browse files
committed
deps: Pin Microsoft.Bcl.Memory 10.0.5 to fix CVE-2026-26127
System.Memory 4.6.3 transitively depends on Microsoft.Bcl.Memory 9.0.0 which has a high-severity DoS vulnerability (GHSA-73j8-2gch-69rq). Add an explicit PackageReference to the patched version for netstandard targets where System.Memory is used.
1 parent adf6b4a commit 02b4c89

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<!-- Polyfills for older frameworks -->
77
<PackageVersion Include="PublicApiGenerator" Version="11.5.4" />
88
<PackageVersion Include="System.Memory" Version="4.6.3" />
9+
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.5" />
910
<PackageVersion Include="Microsoft.Bcl.HashCode" Version="6.0.0" />
1011
<PackageVersion Include="IndexRange" Version="1.1.0" />
1112
<PackageVersion Include="Nullable" Version="1.3.1" />

src/TagLibSharp2/TagLibSharp2.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<!-- Polyfills for older frameworks -->
3535
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netstandard2.1'">
3636
<PackageReference Include="System.Memory" />
37+
<PackageReference Include="Microsoft.Bcl.Memory" />
3738
<PackageReference Include="Microsoft.Bcl.HashCode" />
3839
</ItemGroup>
3940

0 commit comments

Comments
 (0)