# CVE-2021-42757

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-08 · Modified: 2025-10-16
- Record: https://cvemate.com/vulnerability/CVE-2021-42757 · JSON: https://cvemate.com/vulnerability/CVE-2021-42757/json

## Description

```text
A buffer overflow [CWE-121] in the TFTP client library of FortiOS before 6.4.7 and FortiOS 7.0.0 through 7.0.2, may allow an authenticated local attacker to achieve arbitrary code execution via specially crafted command line arguments.
```

## Signals

- CVSS: 6.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.516%, percentile 45.433%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fortinet fortiadc: ≥ 6.1.0, ≤ 6.1.5 \| ≥ 6.0.0, ≤ 6.0.4 \| ≥ 5.4.0, ≤ 5.4.5 \| ≥ 5.3.0, ≤ 5.3.7 \| ≥ 5.2.0, ≤ 5.2.8 \| ≥ 5.1.0, ≤ 5.1.7 \| ≥ 5.0.0, ≤ 5.0.4 \| ≥ 5.0.0, ≤ 6.1.5 \| ≥ 6.2.0, ≤ 6.2.2
- fortinet fortianalyzer: ≥ 6.4.0, ≤ 6.4.7 \| ≥ 6.2.0, ≤ 6.2.13 \| ≥ 6.0.0, ≤ 6.0.12 \| ≥ 6.0.0, ≤ 6.4.7 \| ≥ 7.0.0, ≤ 7.0.2
- fortinet fortiddos: ≥ 5.5.0, ≤ 5.5.1 \| ≥ 5.4.0, ≤ 5.4.3 \| ≥ 5.3.0, ≤ 5.3.2 \| 5.2.0 \| 5.1.0 \| 5.0.0 \| 4.7.0 \| 4.6.0 \| 4.5.0 \| ≥ 4.4.0, ≤ 4.4.2
- fortinet fortiddos-f: ≥ 6.4.0, ≤ 6.4.1 \| 6.3.0 \| ≥ 6.2.0, ≤ 6.2.2 \|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≤ 6.0.10 \| ≥ 2.7.0, ≤ 2.7.7 \| ≥ 2.6.0, ≤ 2.6.3 \| ≥ 2.6.0, ≤ 6.0.10 \| ≥ 6.4.0, ≤ 6.4.2
- fortinet fortiswitch: ≥ 6.4.0, ≤ 6.4.9 \| ≥ 6.2.0, ≤ 6.2.7 \| ≥ 6.0.0, ≤ 6.0.7 \| ≥ 6.0.0, ≤ 6.4.9 \| ≥ 7.0.0, ≤ 7.0.3
- fortinet fortivoice: ≥ 6.0.0, ≤ 6.0.10 \| ≥ 6.4.0, ≤ 6.4.4
- fortinet fortiweb: ≥ 6.4.0, ≤ 6.4.1 \| ≥ 6.3.0, ≤ 6.3.16 \| ≥ 6.2.0, ≤ 6.2.8 \| ≥ 6.1.0, ≤ 6.1.4 \| ≥ 6.0.0, ≤ 6.0.8 \| ≥ 5.9.0, ≤ 5.9.2 \| ≥ 5.8.5, ≤ 5.8.7 \| ≥ 5.8.0, ≤ 5.8.3 \| ≥ 5.7.0, ≤ 5.7.3 \| ≥ 5.6.0, ≤ 5.6.2 \| ≥ 5.5.0, ≤ 5.5.7 \| ≥ 5.4.0, ≤ 5.4.1 \| ≥ 5.3.0, ≤ 5.3.9 \| ≥ 5.2.0, ≤ 5.2.4 \| ≥ 5.1.0, ≤ 5.1.4 \| ≥ 5.0.0, ≤ 5.0.6 \| ≥ 5.0.0, ≤ 6.3.16 \| 6.4.0 \| 6.4.1

## References

- <https://fortiguard.com/advisory/FG-IR-21-173>

---

Data as of 2026-12-05T11:03:37.011Z. 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
