CVE-2016-5301
High · 7.5CVSS
7.5
EPSS
2.8%
Published
Jun 30, 2016
CISA due date
—
Cloudanix analysis
Attackers can remotely crash programs that handle file sharing or network discovery by sending specially crafted messages over the network.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The parse_chunk_header function in libtorrent fails to properly validate input in HTTP responses or UPnP broadcasts, allowing a malformed message to trigger a crash.
Why it matters to the business
Services depending on the affected library can be taken offline by remote attackers, interrupting operations that rely on torrent or network discovery functionality.
How an attack unfolds
An attacker crafts a malicious HTTP response or UPnP broadcast packet and sends it to a reachable instance of the vulnerable application; the malformed data reaches the unvalidated parsing routine and forces an unhandled crash.
How to fix it
Upgrade affected packages to the versions containing the libtorrent fix (neuvector-scanner and related components to 0_git20240417-r1 or later).
How to confirm the fix worked
Confirm the running package version matches or exceeds the listed fixed release; test by replaying a benign malformed input and verifying the process no longer terminates unexpectedly.
Typical attack path
- Identify exposed service using the vulnerable libtorrent version
- Craft malformed chunk header in HTTP response or UPnP broadcast
- Transmit packet to target endpoint
- Trigger crash and resulting denial of service
How to detect it
Review application and system logs for unexpected process terminations or segmentation faults in components that use libtorrent; correlate with incoming HTTP or UDP traffic containing unusual chunk sizes or malformed headers.
What your security team should do
- Apply the specified package updates across all environments
- Scan container images and rebuild pipelines to ensure the patched libtorrent is included
- Monitor network traffic for unexpected crashes in services using torrent or UPnP components
The record
The parse_chunk_header function in libtorrent before 1.1.1 allows remote attackers to cause a denial of service (crash) via a crafted (1) HTTP response or possibly a (2) UPnP broadcast.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libtorrent-rasterbar | 0 | 1.1.0-1 |
| Debian:12 | libtorrent-rasterbar | 0 | 1.1.0-1 |
| Debian:13 | libtorrent-rasterbar | 0 | 1.1.0-1 |
| Debian:7 | libtorrent-rasterbar | 0 | 0.15.10-1+deb7u1 |
| Mageia:5 | libtorrent-rasterbar | 0 | 0.16.18-1.2.mga5 |
| Ubuntu:Pro:14.04:LTS | libtorrent-rasterbar | 0 | 0.16.13-1ubuntu2.1+esm1 |
| Ubuntu:Pro:16.04:LTS | libtorrent-rasterbar | 0 | 1.0.7-1ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-113786 pypdf is a free and open-source pure-python PDF library. CWE-20
- CVE-2026-112081 A vulnerability was determined in hankcs HanLP up to 2.1.0-beta.64. CWE-20
- CVE-2026-111869 A vulnerability was identified in makeplane plane up to 1.4.2. CWE-20
- CVE-2026-100347 kin-openapi is a Go project for handling OpenAPI files. CWE-20
- CVE-2026-99999 In the Linux kernel, the following vulnerability has been resolved: ipv4: validate… CWE-20
- CVE-2026-107726 Hazelcast is a unified real-time data platform combining stream processing with a fast… CWE-20
- CVE-2026-105757 vLLM is an inference and serving engine for large language models. CWE-20
- CVE-2026-105756 vLLM is an inference and serving engine for large language models. CWE-20