CVE-2026-42771

Possible Out of Bounds Read in X509_VERIFY_PARAM_set1_email()

Published Jun 9, 2026 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
Description
Issue summary: When the X509_VERIFY_PARAM_set1_email is called by an
application to validate a crafted e-mail address, such as during S/MIME
message validation, an out of bounds read can happen.

Impact summary: This out of bounds read will not directly exfiltrate
the data read to the attacker so the most likely result is a crash and
a Denial of Service.

An internal helper function called from X509_VERIFY_PARAM_[set|add]_email()
used a wrong length when validating the local part of an email address.
This could cause the 64 octet limit on the local part of an email address
to be not enforced, or cause an out of bound read and potentially a crash.

The bug is reachable via S-MIME validation with a crafted From: address
supplied in an email message that can potentially cause a crash.

No FIPS modules are affected by this issue as the affected code is outside
the OpenSSL FIPS module boundary.

Analysis

AI-generated

Technical impact

An out‑of‑bounds read occurs in the OpenSSL function X509_VERIFY_PARAM_set1_email when validating the local part of an email address. The bug allows an attacker to supply a specially crafted From: header that bypasses the 64‑octet limit or reads past the buffer. Because the data read is not exposed, the primary consequence is a crash, resulting in a denial of service for any application performing S/MIME validation.

Affected Systems

The vulnerability affects installations of OpenSSL OpenSSL 4.0.0 that use X509_VERIFY_PARAM_set1_email during S/MIME or X.509 email address validation. Systems running this version without the patch are potentially vulnerable.

Risk and Exploitability

The EPSS score is < 1% and the issue is not listed in CISA KEV, indicating no known active exploitation. The CVSS score is 6.2, indicating medium severity; the risk is moderate for denial of service. The likely attack vector is network‑based, where an attacker sends a crafted email to a service performing S/MIME validation, causing a crash. Because no data is exfiltrated, the threat is limited to service interruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest OpenSSL release that contains the fix from the referenced commit (https://github.com/openssl/openssl/commit/6cd187689f8180c1f8a3acde21f88190c4a20de7).
  • If an immediate patch is unavailable, disable or remove X.509 email address validation in S/MIME processing to avoid triggering the bug.
  • Monitor application logs for unexpected crashes and, where possible, enable runtime protections such as ASLR and stack canaries to reduce impact.
  • Validate input handling for the local part of email addresses to prevent out‑of‑bounds reads (CWE‑125 and CWE‑805).

Generated by OpenCVE AI on July 30, 2026 at 00:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.2, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openssl
Openssl openssl
Vendors & Products Openssl
Openssl openssl
Type Values Removed Values Added
Description Issue summary: When the X509_VERIFY_PARAM_set1_email is called by an application to validate a crafted e-mail address, such as during S/MIME message validation, an out of bounds read can happen. Impact summary: This out of bounds read will not directly exfiltrate the data read to the attacker so the most likely result is a crash and a Denial of Service. An internal helper function called from X509_VERIFY_PARAM_[set|add]_email() used a wrong length when validating the local part of an email address. This could cause the 64 octet limit on the local part of an email address to be not enforced, or cause an out of bound read and potentially a crash. The bug is reachable via S-MIME validation with a crafted From: address supplied in an email message that can potentially cause a crash. No FIPS modules are affected by this issue as the affected code is outside the OpenSSL FIPS module boundary.
Title Possible Out of Bounds Read in X509_VERIFY_PARAM_set1_email()
Weaknesses CWE-125
References
Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-805

    Buffer Access with Incorrect Length Value

Sources

Status
PUBLISHED
Assigner
openssl
Published
Updated
Jun 10, 2026, 7:48 AM
Reserved
Apr 29, 2026, 9:22 AM
Status
Analyzed
Published
Jun 9, 2026, 5:17 PM
Modified
Jul 23, 2026, 8:10 AM
Severity
Low
Public date
Jul 10, 2026, 12:00 AM