Github.com/supranational/blst: blst cryptographic library: denial of service via out-of-bounds stack write in key generation
A flaw was found in the blst cryptographic library. This out-of-bounds stack write vulnerability, specifically in the blst_sha256_bcopy assembly routine, occurs due to a missing zero-length guard. A remote attacker can exploit this by providing a zero-length salt parameter to key generation functions, such as blst_keygen_v5(), if the application exposes this functionality. Successful exploitation leads to memory corruption and immediate process termination, resulting in a denial-of-service (DoS) condition.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2681
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 16:01 UTC · Revision 1
Source evidence
Github.com/supranational/blst: blst cryptographic library: denial of service via out-of-bounds stack write in key generation
core-osv · Original sourcePublished 19 Feb 2026, 06:58 UTC
A flaw was found in the blst cryptographic library. This out-of-bounds stack write vulnerability, specifically in the blst_sha256_bcopy assembly routine, occurs due to a missing zero-length guard. A remote attacker can exploit this by providing a zero-length salt parameter to key generation functions, such as blst_keygen_v5(), if the application exposes this functionality. Successful exploitation leads to memory corruption and immediate process termination, resulting in a denial-of-service (DoS) condition.
osv:CVE-2026-2681
Complete source record
{
"id": "f787ae1d75afd5aa1ddbd86c73501d235bdc5bffb3af86f61afbf5cb87ea2ada",
"url": "https://osv.dev/vulnerability/CVE-2026-2681",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Github.com/supranational/blst: blst cryptographic library: denial of service via out-of-bounds stack write in key generation",
"summary": "A flaw was found in the blst cryptographic library. This out-of-bounds stack write vulnerability, specifically in the blst_sha256_bcopy assembly routine, occurs due to a missing zero-length guard. A remote attacker can exploit this by providing a zero-length salt parameter to key generation functions, such as blst_keygen_v5(), if the application exposes this functionality. Successful exploitation leads to memory corruption and immediate process termination, resulting in a denial-of-service (DoS) condition.",
"evidence": "osv:CVE-2026-2681",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-2681",
"aliases": [
"CVE-2026-2681"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/supranational/blst",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "e7f90de551e8df682f3cc99067d204d8b90d27ad"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"v0.3.16",
"v0.3.15",
"v0.3.14",
"v0.3.13",
"v0.3.12",
"v0.3.11",
"v0.3.10",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.2-alpha.1",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2681.json"
}
}
],
"modified": "2026-10-28T02:30:51.328763456Z",
"provider": "osv",
"references": [
"https://access.redhat.com/security/cve/CVE-2026-2681",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2681.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2681",
"https://bugzilla.redhat.com/show_bug.cgi?id=2440580",
"https://github.com/supranational/blst"
],
"provider_metadata": {
"cwe_ids": [
"CWE-787"
],
"cna_assigner": "fedora",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2681.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2681",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519821,
"published_at": "2026-02-19T06:58:47.09+00:00"
}