{"id":"CVE-2019-11939","aliases":["CLSA-2026-1773965922","CLSA-2026-1773965924","EUVD-2022-5486","GHSA-w3r9-r9w7-8h48","GO-2021-0082","UBUNTU-CVE-2019-11939"],"status":"published","title":"Golang Facebook Thrift servers vulnerable to denial of service","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01557,"percentile":0.75396,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-770"],"published":"2020-03-18T00:40:12Z","modified":"2026-11-01T10:45:08Z","fixes":[{"ecosystem":"Go","package":"github.com/facebook/fbthrift","fixed_in":["0.31.1-0.20200311080807-483ed864d69f"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/facebook/fbthrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.1-0.20200311080807-483ed864d69f"}]}]},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.apache.thrift:libfb303","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.1"},{"fixed":"0.9.1-tuxcare.3"}]}],"versions":["0.9.1","0.9.1-tuxcare.1","0.9.1-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.apache.thrift:libthrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.1"},{"fixed":"0.9.1-tuxcare.3"}]}],"versions":["0.9.1","0.9.1-tuxcare.1","0.9.1-tuxcare.2"],"bundled":5},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.apache.thrift:libfb303","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.3"},{"fixed":"0.9.3-tuxcare.3"}]}],"versions":["0.9.3","0.9.3-tuxcare.2","0.9.3.tuxcare.1"],"bundled":4},{"source":"osv","ecosystem":"TuxCare:Maven","package":"org.apache.thrift:libthrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.3"},{"fixed":"0.9.3-tuxcare.3"}]}],"versions":["0.9.3","0.9.3-tuxcare.2","0.9.3.tuxcare.1"],"bundled":4},{"source":"osv","ecosystem":"Go","package":"github.com/facebook/fbthrift","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.31.1-0.20200311080807-483ed864d69f"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/facebook/fbthrift","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.31.1-0.20200311080807-483ed864d69f"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-6","0.13.0-2build1","0.13.0-2build2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.0-6ubuntu1","0.13.0-6ubuntu2","0.13.0-6ubuntu3","0.13.0-7","0.16.0-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.0-4","0.19.0-2","0.19.0-2build1","0.19.0-2.1build4","0.19.0-2.1build5"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.0-4build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.0-3ubuntu1","0.23.0-3","0.23.0-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"thrift","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.19.0-4build1","0.22.0-3","0.22.0-3ubuntu1"]}],"products":[{"vendor":"facebook","product":"facebook thrift"},{"vendor":"facebook","product":"thrift"}],"references":[{"url":"https://github.com/facebook/fbthrift/commit/483ed864d69f307e9e3b9dadec048216100c0757","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://www.facebook.com/security/advisories/cve-2019-11939","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11939","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0082","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w3r9-r9w7-8h48"},{"url":"https://github.com/facebook/fbthrift","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-11939","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-11939","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-11939","description":"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.","status":"published","published":"2020-03-18T00:40:12Z","modified":"2024-08-04T23:10:29.633Z","cwes":["CWE-770"],"updated_at":"2026-11-02T14:32:22.432545Z"}],"euvd":[{"id":"EUVD-2022-5486","description":"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.","status":"published","published":"2020-03-18T00:40:12Z","modified":"2024-08-04T23:10:29Z","updated_at":"2026-11-03T02:40:47.406732Z"}],"ghsa":[{"id":"GHSA-w3r9-r9w7-8h48","title":"Golang Facebook Thrift servers vulnerable to denial of service","description":"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.\n\n### Specific Go Packages Affected\ngithub.com/facebook/fbthrift/thrift/lib/go/thrift","status":"published","published":"2022-05-24T17:11:45Z","modified":"2023-09-29T17:09:11Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:37:06.913882Z"}],"nvd":[{"id":"CVE-2019-11939","description":"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.","status":"published","published":"2020-03-18T01:15:11.66Z","modified":"2026-06-17T02:13:52.567Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:05:45.254119Z"}],"osv":[{"id":"CVE-2019-11939","description":"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.","status":"published","published":"2020-03-18T01:15:11.66Z","modified":"2026-11-01T10:45:08.885234677Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:10.718934Z"},{"id":"GHSA-w3r9-r9w7-8h48","title":"Golang Facebook Thrift servers vulnerable to denial of service","description":"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.\n\n### Specific Go Packages Affected\ngithub.com/facebook/fbthrift/thrift/lib/go/thrift","status":"published","published":"2022-05-24T17:11:45Z","modified":"2026-09-10T03:49:43.123240736Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"UBUNTU-CVE-2019-11939","description":"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.","status":"published","published":"2020-03-18T01:15:00Z","modified":"2026-10-17T12:55:38.25922613Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:19.202697Z"},{"id":"CLSA-2026-1773965922","title":"TuxCare security update for org.apache.thrift (5 CVEs)","description":"TuxCare rebuilt 2 org.apache.thrift packages to address 5 CVEs. Fixed in 0.9.1-tuxcare.3.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:46:19.263940414Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1773965924","title":"TuxCare security update for org.apache.thrift (4 CVEs)","description":"TuxCare rebuilt 2 org.apache.thrift packages to address 4 CVEs. Fixed in 0.9.3-tuxcare.3.","status":"published","published":"2026-08-04T14:52:13Z","modified":"2026-10-15T09:46:19.41208832Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"GO-2021-0082","title":"Denial of service via malicious message size declaration in github.com/facebook/fbthrift","description":"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.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2026-02-04T02:54:52.784187Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
