CVE-2024-24784: Go Standard Library Net/mail

High severity, CVSS 7.5. EPSS: 1.2% probability of exploitation activity in the next 30 days.

The ParseAddressList function incorrectly handles comments (text within parentheses) within display names. Since this is a misalignment with conforming address parsers, it can result in different trust decisions being made by programs using different parsers.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Go Standard Library Net/mail, before 1.21.8: fixed in 1.21.8
  • Go Standard Library Net/mail, from 1.22.0-0, before 1.22.1: fixed in 1.22.1
  • Go Standard Library Net\/mail, before 1.21.8: fixed in 1.21.8
  • Go Standard Library Net\/mail, from 1.22.0-0, before 1.22.1: fixed in 1.22.1

Affected products

Affected packages

Published 2024-03-05. Last modified 2026-06-17.