The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2019-25634

CVE-2019-25634: Base64 Decoder Buffer Overflow Flaw

CVE-2019-25634 is a stack-based buffer overflow in Base64 Decoder 1.1.2 allowing attackers to execute arbitrary code through SEH overwrite. This article covers technical details, exploitation methods, and mitigation.

Published: March 27, 2026

CVE-2019-25634 Overview

Base64 Decoder 1.1.2 contains a stack-based buffer overflow vulnerability that allows local attackers to execute arbitrary code by triggering a structured exception handler (SEH) overwrite. Attackers can craft a malicious input file that overflows a buffer, overwrites the SEH chain with a POP-POP-RET gadget address, and uses an egghunter payload to locate and execute shellcode for code execution.

Critical Impact

Local attackers can achieve arbitrary code execution through SEH overwrite exploitation, potentially gaining complete control over the affected system.

Affected Products

  • Base64 Decoder version 1.1.2

Discovery Timeline

  • 2026-03-24 - CVE CVE-2019-25634 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2019-25634

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-Bounds Write), a memory corruption issue that occurs when the application writes data beyond the boundaries of an allocated buffer. In Base64 Decoder 1.1.2, the application fails to properly validate the size of input data before processing, allowing attackers to overflow a stack-based buffer.

The exploitation technique leverages Windows Structured Exception Handling (SEH), a mechanism for handling runtime errors. When the buffer overflow occurs, the attacker can overwrite the SEH chain stored on the stack. By carefully crafting the overflow payload, an attacker places a POP-POP-RET gadget address as the exception handler, which redirects execution flow when an exception is triggered.

The attack chain incorporates an egghunter shellcode technique. Since the available buffer space after the SEH overwrite may be limited, the egghunter acts as a small search routine that scans memory for a unique "egg" marker prepended to the main shellcode payload. Once located, execution transfers to the larger shellcode, enabling full arbitrary code execution.

Root Cause

The root cause is improper bounds checking when processing Base64-encoded input files. The application allocates a fixed-size buffer on the stack for input processing but does not validate whether the input data exceeds this buffer's capacity. When processing a specially crafted file containing oversized input, the write operation extends beyond the buffer boundary, corrupting adjacent stack memory including the SEH chain.

Attack Vector

This is a local attack vector requiring the attacker to either have access to the target system or social engineer the victim into opening a malicious file. The attack flow involves:

  1. Creating a crafted input file with oversized data designed to overflow the stack buffer
  2. Constructing the payload to overwrite the SEH handler with a POP-POP-RET gadget address
  3. Placing egghunter shellcode in an accessible memory location
  4. Including the egg marker and main shellcode payload in the input
  5. Triggering an exception to redirect execution through the corrupted SEH chain
  6. The POP-POP-RET gadget redirects to the egghunter, which locates and executes the shellcode

The vulnerability mechanism is documented in the Exploit-DB #46625 entry and the VulnCheck Security Advisory, which provide technical details on the exploitation technique.

Detection Methods for CVE-2019-25634

Indicators of Compromise

  • Presence of Base64 Decoder version 1.1.2 installed on the system
  • Suspicious .txt or encoded files with abnormally large content being processed by the application
  • Application crashes or unexpected termination of b64dec.exe process
  • Evidence of shellcode execution or unexpected child processes spawned from Base64 Decoder

Detection Strategies

  • Monitor for process crash events involving Base64 Decoder application with SEH-related exceptions
  • Implement endpoint detection rules for SEH overwrite patterns and egghunter shellcode signatures
  • Deploy file integrity monitoring on systems where Base64 Decoder is installed to detect suspicious input files
  • Use memory analysis tools to identify POP-POP-RET gadget chains in process memory

Monitoring Recommendations

  • Enable Windows Event Log monitoring for application crashes (Event ID 1000) related to Base64 Decoder
  • Configure endpoint protection to alert on buffer overflow exploitation attempts
  • Implement behavioral analysis to detect unusual process execution chains originating from utility applications
  • Monitor network and file shares for distribution of crafted exploit files

How to Mitigate CVE-2019-25634

Immediate Actions Required

  • Remove or disable Base64 Decoder 1.1.2 from all systems until a patched version is available
  • Use alternative Base64 encoding/decoding tools that have been security audited
  • Restrict execution of Base64 Decoder to controlled environments with proper sandboxing
  • Implement application whitelisting to prevent unauthorized execution of vulnerable software

Patch Information

No official patch information is available from the vendor. The application is available from 4mhz. Users should check for updated versions or consider migrating to alternative tools. Review the VulnCheck Security Advisory for the latest remediation guidance.

Workarounds

  • Avoid processing untrusted or unknown Base64-encoded files with the vulnerable application
  • Run Base64 Decoder in a sandboxed or virtualized environment to contain potential exploitation
  • Enable Windows Exploit Protection features such as DEP (Data Execution Prevention) and ASLR to make exploitation more difficult
  • Use command-line alternatives like certutil -decode or Python's built-in base64 module for Base64 operations

Administrators should implement defense-in-depth strategies, as SEH-based exploits can sometimes bypass certain protections depending on system configuration and compilation flags of the target application.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechN/A

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • 4mhz Blog Post

  • 4mhz Download Link

  • Exploit-DB #46625

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English