External risk intelligence

Perl Email Address XS Display Name Injection Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.8)

CVE-2026-120362

The vulnerability exists in a Perl library used for processing and formatting email addresses. While it can be reached if an application processes user-supplied input to generate email headers, libraries are often used in internal backend processing or non-public-facing scripts. Public internet exposure depends entirely on how a specific application implements this library, making internet reachability possible but not inherent.

Halo Surface Signal: 3 out of 5 — possibly public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability affects Perl's Email::Address::XS library, which handles formatting email addresses. If an attacker can control an email's display name, they may be able to inject additional recipients into outgoing emails. The main concern is confirming relevance and exposure, as the impact depends on how this library is used within our systems.

  • Attackers can add recipients to emails.
  • Prevents unauthorized recipient additions.
  • Assess if our email systems use this library.

Attack Path

How an attacker could exploit the issue

An attacker could inject unintended recipients into an email's address list by controlling a display name that is later formatted. This occurs because the software incorrectly interprets certain characters within the display name as part of an encoded email address, leading to the addition of arbitrary recipients to the outgoing email.

  • No authentication required.
  • Malicious display name triggers injection.
  • Unauthorized recipient addition risk.

Live Threat

Current exploitation, exposure, and threat context

When processing display names containing "=?," this vulnerability could allow an attacker to inject extra email addresses into formatted address lists. This occurs because the formatter treats such names as encoded words and does not properly quote or escape them, potentially leading to unintended recipients being added when an application formats email addresses or group names.

  • Email address lists could be altered.
  • Injection via crafted display names.
  • Unintended recipients added to emails.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts the Email::Address::XS Perl module, likely used in applications that format email addresses or display names. Infrastructure or platform teams managing Perl environments, along with application owners who integrate this module, should lead the response. The first practical step is to identify all instances of the affected module, determine their reachability and business criticality, and then confirm the specific application owner before planning remediation.

  • Identify affected applications and owners.
  • Verify reachability and business impact.
  • Coordinate remediation with application owners.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Email::Address::XS?

Email::Address::XS is a Perl module specifically designed for parsing and formatting email addresses. Developers often use it in backend scripts or web applications to ensure email headers are generated correctly according to technical standards, such as creating consistent display names and address lists for automated notifications or mailing systems.

What is the vulnerability in CVE-2026-120362?

This vulnerability is an instance of Improper Encoding or Escaping of Output, classified as CWE-116. The software fails to properly handle certain characters when formatting email display names. If a display name includes the sequence "=?", the library incorrectly treats it as encoded text, allowing an attacker to escape the intended field and inject unauthorized email addresses into the output.

How does an attacker trigger this injection?

An attacker triggers the issue by providing a specially crafted string containing the "=?" sequence within a display name field that the application then processes. It is important to note that the vulnerability is not triggered if the application only processes static, trusted data; it requires the library to format input that is either directly or indirectly influenced by an untrusted source.

Is my system at risk for CVE-2026-120362?

According to Halo Surface Signal, risk depends on how your specific application uses the library, as it is often embedded in internal processing rather than directly exposed to the internet. While public-facing applications that format user-provided display names are potential targets, internal-only scripts or services that do not process untrusted input may have a much lower probability of being reached.

How do I respond to this threat advisory?

The first step is to conduct an audit of your software environments to identify applications that rely on the Email::Address::XS module. Once you have a list of dependent systems, coordinate with the respective application owners to assess whether they handle user-supplied display names and determine the potential impact on your email formatting workflows before planning updates.

References