MimeKit vulnerabilities

MimeKit is an Open Source library for creating and parsing MIME, S/MIME and PGP messages on desktop and mobile platforms. It also supports parsing of Unix mbox files. As of v5.0, MimeKit is a meta-package that references both MimeKit.Core (MIME creation and parsing) and MimeKit.Cryptography (OpenPGP, S/MIME, DKIM, ARC and DMARC support). This preserves backwards compatibility for consumers that expect cryptography support out of the box. If you do not need cryptography, reference MimeKit.Core directly instead. API documentation can be found on the web at http://www.mimekit.net/docs For those that need SMTP, POP3 or IMAP support, check out https://github.com/jstedfast/MailKit

Registry
NuGet
Latest
5.0.0
License
MIT

2 known advisories

The latest version, 5.0.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:dotnet add package MimeKit --version 5.0.0

Is your project on an affected MimeKit?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for MimeKit

  • MediumCVE-2026-30227GHSA-g7hc-96xr-gvvx5 Mar 2026

    MimeKit has CRLF Injection in Quoted Local-Part that Enables SMTP Command Injection and Email Forgery

    Affected
    <4.15.1
    Fixed in
    4.15.1
  • HighGHSA-gmc6-fwg3-75m511 Jul 2024

    Mimekit has vulnerable dependency that can lead to denial of service

    Affected
    >=3.0.0 <4.7.1
    Fixed in
    4.7.1

Is your MimeKit version vulnerable?

Which of your client projects still run an old MimeKit?

NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other NuGet packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.