Use-After-Free Vulnerability in OpenSMTPD

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2015-7687

Key Information:

Vendor

OpenBSD

Status
CVE ID
CVE ID:
CVE-2015-7687
Vendor
CVE Published:
16 October 2017

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Opensmtpd. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2015-7687?

An identified use-after-free vulnerability in OpenSMTPD prior to version 5.7.2 allows remote attackers to exploit this weakness. Attackers can craft specific inputs that leverage the req_ca_vrfy_smtp and req_ca_vrfy_mta functions, which can lead to a denial of service through application crashes or even facilitate the execution of arbitrary code. Given the nature of this flaw, it poses significant risks to systems employing OpenSMTPD, necessitating upgrades to mitigate potential threats.

References

Password Authentication Bypass in OpenSSH on Linux Systems Using Musl libc

CVE-2026-123158
OpenBSDOpensshπŸ˜„πŸ‘Ύ8.1HIGH

Vulnerability in OpenSSH

CVE-2026-35414
OpenBSDOpensshπŸ‘Ύ4.2MEDIUM

Vulnerability in OpenSSH

CVE-2025-61984
OpenBSDOpensshπŸ˜„πŸ‘Ύ3.6LOW
View more OpenBSD vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.