# CVE-2021-21812: A stack-based buffer overflow vulnerability exists in the command-line-parsing HandleFileArg functionality of AT&T Labs’ Xmill 0.7.

- Severity: High 7.8 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/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): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-13T22:39:44.000Z
- Modified: 2026-06-17T03:36:09.790Z
- Weaknesses: CWE-787
- Assigned by: talos

## Description

A stack-based buffer overflow vulnerability exists in the command-line-parsing HandleFileArg functionality of AT&T Labs’ Xmill 0.7. Within the function HandleFileArg the argument filepattern is under control of the user who passes it in from the command line. filepattern is passed directly to strcpy copying the path provided by the user into a static sized buffer without any length checks resulting in a stack-buffer overflow. An attacker can provide malicious input to trigger these vulnerabilities.

(As written by CVE List.)

## Affected

- AT&T: AT&T Labs Xmill 0.7
- att xmill: 0.7

## Every score

- talos: CVSS:3.0 7.8 High `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

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

## Sources

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

---

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