CVE-2015-7687: Use After Free

Published Oct 5, 2015
·
Updated

Several vulnerabilities have been fixed in OpenSMTPD 5.7.2:

- an oversight in the portable version of fgetln() that allows attackers to read and write out-of-bounds memory;

- multiple denial-of-service vulnerabilities that allow local users to kill or hang OpenSMTPD;

- a stack-based buffer overflow that allows local users to crash OpenSMTPD, or execute arbitrary code as the non-chrooted smtpd user;

- a hardlink attack (or race-conditioned symlink attack) that allows local users to unset the chflags() of arbitrary files;

- a hardlink attack that allows local users to read the first line of arbitrary files (for example, root's hash from /etc/master.passwd);

- a denial-of-service vulnerability that allows remote attackers to fill OpenSMTPD's queue or mailbox hard-disk partition;

- an out-of-bounds memory read that allows remote attackers to crash OpenSMTPD, or leak information and defeat the ASLR protection;

- a use-after-free vulnerability that allows remote attackers to crash OpenSMTPD, or execute arbitrary code as the non-chrooted smtpd user;

Further details can be found in Qualys' audit report:

http://seclists.org/oss-sec/2015/q4/17

MITRE has assigned one CVE for the use-after-free vulnerability; additional CVEs may be assigned:

http://seclists.org/oss-sec/2015/q4/23

External References:

https://www.opensmtpd.org/announces/release-5.7.2.txt http://seclists.org/oss-sec/2015/q4/17

Other sources

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 reqcavrfysmtp and reqcavrfymta.

MITRE

Affected Software

4 affected componentsFixes available
redhat/OpenSMTPD<5.7.2
5.7.2
OpenBSD OpenSMTPD<=5.7.1
Fedoraproject Fedora=22
Fedoraproject Fedora=23

Event History

Oct 16, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-7687?

CVE-2015-7687 has been classified with a high severity due to its potential for causing denial-of-service and memory corruption.

2

How do I fix CVE-2015-7687?

To mitigate CVE-2015-7687, upgrade OpenSMTPD to version 5.7.2 or later.

3

What vulnerabilities are identified in CVE-2015-7687?

CVE-2015-7687 identifies multiple vulnerabilities including out-of-bounds memory access and denial-of-service conditions.

4

Which versions of OpenSMTPD are affected by CVE-2015-7687?

OpenSMTPD versions prior to 5.7.2 are affected by CVE-2015-7687.

5

Can CVE-2015-7687 lead to remote code execution?

CVE-2015-7687 does not specifically indicate the potential for remote code execution but it can lead to significant service disruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203