CVE-2026-130499
Description
A flaw was found in tnef, a tool that decodes TNEF (winmail.dat) email attachments. When tnef processes a crafted attachment and prints attachment details, such as MIME types, it can read past the end of an internal buffer. This can disclose small amounts of memory contents in the application output or cause the application to crash.
Statement
Red Hat rates this vulnerability as Moderate because a crafted TNEF (winmail.dat) attachment can make tnef read past the end of an internal buffer when printing attachment details, but the information exposed is limited to fragments of the process's own memory and a crash requires an unfavorable memory layout. tnef is not provided or maintained in Red Hat Enterprise Linux or other Red Hat offerings, so standard enterprise installations remain unaffected. The out-of-bounds read only occurs when tnef is invoked with attachment listing enabled, such as in MIME-aware mail processing pipelines.
Mitigation
Avoid the -v and --list-with-mime-types output modes when processing untrusted TNEF files; the malformed buffer is only read in those modes. Filtering TNEF (winmail.dat) attachments before they reach tnef-decoding gateways or scanners also mitigates.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.
Confidentiality
Technical Impact: Bypass Protection Mechanism
Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.
Other
Technical Impact: Varies by Context
The read operation could produce other undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.