CVE-2022-35928: AES Crypt - Buffer Overflow
- Cve: CVE-2022-35928
- Name: AES Crypt - Buffer Overflow
- Description: AES Crypt is a file encryption software for multiple platforms. AES Crypt for Linux built using the source on GitHub and having the version number 3.11 has a vulnerability with respect to reading user-provided passwords and confirmations via command-line prompts. Passwords lengths were not checked before being read. This vulnerability may lead to buffer overruns. This does _not_ affect source code found on aescrypt.com, nor is the vulnerability present when providing a password or a key via the `-p` or `-k` command-line options. The problem was fixed via in commit 68761851b and will be included in release 3.16. Users are advised to upgrade. Users unable to upgrade should us the `-p` or `-k` options to provide a password or key.
- Impact: Local attackers can exploit buffer overruns to execute arbitrary code or cause crashes.
- Remediation: Upgrade to version 3.16 or later, or use the -p or -k options to provide passwords or keys.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to run the software and interact with the command line
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00164
- Epss percentile: 0.05595
- Assignee: [email protected]
- Published at: 2022-08-03T20:15:08Z
- Age in days: 1574
- Modified at: 2026-06-17T04:52:32Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-35928
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input |
| CWE-1284 | Improper Validation of Specified Quantity in Input |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/paulej/AESCrypt/commit/68761851b595e96c68c3f46bfc21167e72c6a22c | nvd | Patch, Third Party Advisory |
| https://github.com/paulej/AESCrypt/security/advisories/GHSA-r7fv-72pg-fwrq | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| aescrypt:aes_crypt | = 3.11 | no | nvd | /v1/products/aescrypt/aes_crypt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| paulej/AESCrypt | commit, security_advisory | yes | /v1/repositories/paulej/AESCrypt |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts