CVE-2026-130498
Description
A flaw was found in tnef, a tool that decodes TNEF (winmail.dat) email attachments. When processing a crafted attachment, tnef can be made to request an excessively large amount of memory, with the size controlled by the attacker. This can crash the application, or cause it to be killed due to memory exhaustion in memory-limited deployments such as containerized mail gateways and antivirus scanners. An attacker who can send crafted email attachments to a system that decodes them with tnef can repeatedly disrupt the decoding process, resulting in a denial of service.
Statement
Red Hat rates this vulnerability as Moderate because a small crafted TNEF (winmail.dat) attachment can make tnef request an attacker-controlled amount of memory, crashing the application or exhausting the memory of the decoding process, but the impact is limited to the availability of the tnef process itself. tnef is not provided or maintained in Red Hat Enterprise Linux or other Red Hat offerings, so standard enterprise installations remain unaffected. The most exposed deployments are automated mail gateways and antivirus scanners that decode TNEF attachments, particularly when they run under memory limits.
Mitigation
The non-default --maxsize/-x option bounds tnef's allocations and rejects the oversized request cleanly. Filtering TNEF (winmail.dat) attachments before they reach tnef-decoding gateways or scanners also mitigates.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (Memory)
Not controlling memory allocation can result in a request for too much system memory, possibly leading to a crash of the application due to out-of-memory conditions, or the consumption of a large amount of memory on the system.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.