Every CVE Search/ Get API key

CVE-2019-11939

Golang Facebook Thrift servers vulnerable to denial of service

7.5 HighFix available

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.56%Up 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Record
CVE-2019-11939
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-770
Updated
2026-11-02
CVE List No score

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Record
CVE-2019-11939
Weakness
CWE-770
Updated
2026-11-02
EUVDEUVD-2022-5486 No score

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Record
EUVD-2022-5486
Updated
2026-11-03
GitHub AdvisoriesGHSA-w3r9-r9w7-8h48 7.5

Golang Facebook Thrift servers vulnerable to denial of service

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Specific Go Packages Affected

github.com/facebook/fbthrift/thrift/lib/go/thrift

Record
GHSA-w3r9-r9w7-8h48
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
OSV 7.5

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Record
CVE-2019-11939
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-w3r9-r9w7-8h48 7.5

Golang Facebook Thrift servers vulnerable to denial of service

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Specific Go Packages Affected

github.com/facebook/fbthrift/thrift/lib/go/thrift

Record
GHSA-w3r9-r9w7-8h48
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2019-11939 7.5

Golang Facebook Thrift servers would not error upon receiving messages declaring containers of sizes larger than the payload. As a result, malicious clients could send short messages which would result in a large memory allocation, potentially leading to denial of service. This issue affects Facebook Thrift prior to v2020.03.16.00.

Record
UBUNTU-CVE-2019-11939
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1773965922 No score

TuxCare security update for org.apache.thrift (5 CVEs)

TuxCare rebuilt 2 org.apache.thrift packages to address 5 CVEs. Fixed in 0.9.1-tuxcare.3.

Record
CLSA-2026-1773965922
Updated
2026-11-02
OSVCLSA-2026-1773965924 No score

TuxCare security update for org.apache.thrift (4 CVEs)

TuxCare rebuilt 2 org.apache.thrift packages to address 4 CVEs. Fixed in 0.9.3-tuxcare.3.

Record
CLSA-2026-1773965924
Updated
2026-11-02
OSVGO-2021-0082 No score

Denial of service via malicious message size declaration in github.com/facebook/fbthrift

Thrift Servers preallocate memory for the declared size of messages before checking the actual size of the message. This allows a malicious user to send messages that declare that they are significantly larger than they actually are, allowing them to force the server to allocate significant amounts of memory. This can be used as a denial of service vector.

Record
GO-2021-0082
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/facebook/fbthrift
Go
before 0.31.1-0.20200311080807-483ed864d69f
0.31.1-0.20200311080807-483ed864d69f
org.apache.thrift:libfb303
TuxCare:Maven
0.9.1 up to 0.9.1-tuxcare.3, plus listed versions
0.9.1-tuxcare.10.9.1-tuxcare.2
0.9.1-tuxcare.3
org.apache.thrift:libthrift
TuxCare:Maven
0.9.1 up to 0.9.1-tuxcare.3, plus listed versions
0.9.1-tuxcare.10.9.1-tuxcare.2
0.9.1-tuxcare.3
org.apache.thrift:libfb303
TuxCare:Maven
0.9.3 up to 0.9.3-tuxcare.3, plus listed versions
0.9.3-tuxcare.20.9.3.tuxcare.1
0.9.3-tuxcare.3
org.apache.thrift:libthrift
TuxCare:Maven
0.9.3 up to 0.9.3-tuxcare.3, plus listed versions
0.9.3-tuxcare.20.9.3.tuxcare.1
0.9.3-tuxcare.3
thrift
Ubuntu:20.04:LTS
All versions, plus listed versions
0.11.0-60.13.0-2build10.13.0-2build2
None known
thrift
Ubuntu:22.04:LTS
All versions, plus listed versions
0.13.0-6ubuntu10.13.0-6ubuntu20.13.0-6ubuntu30.13.0-70.16.0-2
None known
thrift
Ubuntu:24.04:LTS
All versions, plus listed versions
0.17.0-40.19.0-20.19.0-2build10.19.0-2.1build40.19.0-2.1build5
None known
thrift
Ubuntu:25.10
All versions, plus listed versions
0.19.0-4build1
None known
thrift
Ubuntu:26.10
All versions, plus listed versions
0.22.0-3ubuntu10.23.0-30.23.0-3ubuntu1
None known
thrift
Ubuntu:26.04:LTS
All versions, plus listed versions
0.19.0-4build10.22.0-30.22.0-3ubuntu1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-11939 is a high vulnerability (CVSS 7.5) in Facebook Thrift, published March 18, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.56%, the 75th percentile. Fixed in github.com/facebook/fbthrift 0.31.1-0.20200311080807-483ed864d69f.

References

MoveEnter Open