# CVE-2021-21906: Stack-based buffer overflow vulnerability exists in how the CMA readfile function of Garrett Metal Detectors iC Module CMA Version 5.0 is u…

- Severity: High 8.2 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-22T18:06:48.000Z
- Modified: 2026-06-17T03:36:20.280Z
- Weaknesses: CWE-121, CWE-787
- Assigned by: talos

## Description

Stack-based buffer overflow vulnerability exists in how the CMA readfile function of Garrett Metal Detectors iC Module CMA Version 5.0 is used at various locations. The Garrett iC Module exposes an authenticated CLI over TCP port 6877. This interface is used by a secondary GUI client, called “CMA Connect”, to interact with the iC Module on behalf of the user. Every time a user submits a password to the CLI password prompt, the buffer containing their input is passed as the password parameter to the checkPassword function.

(As written by CVE List.)

## Affected

- Garrett Metal Detectors: Garrett Metal Detectors iC Module CMA Version 5.0
- garrett ic_module_cma: 5.0

## Every score

- talos: CVSS:3.0 8.2 High `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1357> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-21906](https://www.cve.org/CVERecord?id=CVE-2021-21906), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21906](https://nvd.nist.gov/vuln/detail/CVE-2021-21906), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21906 · Whole record: https://cve.day/CVE-2021-21906.json · Rebuilt by cve.day 2026-11-25T22:58:06.119Z
