Out-of-bounds Read Affecting openbsd/src package, versions [,6.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENBSDSRC-10757954
  • published16 Jul 2025
  • disclosed24 Sept 2021
  • creditUnknown

Introduced: 24 Sep 2021

CVE-2021-41581  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade openbsd/src to version 6.9 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read 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.

CVSS Base Scores

version 3.1