CVE-2018-18206: Denial of Service in Bytom

github.com/bytom/bytom Updated 02 Oct 2025

Summary

14/04/2021
Yes i
High
7.5

CVE-2018-18206: Panic in github.com/bytom/bytom. Affects github.com/bytom/bytom versions < 1.0.4-0.20180831054840-1ac3c8ac4f2b. Fixed in 1.0.4-0.20180831054840-1ac3c8ac4f2b. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Bytom is an open-source blockchain platform that enables the creation and management of digital assets. It is implemented in Go programming language. Bytom allows users to register topics for communication between peers. However, a vulnerability in the client version prior to 1.0.6 allows for a denial of service attack. The vulnerability exists in the checkTopicRegister function in the p2p/discover/net.go file, which fails to prevent negative idx values. Exploiting this vulnerability can lead to a crash of the Bytom client.

Vulnerability Detail

The vulnerability in Bytom allows an attacker to send malicious input to the checkTopicRegister function, causing it to process negative idx values. This can result in a crash of the Bytom client, leading to a denial of service condition. The impact of this vulnerability is significant as it can disrupt the normal operation of the Bytom blockchain platform.

How To Fix

Latest published version: v1.1.1 as of 23 Oct 2026

go get github.com/bytom/bytom@v1.1.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.0.4-0.20180831054840-1ac3c8ac4f2b

This is the first release that contains the fix.

go get github.com/bytom/bytom@v1.0.4-0.20180831054840-1ac3c8ac4f2b

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. The recommended solution is to upgrade to the latest version of Bytom.

Conclusion

The vulnerability in Bytom prior to version 1.0.6 allows for a denial of service attack. Users are advised to upgrade to the latest version to ensure their Bytom client is protected. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/bytom/bytom →

Share this vulnerability

FAQ

Bytom is an open-source blockchain platform that allows for the creation and management of digital assets.

This vulnerability can lead to a denial of service condition, causing the Bytom client to crash and disrupt the normal operation of the platform.

To fix this vulnerability, users should upgrade their Bytom client to version 1.0.6 or later.

No specific workaround is provided for this vulnerability. Upgrading to the latest version is the recommended solution.

For more information about this vulnerability, you can refer to the CVE-2018-18206 advisory or contact the Bytom development team.

How To Fix

Latest published version: v1.1.1 as of 23 Oct 2026

go get github.com/bytom/bytom@v1.1.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.0.4-0.20180831054840-1ac3c8ac4f2b

This is the first release that contains the fix.

go get github.com/bytom/bytom@v1.0.4-0.20180831054840-1ac3c8ac4f2b

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback