{"id":"CVE-2021-41581","aliases":["CVE-2021-41581"],"related":[],"kind":"vulnerability","state":"published","title":"x509constraintsparsemailbox in lib/libcrypto/x509/x509constraints.c in LibreSSL through 3.4.0 has a stack-based buffer over-read.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La función x509_constraints_parse_mailbox en el archivo lib/libcrypto/x509/x509_constraints.c en LibreSSL versiones hasta 3.4.0, presenta una lectura excesiva del búfer en la región stack de la memoria. Cuando la entrada excede DOMAIN_PART_MAX_LEN, el búfer carece de terminación \"\\0\".","source":"nvd"}],"published":"2021-09-24T02:12:33.000Z","modified":"2026-06-17T04:08:40.973Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"3.4.0"}],"vendor":"openbsd","product":"libressl","cpe":"cpe:2.3:a:openbsd:libressl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libressl-portable/openbsd/issues/126","tags":["exploit","issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41581","url":"https://www.cve.org/CVERecord?id=CVE-2021-41581","licence":"CVE Terms of Use","modified":"2024-08-04T03:15:29.047Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41581","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41581","licence":"Public domain","modified":"2026-06-17T04:08:40.973Z"}],"updatedAt":"2026-11-25T22:58:04.147Z","epss":{"score":0.00588,"percentile":0.49455,"date":"2026-12-01T12:00:22.000Z"}}