CVE-2019-11939: Denial of Service in github.com/facebook/fbthrift

github.com/facebook/fbthrift Updated 02 Oct 2025

Summary

14/04/2021
Yes i
High
7.5

CVE-2019-11939: Denial of service via malicious message size declaration in github.com/facebook/fbthrift. Affects github.com/facebook/fbthrift versions < 0.31.1-0.20200311080807-483ed864d69f. Fixed in 0.31.1-0.20200311080807-483ed864d69f. 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

The package under scrutiny is github.com/facebook/fbthrift, which is a Go implementation of Apache Thrift, a framework for scalable cross-language services development. fbthrift provides a set of libraries and tools for building efficient and reliable communication protocols. It is widely used in various applications for inter-service communication. However, a vulnerability has been identified in fbthrift that can lead to a denial of service attack.

Vulnerability Detail

The vulnerability (CVE-2019-11939) in fbthrift arises from the fact that Thrift Servers preallocate memory for the declared size of messages before checking the actual size of the message. This design flaw allows a malicious user to send messages that declare they are significantly larger than they actually are, tricking the server into allocating excessive amounts of memory. As a result, the server becomes overwhelmed and may crash, leading to a denial of service. This vulnerability can be exploited remotely and poses a significant risk to applications utilizing fbthrift.

How To Fix

Latest published version: v0.31.0 as of 23 Oct 2026

go get github.com/facebook/fbthrift@v0.31.0

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

If you need the minimum change

0.31.1-0.20200311080807-483ed864d69f

This is the first release that contains the fix.

go get github.com/facebook/fbthrift@v0.31.1-0.20200311080807-483ed864d69f

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

Workaround

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of fbthrift to mitigate the risk of a denial of service attack.

Conclusion

The vulnerability (CVE-2019-11939) in github.com/facebook/fbthrift allows an attacker to perform a denial of service attack by tricking the server into allocating excessive amounts of memory. To mitigate this risk, it is crucial to update the fbthrift package to version 0.31.1 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/facebook/fbthrift →

Share this vulnerability

FAQ

fbthrift is a Go implementation of Apache Thrift, a framework for scalable cross-language services development.

The vulnerability allows an attacker to perform a denial of service attack, potentially crashing the server and disrupting the application's functionality.

To fix this vulnerability, update the fbthrift package to version 0.31.1 or later.

No, there is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.

Yes, this vulnerability can be exploited remotely, making it a significant security risk for applications using fbthrift.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/facebook/fbthrift.

How To Fix

Latest published version: v0.31.0 as of 23 Oct 2026

go get github.com/facebook/fbthrift@v0.31.0

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

If you need the minimum change

0.31.1-0.20200311080807-483ed864d69f

This is the first release that contains the fix.

go get github.com/facebook/fbthrift@v0.31.1-0.20200311080807-483ed864d69f

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