# CVE-2021-46878

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-04-11 · Modified: 2025-02-11
- Record: https://cvemate.com/vulnerability/CVE-2021-46878 · JSON: https://cvemate.com/vulnerability/CVE-2021-46878/json

## Description

```text
An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flb_pack_msgpack_to_json_format leads to type confusion bug that interprets whatever is on the stack as msgpack maps and arrays, leading to use-after-free. This can be used by an attacker to craft a specially craft file and trick the victim opening it using the affect software, triggering use-after-free and execute arbitrary code on the target system.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.35%, percentile 30.607%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- treasuredata fluent\_bit: 1.7.1

## References

- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742>
- <https://github.com/fluent/fluent-bit/pull/3115>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46878>

---

Data as of 2026-12-05T13:42:46.123Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
