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

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

Name Vendor Start Version End Version
Opensmtpd Openbsd * 5.7.1 (including)
Opensmtpd Ubuntu artful *
Opensmtpd Ubuntu esm-infra-legacy/trusty *
Opensmtpd Ubuntu trusty *
Opensmtpd Ubuntu trusty/esm *
Opensmtpd Ubuntu upstream *
Opensmtpd Ubuntu vivid *
Opensmtpd Ubuntu wily *
Opensmtpd Ubuntu yakkety *
Opensmtpd Ubuntu zesty *

Potential Mitigations

References