Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Email

CVE-2026-120362

Not yet scored First seen November 30, 2026
EmailVulnerabilitiesWeb

Research article

Email::Address::XS for Perl (CVE-2026-120362): crafted display names can inject extra recipients into formatted addresses

CVECVE-2026-120362
PublishedNovember 30, 2026 01:05 UTC
Research cut-offNovember 30, 2026 01:00 UTC
Sources reviewed2: CISA KEV catalog; vendor advisory page (seclists.org)

Executive summary

CVE-2026-120362 affects the Email-Address-XS distribution, which provides the Email::Address::XS module for Perl, and is attributed to the CPAN Security Group [2]. The advisory classifies the flaw as CWE-116, improper encoding or escaping of output, and gives no CVSS score or vector, so the reviewed sources provide no severity rating [2]. Versions earlier than 1.06 are affected, and 1.06 or later is the remediation target [2]. Exploitation requires an attacker to control the display name passed to the format_email_addresses or format functions, and a crafted name can cause extra addresses to appear in the formatted output [2]. CISA KEV did not list the CVE as of 2026-11-30, but that absence does not show the flaw went unexploited [1]. The advisory states no exploitation status and cites no proof of concept, so exploitation in the wild is unknown [2]. The most important immediate action is to upgrade Email::Address::XS to 1.06 or later and verify the installed version, while filtering untrusted display names from those functions until the upgrade is complete [2].

Key points

  • CVE-2026-120362 affects Email::Address::XS for Perl in versions earlier than 1.06, and 1.06 or later is the remediation target [2].
  • A display or group name containing an equals sign followed by a question mark is output without quoting or escaping, so a crafted name can add addresses to formatted output [2].
  • The advisory classifies the flaw as CWE-116 and gives no CVSS score or vector in the reviewed sources [2].
  • CISA KEV did not list the CVE as of 2026-11-30, and the advisory states no exploitation status or proof of concept [1, 2].
  • Immediate action: upgrade to 1.06 or later and verify the installed version. Until then, filter untrusted names passed to format_email_addresses and format (Analyst assessment) [2].

Vulnerability identification

FieldValue
CVE IDCVE-2026-120362 [2]
Advisory publisherCPAN Security Group [2]
ProductEmail-Address-XS distribution, module Email::Address::XS, for Perl [2]
WeaknessCWE-116, improper encoding or escaping of output, as classified in the advisory [2]
CVSSNot given in the advisory [2]; no NVD record in the pack
Publication and last-modified datesNot stated [2]; no NVD record in the pack
CISA KEV statusNot listed as of 2026-11-30 [1]

The reviewed copy of the advisory is a mailing-list post, and no project-hosted advisory or NVD record is in the pack. The version data and the CWE value therefore rest on this single source [2].

Vulnerability description

The flaw is in how the Perl module formats address lists. When a display name or group name contains an equals sign followed by a question mark, the formatter treats the value as an encoded-word construct, a mail-header encoding form, and writes it out without quoting or escaping [2]. The downstream address list then reads the crafted text as address syntax, so a crafted name can make additional addresses appear in the output [2]. The security property affected is the integrity of the address list the module produces. The advisory describes no confidentiality or availability effect [2].

Technical mechanics

Root cause (Confirmed by the advisory): the formatter does not separate a plain display name containing the equals-question pair from a genuine encoded word, and it skips the quoting and escaping that the output needs. The CWE-116 classification fits this missing escaping step [2]. The sequence below is an Analyst assessment of how this becomes extra recipients:

  1. The application passes a display name to format_email_addresses or format [2].
  2. The formatter finds the equals-question pair and treats the name as an encoded word [2].
  3. The name is emitted unquoted and unescaped, so its punctuation is not neutralised [2].
  4. A consumer that parses the result as address-list syntax reads the injected text as separate addresses. The advisory describes this rendering, but the downstream parsing step is an Analyst assessment [2].

Attack surface and exploitation prerequisites

FactorEvidence status
Access pathThe attacker must be able to supply the display name passed to format_email_addresses or format [2]
Network, adjacent, local or physical accessNot stated [2]
Authentication and privilege levelNot stated [2]
User interactionNot stated [2]
Required configurationThe application passes untrusted display names to those functions. This is the advisory's stated prerequisite, not verified in any deployment [2]
Reachable functionsOnly format_email_addresses and format are named [2]

Affected products and versions

Vendor or projectProductAffected versionsFixed versionSource and qualification
CPAN Security GroupEmail::Address::XS (Email-Address-XS distribution), PerlEarlier than 1.06; lower bound not stated [2]1.06 or later [2]Mailing-list copy of the advisory. No NVD or project record in the pack confirms the range [2]

The advisory names no known exclusions or configuration-specific exceptions [2].

Exploitation and threat intelligence status

Exploitation in the wild is Unknown. CISA KEV did not list CVE-2026-120362 as of 2026-11-30, but KEV absence is not evidence that the flaw has not been exploited [1]. The advisory gives no exploitation status and cites no proof of concept [2]. The pack contains no threat actor, campaign or sector attribution. The only supported classification is theoretical exploitability, based on the advisory's description of the prerequisite [2].

Remediation

Immediate mitigation: the advisory provides no workaround or configuration step other than upgrading [2]. The following is an Analyst assessment that follows from the documented prerequisite. Until the upgrade is deployed, stop untrusted display or group names reaching format_email_addresses and format, or reject names containing the equals-question pair before formatting. Verify the control by passing a benign test name containing that pair in a non-production environment and confirming that only the intended address appears in the output. This filter is not vendor-tested and may miss other paths into those functions.

