Back
CVE-2012-4409
Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers…
Medium6.8EPSS 15.1%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to execute arbitrary code via an encrypted file with a crafted header containing long salt data that is not properly handled during decryption.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 15.1% · top 3.3% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (9)
- FEDORA-2012-13599 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2012-13657 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2012-13656 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20120906 Re: CVE request - mcrypt buffer overflow flaw (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 51010 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1027532 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 50507 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=855029 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .