LiveActive security incident?Get immediate response
CVE Record

CVE-2021-41581: x509_constraints_parse_mailbox in lib/libcrypto/x509/x509_constraints.c in LibreSSL through 3.4.0 has a sta...

x509_constraints_parse_mailbox in lib/libcrypto/x509/x509_constraints.c in LibreSSL through 3.4.0 has a stack-based buffer over-read. When the input exceeds DOMAIN_PART_MAX_LEN, the buffer lacks '\0' termination.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-41581 is a LibreSSL certificate-processing flaw. Certain long mailbox domain inputs in X.509 constraints can cause a stack-based buffer over-read. Business urgency depends on where LibreSSL through 3.4.0 is used and whether those systems process untrusted certificates.

Executive priority

Treat this as an inventory and dependency hygiene priority until vendor guidance confirms exposure and fix status. Escalate if LibreSSL through 3.4.0 is used on internet-facing or high-trust systems that process external certificates.

Technical view

The issue is in x509_constraints_parse_mailbox in LibreSSL libcrypto x509_constraints.c through 3.4.0. When input exceeds DOMAIN_PART_MAX_LEN, the buffer may lack NUL termination, causing a stack-based buffer over-read during X.509 constraint parsing.

Likely exposure

Exposure is most likely in applications, appliances, or operating-system packages using LibreSSL through 3.4.0, especially where certificate chains from external parties are parsed. The source bundle does not provide CPEs or product-specific affected lists.

Exploitation context

The source bundle does not show active exploitation. KEV is false, and no cited source states exploitation in the wild. Public disclosure is supported by the CVE record and linked LibreSSL/OpenBSD issue.

Researcher notes

Evidence is narrow but technically specific: stack-based over-read from missing NUL termination after oversized mailbox domain input. The bundle lacks CVSS, CWE, CPEs, affected product enumeration, and explicit fixed-version data, so avoid over-scoping impact.

Mitigation direction

  • Inventory LibreSSL versions across servers, applications, appliances, containers, and statically linked software.
  • Check LibreSSL, OpenBSD, and distribution vendor guidance for patched or fixed packages.
  • Prioritize systems that parse untrusted or externally supplied X.509 certificates.
  • Update affected dependencies according to vendor or distribution guidance.
  • Monitor vendor advisories because the bundle does not name a specific fixed version.

Validation and detection

  • Confirm whether LibreSSL through 3.4.0 is present in runtime packages or bundled dependencies.
  • Review SBOMs and build manifests for statically linked LibreSSL copies.
  • Identify services that perform certificate validation against external peers or uploaded certificates.
  • Check vendor advisories for remediation status before declaring systems fixed.
  • Look for unexplained certificate-parsing crashes, while avoiding assumptions of exploitation.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-41581 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.