CVE-2017-12141
Medium · 5.5CVSS
5.5
EPSS
1.1%
Published
Aug 2, 2017
CISA due date
—
Cloudanix analysis
A bug in software that reads certain email files lets attackers crash the program by sending one specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in TNEFFillMapi allows crafted TNEF input to trigger memory corruption and denial of service.
Why it matters to the business
Processing of malicious email attachments can crash dependent services, causing operational disruption until the affected component is restarted or updated.
How an attack unfolds
An attacker creates a specially crafted TNEF file that overflows a heap buffer inside TNEFFillMapi, then delivers the file through email or file shares so that a victim application using the vulnerable ytnef library opens it and crashes.
How to fix it
Upgrade ytnef to a patched release; for fulcio-fips (Chainguard) update to version 1.4.3-r2 or later.
How to confirm the fix worked
Confirm the installed ytnef version meets or exceeds the fixed release, then attempt to open a known-triggering test file in a controlled environment to verify absence of crash.
Typical attack path
- Craft a TNEF file that triggers the overflow in TNEFFillMapi
- Deliver the file to the target via email attachment or shared storage
- Victim application opens the file using the vulnerable library
- Heap corruption occurs, resulting in denial of service
How to detect it
Monitor application logs and crash reports for ytnef process terminations when handling TNEF files; inspect inbound email or file shares for files that reference TNEFFillMapi in stack traces.
- TNEFFillMapi
- ytnef.c
What your security team should do
- Apply the listed fixed version immediately on all systems that parse TNEF content
- Block or sandbox untrusted TNEF attachments until patching is complete
- Add ytnef version checks to software inventory and vulnerability scanning
The record
In ytnef 1.9.2, a heap-based buffer overflow vulnerability was found in the function TNEFFillMapi in ytnef.c, which allows attackers to cause a denial of service via a crafted file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | libytnef | 0 | 1.9.3-1 |
| Debian:11 | libytnef | 0 | 1.9.3-1 |
| Debian:12 | libytnef | 0 | 1.9.3-1 |
| Debian:13 | libytnef | 0 | 1.9.3-1 |
| Ubuntu:14.04:LTS | libytnef | 0 | 1.5-6ubuntu0.2 |
| Ubuntu:16.04:LTS | libytnef | 0 | No fix |
| Ubuntu:18.04:LTS | libytnef | 0 | No fix |
| Ubuntu:20.04:LTS | libytnef | 0 | 1.9.3-1 |
| Ubuntu:Pro:16.04:LTS | libytnef | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libytnef | 0 | No fix |
Related vulnerabilities
- CVE-2017-6298 An issue was discovered in ytnef before 1.9.1. Also affects libytnef
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119
- CVE-2026-87933 A vulnerability was found in DaveGamble cJSON up to 1.7.19. CWE-119