CVE-2021-41581: LibreSSL - Buffer Overflow
- Cve: CVE-2021-41581
- Name: LibreSSL - Buffer Overflow
- Description: 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.
- Impact: Potential buffer over-read may lead to information disclosure or application crash.
- Remediation: Update to a version later than 3.4.0.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00588
- Epss percentile: 0.49009
- Assignee: [email protected]
- Published at: 2021-09-24T03:15:06Z
- Age in days: 1887
- Modified at: 2026-06-17T04:08:40Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41581
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/libressl-portable/openbsd/issues/126 | nvd | 2021-09-24 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/libressl-portable/openbsd/issues/126 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openbsd:libressl | <= 3.4.0 | no | nvd | /v1/products/openbsd/libressl |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libressl-portable/openbsd | issues | yes | /v1/repositories/libressl-portable/openbsd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-09-24
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts