Critical
Security advisory
An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code execution or other undesirable effects. This issue affects Facebook Thrift prior to v2021.02.22.00.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-24028
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:42 UTC · Revision 1
Source evidence
An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code execution or other undesirable effects. This issue affects Facebook Thrift prior to v2021.02.22.00.
osv:CVE-2021-24028
Complete source record
{
"id": "884a442ede545020ee752f56ea5674a263e42efc4c039522a63d6c19be21314e",
"url": "https://osv.dev/vulnerability/CVE-2021-24028",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-24028",
"summary": "An invalid free in Thrift's table-based serialization can cause the application to crash or potentially result in code execution or other undesirable effects. This issue affects Facebook Thrift prior to v2021.02.22.00.",
"evidence": "osv:CVE-2021-24028",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-24028",
"aliases": [
"CVE-2021-24028"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/facebook/fbthrift",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a0eb44d20005e25284d0204f42387ff872bf52b9"
},
{
"fixed": "bfda1efa547dce11a38592820916db01b05b9339"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:facebook:thrift:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2021.02.22.00"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "bfda1efa547dce11a38592820916db01b05b9339"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2021.02.15.00",
"v2021.02.08.00",
"v2021.02.01.00",
"v2021.01.25.00",
"v2021.01.18.00",
"v2021.01.11.00",
"v2021.01.04.00",
"v2020.12.28.00",
"v2020.12.21.00",
"v2020.12.14.00",
"v2020.12.07.00",
"v2020.11.30.00",
"v2020.11.23.00",
"v2020.11.16.00",
"v2020.11.09.00",
"v2020.11.02.00",
"v2020.10.26.00",
"v2020.10.19.00",
"v2020.10.12.00",
"v2020.10.05.00",
"v2020.09.28.00",
"v2020.09.21.00",
"v2020.09.14.00",
"v2020.09.07.00",
"v2020.08.31.00",
"v2020.08.24.00",
"v2020.08.17.00",
"v2020.08.10.00",
"v2020.08.03.00",
"v2020.07.27.00",
"v2020.07.20.00",
"v2020.07.13.00",
"v2020.07.06.00",
"v2020.06.29.00",
"v2020.06.15.00",
"v2020.06.08.00",
"v2020.06.01.00",
"v2020.05.25.00",
"v2020.05.18.00",
"v2020.05.11.00",
"v2020.05.04.00",
"v2020.04.27.00",
"v2020.04.20.00",
"v2020.04.13.00",
"v2020.04.06.00",
"v2020.03.30.00",
"v2020.03.23.00",
"v2020.03.16.00",
"v2020.03.09.00",
"v2020.03.02.00",
"v2020.02.24.00",
"v2020.02.17.00",
"v2020.02.10.00",
"v2020.02.03.00",
"v2020.01.27.00",
"v2020.01.20.00",
"v2020.01.13.00",
"v2020.01.06.00",
"v2019.12.30.00",
"v2019.12.23.00",
"v2019.12.16.00",
"v2019.12.09.00",
"v2019.12.06.00",
"v2019.12.02.00",
"v2019.11.11.00",
"v2019.11.04.00",
"v2019.10.28.00",
"v2019.10.21.00",
"v2019.10.14.00",
"v2019.10.07.00",
"v2019.09.30.00",
"v2019.09.23.00",
"v2019.07.29.00",
"v2019.07.22.00",
"v2019.07.15.00",
"v2019.07.08.00",
"v2019.07.01.00",
"v2019.06.24.00",
"v2019.06.17.00",
"v2019.06.10.00",
"v2019.06.03.00",
"v2019.05.27.00",
"v2019.05.20.00",
"v2019.05.13.00",
"v2019.05.06.00",
"v2019.04.29.00",
"v2019.04.22.00",
"v2019.04.15.00",
"v2019.04.08.00",
"v2019.03.18.00",
"v2019.03.11.00",
"v2019.03.04.00",
"v2019.02.25.00",
"v2019.02.18.00",
"v2019.02.11.00",
"v2019.02.04.00",
"v2019.01.28.00",
"v2019.01.21.00",
"v2019.01.14.00",
"v2019.01.07.00",
"v2018.12.31.00",
"v2018.12.24.00",
"v2018.12.17.00",
"v2018.12.10.00",
"v2018.12.03.00",
"v2018.11.26.00",
"v2018.11.19.00",
"v2018.11.12.00",
"v2018.11.05.00",
"v2018.10.29.00",
"v2018.10.22.00",
"v2018.10.15.00",
"v2018.10.08.00",
"v2018.10.01.00",
"v2018.09.24.00",
"v2018.09.17.00",
"v2018.09.10.00",
"v2018.09.03.00",
"v2018.08.27.00",
"v2018.08.20.00",
"v2018.08.13.00",
"v2018.08.06.00",
"v2018.07.30.00",
"v2018.07.23.00",
"v2018.07.16.00",
"v2018.07.09.00",
"v2018.07.02.00",
"v2018.06.25.00",
"v2018.06.18.00",
"v2018.06.11.00",
"v2018.06.04.00",
"v2018.05.28.00",
"v2018.05.21.00",
"v2018.05.14.00",
"v2018.05.07.00",
"v2018.04.30.00",
"v2018.04.23.00",
"v2018.04.16.00",
"v2018.04.09.00",
"v2018.04.02.00",
"v2018.03.26.00",
"v2018.03.19.00",
"v2018.03.12.00",
"v2018.03.05.00",
"v2018.02.26.00",
"v2018.02.19.00",
"v2018.02.12.00",
"v2018.02.05.00",
"v2018.01.29.00",
"v2018.01.22.00",
"v2018.01.15.00",
"v2018.01.08.00",
"v2018.01.01.00",
"v2017.12.25.00",
"v2017.12.18.00",
"v2017.12.11.00",
"v2017.12.04.00",
"v2017.11.27.00",
"v2017.11.20.00",
"v2017.11.13.00",
"v2017.11.06.00",
"v2017.10.30.00",
"v2017.10.23.00",
"v2017.10.16.00",
"v2017.10.09.00",
"v2017.10.02.00",
"v2017.09.25.00",
"v2017.09.18.00",
"v2017.09.11.00",
"v2017.09.04.00",
"v2017.08.28.00",
"v2017.08.21.00",
"v2017.08.14.00",
"v2017.08.07.00",
"v2017.07.31.00",
"v2017.07.24.00",
"v2017.07.17.00",
"v2017.07.10.00",
"v2017.07.03.00",
"v2017.06.26.00",
"v2017.06.19.00",
"v2017.06.12.00",
"v2017.06.05.00",
"v2017.05.29.00",
"v2017.05.22.00",
"v2017.05.15.00",
"v2017.05.08.00",
"v2017.05.01.00",
"v2017.04.24.00",
"v2017.04.17.00",
"v2017.04.10.00",
"v2017.04.03.00",
"v2017.03.27.00",
"v2017.03.20.00",
"v2017.03.13.00",
"v2017.03.06.00",
"v2017.01.30.00",
"v2017.01.23.00",
"v2017.01.16.00",
"v2017.01.09.00",
"v2017.01.02.00",
"v2016.12.26.00",
"v2016.12.19.00",
"v2016.12.12.00",
"v2016.12.05.00",
"v2016.11.28.00",
"v2016.11.21.00",
"v2016.11.14.00",
"v2016.11.07.00",
"v2016.10.31.00",
"v2016.10.24.00",
"v2016.10.17.00",
"v2016.10.10.00",
"v2016.10.03.00",
"v2016.09.26.00",
"v0.31.0",
"v0.30.0",
"v0.29.0",
"v0.28.0",
"v0.27.0",
"v0.26.0",
"v0.25.0",
"v0.24.0",
"v0.20.0",
"0.19.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-24028.json",
"vanir_signatures": [
{
"id": "CVE-2021-24028-1b65ad6d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301699430621488203376066358028070665739",
"195376711207525511246893750341597403209",
"107583083181193014087875173602769543953",
"46748234610748908130881862206385416534",
"208289102112653001514772315096105366328",
"199934425939809595915108572223222390687",
"266243348569544355199850148015768181840",
"70751489492004844096769874097623165824",
"316563075561462831470475044855917459817",
"5820608166153220263948265557242048379",
"191262265640464832890511082990306854530",
"10894233564836346227598373697150847409",
"225193862793281052065359914569453980018",
"296787370433609303528786462796685055073",
"82026808356307170750242815445783016787",
"198403096929940942785279131115096558446",
"286250841670835552747881449498896725939",
"58865678107583604209216161434650815683",
"282231875390766512227446617653880272928",
"41805586985823651360733742145890180093",
"181801141114805264780429403897144389904",
"91664358698072963584765674501493523483",
"232206990435112748489969255401442097516",
"155349486288676197484578110439619589329",
"315597267205785927428046947400530000763",
"113514801960068326158117312853594853591",
"305162895734525295661769160515904223086",
"34076271441925580707572158206071930466"
]
},
"source": "https://github.com/facebook/fbthrift/commit/bfda1efa547dce11a38592820916db01b05b9339",
"target": {
"file": "thrift/lib/cpp2/protocol/TableBasedSerializer.cpp"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-24028-780e38bf",
"digest": {
"length": 1507,
"function_hash": "227742768306908637654162397372123496625"
},
"source": "https://github.com/facebook/fbthrift/commit/bfda1efa547dce11a38592820916db01b05b9339",
"target": {
"file": "thrift/lib/cpp2/protocol/TableBasedSerializer.cpp",
"function": "write"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-24028-96b6e0f2",
"digest": {
"length": 1739,
"function_hash": "290949946253540073589851655986576822623"
},
"source": "https://github.com/facebook/fbthrift/commit/bfda1efa547dce11a38592820916db01b05b9339",
"target": {
"file": "thrift/lib/cpp2/protocol/TableBasedSerializer.cpp",
"function": "read"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:18:24Z"
}
}
],
"modified": "2026-10-20T14:18:24.828418792Z",
"provider": "osv",
"references": [
"https://www.facebook.com/security/advisories/cve-2021-24028",
"https://github.com/facebook/fbthrift/commit/bfda1efa547dce11a38592820916db01b05b9339"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-24028",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388798,
"published_at": "2021-04-14T00:15:13.057+00:00"
}