CVE Vulnerabilities

CVE-2015-7687

Use After Free

Published: Oct 16, 2017 | Modified: Apr 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Use-after-free vulnerability in OpenSMTPD before 5.7.2 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via vectors involving req_ca_vrfy_smtp and req_ca_vrfy_mta.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
OpensmtpdOpenbsd*5.7.1 (including)
OpensmtpdUbuntuartful*
OpensmtpdUbuntuesm-infra-legacy/trusty*
OpensmtpdUbuntutrusty*
OpensmtpdUbuntutrusty/esm*
OpensmtpdUbuntuupstream*
OpensmtpdUbuntuvivid*
OpensmtpdUbuntuwily*
OpensmtpdUbuntuyakkety*
OpensmtpdUbuntuzesty*

Potential Mitigations

References