CVE-2020-37124
CRITICALVulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 9.8. Requires processing attacker-controlled base64 input. |
| Exploit ScenarioDerived | Attacker provides maliciously crafted base64-encoded data that overflows the decode buffer, overwrites SEH chain, redirects execution to shellcode. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
Buffer overflow in B64dec 1.1.2 base64 decoder allows attackers to execute arbitrary code by overwriting structured exception handler pointers. PoC available.
Earlier versions of this analysis (1)
Stack buffer overflow in B64dec base64 decoding utility.
RemediationAI
Update to a patched version. Implement input length validation before decoding.
Affected ProductsAI
B64dec 1.1.2
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-121 stack overflow. Oversized input to the base64 decoder overwrites SEH pointers on the stack, enabling control flow hijacking.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
B64dec 1.1.2 contains a buffer overflow vulnerability that allows attackers to execute arbitrary code by overwriting Structured Exception Handler (SEH) with crafted input. Attackers can leverage an egg hunter technique and carefully constructed payload to inject and execute malicious code during base64 decoding process.
Executive ViewAI
CVE-2020-37124 is a critical buffer overflow vulnerability in B64dec 1.1.2 that allows remote attackers to execute arbitrary code on affected systems. With a CVSS score of 9.8 and public exploit availability, this poses an immediate threat to any organization running this software. No vendor patch is currently available, requiring immediate mitigation action to prevent potential system compromise and data breach.
Implement network segmentation to restrict access to B64dec instances; deploy Web Application Firewall (WAF) rules to filter malicious base64 input patterns; disable B64dec functionality if not essential; restrict application execution to low-privilege accounts; enable enhanced logging and monitoring for suspicious activity; consider air-gapping affected systems; evaluate and migrate to patched alternative base64 decoding libraries.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
NVD
CVE.org
EPSS
Exploit-DB
GitHub PoC