CVE-2026-31970 Vulnerability Analysis & Exploit Details

CVE-2026-31970
Vulnerability Scoring

8.1
/10
Severe Risk

Cybersecurity professionals consider CVE-2026-31970 an immediate threat requiring urgent mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2026-31970 Details

Status: Analyzed

Last updated: 🕜 19 Mar 2026, 13:59 UTC
Originally published on: 🕗 18 Mar 2026, 20:16 UTC

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

CVE-2026-31970 Vulnerability Summary

CVE-2026-31970: HTSlib is a library for reading and writing bioinformatics file formats. GZI files are used to index block-compressed GZIP [BGZF] files. In the GZI loading function, `bgzf_index_load_hfile()`, it was possible to trigger an integer overflow, leading to an under- or zero-sized buffer being allocated to store the index. Sixteen zero bytes would then be written to this buffer, and, depending on the result of the overflow the rest of the file may also be loaded into the buffer as well. If the function did attempt to load the data, it would eventually fail due to not reading the expected number of records, and then try to free the overflowed heap buffer. Exploiting this bug causes a heap buffer overflow. If a user opens a file crafted to exploit this issue, it could lead to the program crashing, or overwriting of data and heap structures in ways not expected by the program. It may be possible to use this to obtain arbitrary code execution. Versions 1.23.1, 1.22.2 and 1.21.1 include fixes for this issue. The easiest work-around is to discard any `.gzi` index files from untrusted sources, and use the `bgzip -r` option to recreate them.

Assessing the Risk of CVE-2026-31970

Access Complexity Graph

The exploitability of CVE-2026-31970 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2026-31970

With low attack complexity and no required privileges, CVE-2026-31970 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2026-31970, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2026-31970, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2026-31970 has no significant impact on data confidentiality.
  • Integrity: High
    CVE-2026-31970 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2026-31970 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2026-31970 References

External References

CWE Common Weakness Enumeration

CWE-1284

Vulnerable Configurations

  • cpe:2.3:a:htslib:htslib:0.2.0:-:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:-:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc10:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc10:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc11:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc11:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc12:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc12:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc6:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc6:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc7:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc7:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc8:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc8:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:0.2.0:rc9:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:0.2.0:rc9:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.7:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.8:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.9:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.10:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.10.2:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.11:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.12:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.13:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:htslib:htslib:1.23:*:*:*:*:*:*:*
    cpe:2.3:a:htslib:htslib:1.23:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2026-31970: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2026-40688 – A out-of-bounds write vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.3, FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4.0 through 7.4.11 may allow...
  • CVE-2026-39399 – NuGet Gallery is a package repository that powers nuget.org. A security vulnerability exists in the NuGetGallery backend job’s handling of .nuspec ...
  • CVE-2026-39387 – BoidCMS is an open-source, PHP-based flat-file CMS for building simple websites and blogs, using JSON as its database. Versions prior to 2.1.3 are ...
  • CVE-2026-35589 – nanobot is a personal AI assistant. Versions prior to 0.1.5 contain a Cross-Site WebSocket Hijacking (CSWSH) vulnerability exists in the bridge's W...
  • CVE-2026-35034 – Jellyfin is an open source self hosted media server. Versions prior to 10.11.7 contain a denial of service vulnerability in the SyncPlay group crea...