Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-6307

An issue was discovered in tnef before 1.4.13. Two OOB Writes have been identified in src/mapi_attr.c:mapi_attr_read(). 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-6307
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:24 UTC · Revision 1

Source evidence

CVE-2017-6307

core-osv · Original source

Published 24 Feb 2017, 04:59 UTC

An issue was discovered in tnef before 1.4.13. Two OOB Writes have been identified in src/mapi_attr.c:mapi_attr_read(). These might lead to invalid read and write operations, controlled by an attacker.

osv:CVE-2017-6307
Complete source record
{
  "id": "434b1cc3ae728a175fb74c3b8ab2dd03c4d2e56e64ba9ddfdffedb0854eaaca2",
  "url": "https://osv.dev/vulnerability/CVE-2017-6307",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-6307",
    "summary": "An issue was discovered in tnef before 1.4.13. Two OOB Writes have been identified in src/mapi_attr.c:mapi_attr_read(). These might lead to invalid read and write operations, controlled by an attacker.",
    "evidence": "osv:CVE-2017-6307",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-6307",
      "aliases": [
        "CVE-2017-6307"
      ],
      "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": "1a17af1ed0c791aec44dbdc9eab91218cc1e335a"
                }
              ],
              "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": "1a17af1ed0c791aec44dbdc9eab91218cc1e335a"
                      }
                    ],
                    "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-6307.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-6307-5b4e47d7",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "331810224509785848595262136984167260140",
                    "260962124637707873368913484303050040795",
                    "141019743114053550504356423095494547089",
                    "19364815697857148499323691621143556093",
                    "57499698903805870635948258601093281470",
                    "45004393790846653466737137423708067539",
                    "176885340920489889989049669380019856010",
                    "99386628911951047775383660862539188998",
                    "173943463922568384106086338214791285594",
                    "268077827556075707879214215960654627914",
                    "14907159593144973976123842902063205786",
                    "268684168776168329584259450879773126456",
                    "219091945618742983414560302651495518848"
                  ]
                },
                "source": "https://github.com/verdammelt/tnef/commit/1a17af1ed0c791aec44dbdc9eab91218cc1e335a",
                "target": {
                  "file": "src/mapi_attr.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-6307-68e6f7f1",
                "digest": {
                  "length": 3935,
                  "function_hash": "84843184331934401214275491645157137753"
                },
                "source": "https://github.com/verdammelt/tnef/commit/1a17af1ed0c791aec44dbdc9eab91218cc1e335a",
                "target": {
                  "file": "src/mapi_attr.c",
                  "function": "mapi_attr_read"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:27:47Z"
          }
        }
      ],
      "modified": "2026-10-20T13:27:47.373083873Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201708-02",
        "https://github.com/verdammelt/tnef/blob/master/ChangeLog",
        "https://github.com/verdammelt/tnef/commit/1a17af1ed0c791aec44dbdc9eab91218cc1e335a",
        "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-6307",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387710,
  "published_at": "2017-02-24T04:59:00.56+00:00"
}