CVE-2017-6298
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9....
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
CVE-2017-6298- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
CVE-2017-6298- Updated
- 2026-11-02
EUVDEUVD-2017-15359 No score
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
EUVD-2017-15359- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-85cf-r4vp-j6mv
7.8
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9....
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
GHSA-85cf-r4vp-j6mv- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
7.8
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
CVE-2017-6298- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-6298
7.8
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
DEBIAN-CVE-2017-6298- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-6298
7.8
An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "1 of 9. Null Pointer Deref / calloc return value not checked."
- Record
UBUNTU-CVE-2017-6298- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0174 No score
Updated libytnef packages fix security vulnerabilities
Several issues were discovered in libytnef, a library used to decode application/ms-tnef e-mail attachments. Multiple heap overflows, out-of-bound writes and reads, NULL pointer dereferences and infinite loops could be exploited by tricking a user into opening a maliciously crafted winmail.dat file (CVE-2017-6298, CVE-2017-6299, CVE-2017-6300, CVE-2017-6301, CVE-2017-6302, CVE-2017-6303, CVE-2017-6304, CVE-2017-6305, CVE-2017-6306, CVE-2017-6800, CVE-2017-6801, CVE-2017-6802).
A heap-buffer-overflow vulnerability in libytnef due to an incorrect boundary checking in SIZECHCK macro in lib/ytnef.c (CVE-2017-9058).
- Record
MGASA-2017-0174- Updated
- 2026-11-02
OSVUSN-3288-1 No score
libytnef vulnerabilities
It was discovered that libytnef incorrectly handled malformed TNEF streams. If a user were tricked into opening a specially crafted TNEF attachment, an attacker could cause a denial of service or possibly execute arbitrary code.
- Record
USN-3288-1- Updated
- 2026-11-02
OSVUSN-4615-1 No score
libytnef vulnerabilities
It was discovered that Yerase's TNEF had null pointer dereferences, infinite loop, buffer overflow, out of bounds reads, directory traversal issues and other vulnerabilities. An attacker could use those issues to cause a crash and consequently a denial of service. (CVE-2017-6298, CVE-2017-6299, CVE-2017-6300, CVE-2017-6301, CVE-2017-6302, CVE-2017-6303, CVE-2017-6304, CVE-2017-6305, CVE-2017-6306, CVE-2017-6800, CVE-2017-6801, CVE-2017-6802)
- Record
USN-4615-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libytnefDebian:12 |
before 1.9.1-1 | 1.9.1-1 |
libytnefDebian:13 |
before 1.9.1-1 | 1.9.1-1 |
libytnefDebian:14 |
before 1.9.1-1 | 1.9.1-1 |
libytnefDebian:7 |
before 1.5-4+deb7u1, plus listed versions 1.5-4 |
1.5-4+deb7u1 |
libytnefDebian:8 |
before 1.5-6+deb8u1, plus listed versions 1.5-6 |
1.5-6+deb8u1 |
libytnefMageia:5 |
before 1.5-10.2.mga5 | 1.5-10.2.mga5 |
libytnefUbuntu:14.04:LTS |
before 1.5-6ubuntu0.1, plus listed versions 1.5-51.5-6 |
1.5-6ubuntu0.1 |
libytnefUbuntu:16.04:LTS |
before 1.5-9ubuntu0.1, plus listed versions 1.5-61.5-9 |
1.5-9ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-6298 is a high vulnerability (CVSS 7.8) in Ytnef Project Ytnef, published February 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.45%, the 73rd percentile. Fixed in libytnef 1.9.1-1.
References
securityfocus.com/bid/96423
openwall.com/lists/oss-security/2017/02/15/4
github.com/Yeraze/ytnef/pull/27
debian.org/security/2017/dsa-3846
x41-dsec.de/lab/advisories/x41-2017-002-ytnef
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFJWMUEUC4ILH2HEOCYVVLQT654ZMCGQ
Show 22 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-6298
lists.fedoraproject.org/archives/list/[email protected]/message/LFJWMUEUC4ILH2HEOCYVVLQT654ZMCGQ
github.com/advisories/GHSA-85cf-r4vp-j6mv
security-tracker.debian.org/tracker/CVE-2017-6298
advisories.mageia.org/MGASA-2017-0174.html
bugs.mageia.org/show_bug.cgi?id=20893
bugs.debian.org/cgi-bin/bugreport.cgi?bug=862556
ubuntu.com/security/CVE-2017-6298
ubuntu.com/security/notices/USN-3288-1
ubuntu.com/security/notices/USN-4615-1
cve.org/CVERecord?id=CVE-2017-6298
ubuntu.com/security/CVE-2017-6299
ubuntu.com/security/CVE-2017-6300
ubuntu.com/security/CVE-2017-6301
ubuntu.com/security/CVE-2017-6302
ubuntu.com/security/CVE-2017-6303
ubuntu.com/security/CVE-2017-6304
ubuntu.com/security/CVE-2017-6305
ubuntu.com/security/CVE-2017-6306
ubuntu.com/security/CVE-2017-6800
ubuntu.com/security/CVE-2017-6801
ubuntu.com/security/CVE-2017-6802