← All advisories

QSC-LIB-0203 · CWE-1104

.NET target framework older than .NET 10 (no ML-KEM / ML-DSA)

Severity: MediumReadiness: Upgrade requiredQuantum threat: Shor

Summary

.NET 10 adds MLKem, MLDsa and SlhDsa. Older frameworks need Bouncy Castle (BouncyCastle.Cryptography) for PQC.

Why it matters

No native PQC path until the framework moves.

How to fix

Target net10.0 (LTS), or use BouncyCastle.Cryptography meanwhile.

  1. Update <TargetFramework> to net10.0.
  2. On Linux, make sure OpenSSL 3.5+ is present for the native PQC APIs.

Code samples

Illustrative: confirm against your runtime’s documentation before shipping.

csproj
<TargetFramework>net10.0</TargetFramework>

References