Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-6309

An issue was discovered in tnef before 1.4.13. Two type confusions have been identified in the parse_file() function. These might lead to invalid read and write operations, controlled by an attacker.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-6309
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:24 UTC · Revision 1

Source evidence

CVE-2017-6309

core-osv · Original source

Published 24 Feb 2017, 04:59 UTC

An issue was discovered in tnef before 1.4.13. Two type confusions have been identified in the parse_file() function. These might lead to invalid read and write operations, controlled by an attacker.

osv:CVE-2017-6309
Complete source record
{
  "id": "54ae16ea3e560ab446b93bd12fbe36dca1f4d6ea66f70e8c0a7e0001bcd174f2",
  "url": "https://osv.dev/vulnerability/CVE-2017-6309",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-6309",
    "summary": "An issue was discovered in tnef before 1.4.13. Two type confusions have been identified in the parse_file() function. These might lead to invalid read and write operations, controlled by an attacker.",
    "evidence": "osv:CVE-2017-6309",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-6309",
      "aliases": [
        "CVE-2017-6309"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/verdammelt/tnef",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "99c70157998ff5f3c3e0fd1669c7cffdaaa32048"
                },
                {
                  "fixed": "8dccf79857ceeb7a6d3e42c1e762e7b865d5344d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tnef_project:tnef:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8dccf79857ceeb7a6d3e42c1e762e7b865d5344d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.12",
            "TNEF-1.4.11",
            "1.4.11",
            "TNEF-1.4.10",
            "1.4.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6309.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-6309-41fb9249",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "198026675381378598136918978559635950715",
                    "197883137458325931566429736762297798740",
                    "55569942874643385056030519403425481236",
                    "315820125707022736023271826673519098703",
                    "184317996038389850484672192953773378205",
                    "185285453203974010001543747009674356702",
                    "80138880471179500448504686847742226734",
                    "118583104950737412050101628815895397609",
                    "159019980136055312002084872532628473077",
                    "335174517789474268564351573248308841282",
                    "196739265562039891779507603759542927473",
                    "145465205284422879697832471009261215398",
                    "266273557503046323279278437259720171094",
                    "162230972970127941688280272217823109658",
                    "198924396823051808120438216530619477695",
                    "245336452210896202368680760890556705875"
                  ]
                },
                "source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
                "target": {
                  "file": "src/tnef.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6309-72677e04",
                "digest": {
                  "length": 477,
                  "function_hash": "319602346909933704118455433288689047607"
                },
                "source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
                "target": {
                  "file": "src/tnef.c",
                  "function": "get_html_data"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6309-8620f38b",
                "digest": {
                  "length": 2259,
                  "function_hash": "310883956494664830628554080819429850455"
                },
                "source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
                "target": {
                  "file": "src/tnef.c",
                  "function": "parse_file"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6309-878b188d",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "138151071769226433556075413545005393756",
                    "277135416163209951123219148322374609393",
                    "126412037363254035877338532476883334812",
                    "331374001695761126880190164601914750198",
                    "99585233513506211196752181403776154016",
                    "314080117118958604106246441226585877142",
                    "172483809180712672819741677129296806873",
                    "77889792418256651879989494878836407546",
                    "213532925311297395984295287185050104659",
                    "61778962349337913486931847971946079889",
                    "121809170507165259310226444774030796799",
                    "101885054850481646565370498312837885335",
                    "36113953897462618777792659918891145030",
                    "52095504080876854231110348601564875882",
                    "157692707517904794838219806960429053206",
                    "213513085965865402180640687198932305285",
                    "96058814765431795254970051666436839601"
                  ]
                },
                "source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
                "target": {
                  "file": "src/file.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6309-bc847a50",
                "digest": {
                  "length": 1190,
                  "function_hash": "256870819728380308798399002191052231"
                },
                "source": "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
                "target": {
                  "file": "src/file.c",
                  "function": "file_add_mapi_attrs"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:27:47Z"
          }
        }
      ],
      "modified": "2026-10-20T13:27:47.761490106Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201708-02",
        "https://github.com/verdammelt/tnef/blob/master/ChangeLog",
        "https://github.com/verdammelt/tnef/commit/8dccf79857ceeb7a6d3e42c1e762e7b865d5344d",
        "https://www.x41-dsec.de/lab/advisories/x41-2017-004-tnef/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-6309",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387711,
  "published_at": "2017-02-24T04:59:00.637+00:00"
}