Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12997

The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-lldp.c:lldp_private_8021_print().

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12997
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:59 UTC · Revision 1

Source evidence

CVE-2017-12997

core-osv · Original source

Published 14 Sept 2017, 06:29 UTC

The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-lldp.c:lldp_private_8021_print().

osv:CVE-2017-12997
Complete source record
{
  "id": "38d2f472e18e863cf7e2f1777ec14b8c93a23364c0189212c421011ce281eba8",
  "url": "https://osv.dev/vulnerability/CVE-2017-12997",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12997",
    "summary": "The LLDP parser in tcpdump before 4.9.2 could enter an infinite loop due to a bug in print-lldp.c:lldp_private_8021_print().",
    "evidence": "osv:CVE-2017-12997",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-12997",
      "aliases": [
        "CVE-2017-12997"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/the-tcpdump-group/tcpdump",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "993a67c8e648bc8b19881e29a60f41273cfbee7b"
                },
                {
                  "fixed": "34cec721d39c76be1e0a600829a7b17bdfb832b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "34cec721d39c76be1e0a600829a7b17bdfb832b6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "tcpdump-4.9.1",
            "tcpdump-4.9.0",
            "tcpdump-4.9.0-bp",
            "tcpdump-4.7.0-bp",
            "tcpdump-4.6.0-bp",
            "tcpdump-4.6.0",
            "tcpdump-4.5.0",
            "tcpdump-3.8-bp",
            "tcpdump-3.7.1",
            "tcpdump-3.6.1",
            "tcpdump-3.5.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12997.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-12997-58ea8a65",
                "digest": {
                  "length": 5871,
                  "function_hash": "1885717028255664028988507052205420652"
                },
                "source": "https://github.com/the-tcpdump-group/tcpdump/commit/34cec721d39c76be1e0a600829a7b17bdfb832b6",
                "target": {
                  "file": "print-lldp.c",
                  "function": "lldp_private_8021_print"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-12997-a06a8984",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "74544335452402900651937902790664826624",
                    "162434760775406061849094769297440321055",
                    "235121720973665958348604678502699247504",
                    "142543695188466190577486799355006657278",
                    "295400370259204944089056546972592272984",
                    "150842100437704287684774663276946911020",
                    "166407419649807776275491154886288005496",
                    "311871776310507690437950924185119220620",
                    "46000881761558309334053379414877950803",
                    "79061019225880693557119226300733005865"
                  ]
                },
                "source": "https://github.com/the-tcpdump-group/tcpdump/commit/34cec721d39c76be1e0a600829a7b17bdfb832b6",
                "target": {
                  "file": "print-lldp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:02:20Z"
          }
        }
      ],
      "modified": "2026-10-24T14:02:20.514959154Z",
      "provider": "osv",
      "references": [
        "https://support.apple.com/HT208221",
        "https://access.redhat.com/errata/RHEA-2018:0705",
        "https://security.gentoo.org/glsa/201709-23",
        "https://github.com/the-tcpdump-group/tcpdump/commit/34cec721d39c76be1e0a600829a7b17bdfb832b6"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "tcpdump:tcpdump",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "4.9.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-12997",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442720,
  "published_at": "2017-09-14T06:29:00.997+00:00"
}