CVE-2017-1000206
Critical · 9.8CVSS
9.8
EPSS
2.2%
Published
Nov 17, 2017
CISA due date
—
Cloudanix analysis
An old flaw in a library that reads certain DNA data files could let attackers take over computers that process those files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the CRAM rANS codec of htslib 1.4.0 and earlier allows memory corruption that can result in arbitrary code execution.
Why it matters to the business
Organizations relying on legacy bioinformatics tools for genomic data processing face risk of system compromise and potential exposure of sensitive research or patient-derived sequence data, though low EPSS and absence from KEV indicate limited active exploitation.
How an attack unfolds
An attacker crafts a malicious CRAM file containing malformed rANS-encoded data; when the vulnerable htslib library parses or decompresses the file, the overflow occurs and attacker-supplied code is executed.
How to fix it
Upgrade htslib to a version newer than 1.4.0 that resolves the CRAM rANS buffer overflow; rebuild or reinstall any dependent applications such as samtools against the patched library.
How to confirm the fix worked
Confirm installed htslib version exceeds 1.4.0, recompile dependent tools, and verify correct handling of both valid and malformed CRAM test files without crashes or unexpected behavior.
Typical attack path
- Obtain or generate a specially crafted CRAM file exploiting the rANS codec flaw
- Deliver the file to a target system or workflow that invokes htslib parsing routines
- Trigger processing of the file through normal bioinformatics pipelines
- Achieve arbitrary code execution via the resulting buffer overflow
How to detect it
Examine application and system logs for segmentation faults or abnormal terminations during CRAM file handling; look for unexpected child processes or network connections spawned by tools that use htslib.
What your security team should do
- Inventory all deployments of htslib and samtools to identify versions 1.4.0 and earlier
- Schedule immediate upgrades for any internet-facing or high-value bioinformatics workloads
- Apply compensating controls such as file-type sandboxing until patches are applied
- Monitor upstream htslib releases and ecosystem dependents for continued maintenance status
The record
samtools htslib library version 1.4.0 and earlier is vulnerable to buffer overflow in the CRAM rANS codec resulting in potential arbitrary code execution
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | htslib | 0 | 1.4.1-1 |
| Debian:12 | htslib | 0 | 1.4.1-1 |
| Debian:13 | htslib | 0 | 1.4.1-1 |
| Debian:14 | htslib | 0 | 1.4.1-1 |
| Ubuntu:Pro:14.04:LTS | htslib | 0 | 0.2.0~rc3-1ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTS | htslib | 0 | 1.2.1-2ubuntu1+esm1 |
| Ubuntu:Pro:18.04:LTS | htslib | 0 | 1.7-2ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119
- CVE-2026-87933 A vulnerability was found in DaveGamble cJSON up to 1.7.19. CWE-119
- CVE-2026-87931 A vulnerability has been found in Behavioral Technology Group Pavlok Behavioral… CWE-119