Permanent fix (vendor-supported): upgrade Email::Address::XS to 1.06 or later [2]. Review the 1.06 changes file and the diff against 1.05 referenced by the advisory to confirm the scope of the change [2]. Verify the installed version with the standard Perl command perl -MEmail::Address::XS -e 'print $Email::Address::XS::VERSION', run in the same environment as the application. A result of 1.06 or higher indicates the fixed version. A result below 1.06 means the module is still affected [2]. A version check does not prove exploitability, and it does not confirm that the application's formatting paths are safe. The pack does not state whether a restart is needed. Processes that loaded the old module keep it in memory until they restart (Analyst assessment).

Remediation checklist

  1. Inventory every Perl application or host that loads Email::Address::XS. On each, run perl -MEmail::Address::XS -e 'print $Email::Address::XS::VERSION' in the application's runtime environment and record any result below 1.06 as affected [2].
  2. Upgrade Email::Address::XS to 1.06 or later using the standard Perl module tooling in use at your site, then rerun the version check and confirm the result is 1.06 or higher [2].
  3. Identify every code path that calls format_email_addresses or format with a display name or group name that originates from users, external systems or imported data [2].
  4. Until the upgrade is deployed, reject or sanitise display and group names that contain an equals sign followed by a question mark before they reach those functions (Analyst assessment, not a vendor-supplied control) [2].
  5. Verify the mitigation in a non-production environment by formatting a benign test name containing that character pair and confirming the output contains only the intended address (Analyst assessment) [2].
  6. Restart long-running processes, workers and daemons that loaded the older module after the upgrade, because the pack does not state a restart requirement and loaded modules persist until restart (Analyst assessment).
  7. Review the 1.06 changes file and the diff against 1.05 referenced by the advisory to confirm the scope of the fix before closing the change [2].
  8. Where outbound messages are built from formatted address lists, review recent output for recipient lists that contain more addresses than the application intended. The pack gives no indicators or log fields, so this is a generic check rather than a validated detection (Analyst assessment) [2].

Evidence gaps

  • Not established by the reviewed sources: an NVD record, CVSS score, vector, scoring version and scorer. Retrieve the NVD record for CVE-2026-120362 to settle this.
  • Not established by the reviewed sources: publication and last-modified dates. The advisory's date is not stated. The CVE record or the original advisory date would settle this.
  • Not established by the reviewed sources: the lower bound of the affected version range. The advisory states only versions earlier than 1.06. The affected-version list in the CPAN release history or the project changelog would settle this.
  • Not established by the reviewed sources: a project-hosted or CPAN Security Group advisory. Only a mailing-list copy is in the pack. The original advisory on the project's release or security pages would confirm the version data.
  • Not established by the reviewed sources: whether other functions besides format_email_addresses and format are affected. A code review of the 1.06 diff against 1.05 would settle this.
  • Not established by the reviewed sources: attacker position, authentication requirement, privilege level and user interaction. The advisory does not state them, so they cannot be inferred from the description alone.
  • Not established by the reviewed sources: exploitation in the wild, public proof-of-concept code and threat actor attribution. Vendor or threat intelligence reporting would settle this.
  • Not established by the reviewed sources: indicators of compromise, log events or network patterns. The advisory provides none. Incident data from affected organisations or detailed analysis of the fix would be needed.
  • Not established by the reviewed sources: the full root cause beyond the advisory's explanation, and the exact code change that fixes it. The 1.06 diff, reviewed directly, would settle this.

References

  1. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-30. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-30. CISA KEV status: CVE-2026-120362 was not listed in the catalog as of 2026-11-30, and this absence does not show that the flaw has not been exploited.
  2. Vendor bulletin page (seclists.org). seclists.org. https://seclists.org/oss-sec/2026/q4/924. Accessed 2026-11-30. Advisory facts: publisher and product, affected versions earlier than 1.06, fixed version 1.06 or later, CWE-116 classification, the equals-question display-name mechanism, the affected functions, the prerequisite that an attacker supplies the display name, the absence of CVSS, exploitation status,

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

Email::Address::XS versions before 1.06 for Perl allow injection of extra addresses when formatting a display name that contains "=?". The formatter treats any display name or group name containing "=?" as an RFC 2047 encoded word and writes it without quoting or escaping. A name such as "=? , x" is emitted as address-list syntax. An attacker who controls a display name passed to format_email_addresses or format can add recipients to the formatted address list.

Description: NIST National Vulnerability Database (public domain)

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

References by type

Other references

Details from NVD (public domain).

Frequently asked questions

What is CVE-2026-120362?

CVE-2026-120362 affects the Email-Address-XS distribution, which provides the Email::Address::XS module for Perl, and is attributed to the CPAN Security Group. The advisory classifies the flaw as CWE-116, improper encoding or escaping of output, and gives no CVSS score or vector, so the reviewed sources provide no severity rating. Versions earlier than 1.06 are affected, and 1.06 or later is the remediation target. Weakness type: Improper Encoding or Escaping of Output (CWE-116).

How severe is CVE-2026-120362?

CVE-2026-120362 has not been given a CVSS score yet.

Is CVE-2026-120362 being exploited?

Not as far as is known: CVE-2026-120362 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026.

How do I fix CVE-2026-120362?

Inventory every Perl application or host that loads Email::Address::XS. On each, run perl -MEmail::Address::XS -e 'print $Email::Address::XS::VERSION' in the application's runtime environment and record any result below 1.06 as affected. Upgrade Email::Address::XS to 1.06 or later using the standard Perl module tooling in use at your site, then rerun the version check and confirm the result is 1.06 or higher. Identify every code path that calls formatemailaddresses or format with a display name or group name that originates from users, external systems or imported data.

Timeline & sources

References

Related vulnerabilities & news