Skip to content
Heist/ feed
Back to feed
Medium

tnef — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-103680

A flaw was found in tnef. A heap-based buffer overflow can occur in the find_free_number() function when generating numbered backup suffixes for duplicate filenames. When numbered backups are enabled and file overwriting is disabled, an attacker can supply a specially crafted Transport Neutral Encapsulation Format (TNEF) file with an excessive number of colliding attachment filenames, causing the numeric counter to write past the allocated memory buffer. This issue may result in an application crash, leading to a Denial of Service (DoS), or potentially arbitrary code execution.

Products
tnef
Affected versions
1.4.12-1.2, 1.4.18-1, 1.4.18-3, 1.4.18-5, 1.4.18-5build1, 1.4.18-6, 1.4.9-1, 1.4.9-1+deb8u2build0.16.04.1, 1.4.9-1+deb8u3build0.16.04.1, 1.4.9-1+deb8u4build0.16.04.1
Fixed versions
Not specified
CVEs
CVE-2026-103680
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:58 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-103680

core-osv · Original source

Published 1 Oct 2026, 12:17 UTC

A flaw was found in tnef. A heap-based buffer overflow can occur in the find_free_number() function when generating numbered backup suffixes for duplicate filenames. When numbered backups are enabled and file overwriting is disabled, an attacker can supply a specially crafted Transport Neutral Encapsulation Format (TNEF) file with an excessive number of colliding attachment filenames, causing the numeric counter to write past the allocated memory buffer. This issue may result in an application crash, leading to a Denial of Service (DoS), or potentially arbitrary code execution.

osv:UBUNTU-CVE-2026-103680

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

tnef

Fixed versions: Not specified

Complete source record
{
  "id": "05a93e9608fe75e6b0682fdead38e19583ee391b25b1bb627367df12cdd34141",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-103680",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-103680",
    "summary": "A flaw was found in tnef. A heap-based buffer overflow can occur in the find_free_number() function when generating numbered backup suffixes for duplicate filenames. When numbered backups are enabled and file overwriting is disabled, an attacker can supply a specially crafted Transport Neutral Encapsulation Format (TNEF) file with an excessive number of colliding attachment filenames, causing the numeric counter to write past the allocated memory buffer. This issue may result in an application crash, leading to a Denial of Service (DoS), or potentially arbitrary code execution.",
    "evidence": "osv:UBUNTU-CVE-2026-103680",
    "products": [
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.9-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.9-1+deb8u2build0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.9-1+deb8u3build0.16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.9-1+deb8u4build0.16.04.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.12-1.2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.12-1.2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.4.18-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.18-3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.18-3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.18-5build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.4.18-6",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "tnef",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.18-5",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.4.18-5build1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-103680",
      "aliases": [
        "UBUNTU-CVE-2026-103680"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.4.9-1",
            "1.4.9-1+deb8u2build0.16.04.1",
            "1.4.9-1+deb8u3build0.16.04.1",
            "1.4.9-1+deb8u4build0.16.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.9-1+deb8u4build0.16.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.4.12-1.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.12-1.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.4.12-1.2",
            "1.4.18-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.18-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.4.18-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.18-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.4.18-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.18-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.4.18-5build1",
            "1.4.18-6"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.18-6"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "tnef",
            "purl": "pkg:deb/ubuntu/tnef?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.4.18-5",
            "1.4.18-5build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103680.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "tnef",
                "binary_version": "1.4.18-5build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:58.394823871Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-103680"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-103680",
        "https://www.cve.org/CVERecord?id=CVE-2026-103680",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2544478",
        "https://access.redhat.com/security/cve/CVE-2026-103680",
        "https://github.com/verdammelt/tnef"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-103680",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 357799,
  "published_at": "2026-10-01T12:17:00+00:00"
}