Email::Address::XS Perl Module Flaw CVE-2026-120362 Can Add Unintended Mail Recipients; Fixed in 1.06
According to oss-security, CVE-2026-120362 affects Email::Address::XS before version 1.06 and can make extra recipient addresses appear in formatted output when an attacker controls a display name. Version 1.06 is the fixed release.
WebEmailVulnerabilitiesKey points
- CVE-2026-120362 affects Email::Address::XS versions before 1.06, per the CPAN Security Group attribution.
- Crafted display or group names containing "=?" can be output as address-list syntax, adding recipients.
- Exposure depends on attacker control of display names passed to format_email_addresses or format.
- Fixed in Email-Address-XS 1.06; no severity score or in-the-wild exploitation data given.
The oss-security list reported CVE-2026-120362, a weakness in the Perl module Email::Address::XS, for versions before 1.06. The disclosure was attributed to the CPAN Security Group, and the issue is classified under CWE-116, improper encoding or escaping of output.
According to the advisory, the module's output logic mistakes any display name or group name containing the characters "=?" for an RFC 2047 encoded word, then writes it out without quoting or escaping. A specially built name can therefore be rendered as address-list syntax, which the advisory says can cause additional recipient addresses to show up in the formatted result.
The advisory says the risk applies when an attacker can control a display name passed to the format_email_addresses or format functions. The vendor-independent remedy is to upgrade to Email-Address-XS 1.06 or later. The source code is hosted on GitHub under the pali account, and the advisory links the 1.06 changes file and a diff against version 1.05 on MetaCPAN.
The report does not provide a severity score and does not say whether exploitation has been observed in the wild. Read the original oss-security post for the full advisory.
What to do
- Upgrade Email-Address-XS to version 1.06 or later.
- Identify code that passes display or group names to format_email_addresses or format, and check whether any of that input can come from untrusted users.
- Consult the 1.06 changes file and the 1.05-to-1.06 diff on MetaCPAN linked in the advisory.
Original report
“CVE-2026-120362: Email::Address::XS versions before 1.06 for Perl allow injection of extra addresses when formatting a display name that contains "=?"”
Posted by Robert Rothenberg on Nov 29 ======================================================================== CVE-2026-120362 CPAN Security Group ======================================================================== CVE ID: CVE-2026-120362 Distribution: Email-Address-XS Versions: before 1.06 MetaCPAN: https://metacpan.org/dist/Email-Address-XS VCS Repo: ...
Vulnerabilities mentioned
- Forgejo Email Verification Flaw Enables Account Takeover Vulnerability
- Security Affairs Roundup: Critical Drupal Flaw, NFS2ROOT, and a Wave of New Breaches
- SumUp Payment Gateway For WooCommerce Vulnerable to Insecure Direct Object Reference
- ZarinPal WooCommerce Plugin Vulnerable to Insecure Direct Object Reference
- Hide My WP Ghost Plugin Vulnerable to Stored XSS via Comment Parameter