MEDIUM
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
Published Nov 21, 2012
6.8
MEDIUMCVSS 2.0
EPSS 15.14%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
6.8 MEDIUM NVD
AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
15.14% 0.15138
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.15138
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 15.14% (0.15138) | 96.64th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.02% (0.15019) | 96.28th | v5 (v2026.06.15) |
| Mar 30, 2025 | 58.74% (0.58743) | 98.04th | v4 (v2025.03.14) |
| Mar 29, 2025 | 68.83% (0.68830) | 98.11th | v4 (v2025.03.14) |
| Mar 17, 2025 | 58.74% (0.58743) | 98.00th | v4 (v2025.03.14) |
| Dec 17, 2024 | 40.56% (0.40565) | 97.32th | v3 (v2023.03.01) |
| Dec 10, 2024 | 17.06% (0.17057) | 96.26th | v3 (v2023.03.01) |
| Jun 21, 2024 | 13.50% (0.13502) | 95.64th | v3 (v2023.03.01) |
| Apr 18, 2024 | 14.57% (0.14568) | 95.67th | v3 (v2023.03.01) |
| Mar 7, 2023 | 15.12% (0.15117) | 94.91th | v3 (v2023.03.01) |
| Mar 6, 2023 | 28.37% (0.28369) | 97.27th | v2 (v2022.01.01) |
| Feb 5, 2023 | 28.37% (0.28369) | 97.23th | v2 (v2022.01.01) |
| Nov 4, 2022 | 29.08% (0.29082) | 97.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 29.88% (0.29880) | 96.30th | v2 (v2022.01.01) |
Weaknesses (1)
References (9)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html vendor-advisoryx_refsource_FEDORA
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html x_refsource_MISCExploit
- http://secunia.com/advisories/50507 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/51010 third-party-advisoryx_refsource_SECUNIA
- http://www.openwall.com/lists/oss-security/2012/09/06/4 mailing-listx_refsource_MLIST
- http://www.securitytracker.com/id?1027532 vdb-entryx_refsource_SECTRACK
- https://bugzilla.redhat.com/show_bug.cgi?id=855029 x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html | vendor-advisoryx_refsource_FEDORA | |
| http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html | vendor-advisoryx_refsource_FEDORA | |
| http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html | vendor-advisoryx_refsource_FEDORA | |
| http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html | x_refsource_MISCExploit | |
| http://secunia.com/advisories/50507 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://secunia.com/advisories/51010 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.openwall.com/lists/oss-security/2012/09/06/4 | mailing-listx_refsource_MLIST | |
| http://www.securitytracker.com/id?1027532 | vdb-entryx_refsource_SECTRACK | |
| https://bugzilla.redhat.com/show_bug.cgi?id=855029 | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Nov 21, 2012
Updated Aug 6, 2024
Reserved Aug 21, 2012
Link CVE-2012-4409
CISA Vulnrichment
Updated n/a