Out-of-bounds WriteWeakness · CWE-787

CVE-2026-2681

MEDIUM · 5.3 CVSS v3.1 Published 2026-02-19
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
62/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

The blst cryptographic library contains an out-of-bounds stack write vulnerability in the blst_sha256_bcopy assembly routine caused by a missing zero-length guard. When a zero-length salt parameter is passed to key generation functions like blst_keygen_v5(), the missing validation leads to memory corruption and process termination, resulting in denial of service.

MitigationImplement input validation to reject zero-length salt parameters before calling blst_keygen_v5() and similar key generation functions, or update the blst library to a version containing the fix if available.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify blst library installation
    Search for blst library files on the system using commands like 'find /usr -name "*blst*"' or check package managers for installed blst packages
    Affected if The blst library is present on the system
  2. Determine blst library version
    Check the installed version via package manager (dpkg -l | grep blst, rpm -qa | grep blst) or by inspecting library files (strings libblst.so | grep -i version)
    Affected if The installed version lacks the zero-length guard fix (compare your version to any available fixed releases)
  3. Identify usage of vulnerable key generation functions
    Search source code for calls to blst_keygen_v5() or similar functions (blst_keygen, blst_keygen_v4) that accept a salt parameter
    Affected if Code calls blst_keygen_v5() or related key generation functions with external or user-controlled salt input
  4. Verify salt parameter handling
    Inspect the code paths that pass salt to blst_keygen_v5() to determine if zero-length salt values can reach the vulnerable function
    Affected if Zero-length salt values are not validated before being passed to the key generation function
  5. Test for denial of service condition
    If feasible in a test environment, invoke blst_keygen_v5() with an empty/zero-length salt parameter and observe if the process terminates unexpectedly
    Affected if Passing a zero-length salt causes process termination or crash

A user is affected if their system has the blst library installed, uses blst_keygen_v5() or similar functions, and does not validate that salt parameters have non-zero length before passing them to the library.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement input validation to reject zero-length salt parameters before calling blst_keygen_v5() and similar key generation functions, or update the blst library to a version containing the fix if available.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,120
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,392.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-2681 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-2681 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data