Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-5357

wiretap/netscreen.c in the NetScreen file parser in Wireshark 1.12.x before 1.12.12 and 2.x before 2.0.4 mishandles sscanf unsigned-integer processing, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-5357
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:04 UTC · Revision 1

Source evidence

CVE-2016-5357

core-osv · Original source

Published 7 Aug 2016, 16:59 UTC

wiretap/netscreen.c in the NetScreen file parser in Wireshark 1.12.x before 1.12.12 and 2.x before 2.0.4 mishandles sscanf unsigned-integer processing, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

osv:CVE-2016-5357
Complete source record
{
  "id": "548bd0231d6e42c2f70498d7b5064d98c645ed01069bac6eff42e12db435c23a",
  "url": "https://osv.dev/vulnerability/CVE-2016-5357",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-5357",
    "summary": "wiretap/netscreen.c in the NetScreen file parser in Wireshark 1.12.x before 1.12.12 and 2.x before 2.0.4 mishandles sscanf unsigned-integer processing, which allows remote attackers to cause a denial of service (application crash) via a crafted file.",
    "evidence": "osv:CVE-2016-5357",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-5357",
      "aliases": [
        "CVE-2016-5357"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wireshark/wireshark",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4fab41a1f0e14e9124ea6a61e7bae42e95599495"
                },
                {
                  "last_affected": "eed34f0ac6696c053585ddf75c5805b3d5b395cf"
                },
                {
                  "fixed": "11edc83b98a61e890d7bb01855389d40e984ea82"
                },
                {
                  "fixed": "6a140eca7b78b230f1f90a739a32257476513c78"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.0"
                      },
                      {
                        "last_affected": "1.12.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.1"
                      },
                      {
                        "last_affected": "1.12.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.2"
                      },
                      {
                        "last_affected": "1.12.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.3"
                      },
                      {
                        "last_affected": "1.12.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.4"
                      },
                      {
                        "last_affected": "1.12.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.5"
                      },
                      {
                        "last_affected": "1.12.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.6"
                      },
                      {
                        "last_affected": "1.12.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.7"
                      },
                      {
                        "last_affected": "1.12.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.8"
                      },
                      {
                        "last_affected": "1.12.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.9"
                      },
                      {
                        "last_affected": "1.12.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.10"
                      },
                      {
                        "last_affected": "1.12.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.11:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.11"
                      },
                      {
                        "last_affected": "1.12.11"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "last_affected": "2.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.1"
                      },
                      {
                        "last_affected": "2.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.2"
                      },
                      {
                        "last_affected": "2.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.3"
                      },
                      {
                        "last_affected": "2.0.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "11edc83b98a61e890d7bb01855389d40e984ea82"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6a140eca7b78b230f1f90a739a32257476513c78"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.12.0",
            "1.12.1",
            "1.12.10",
            "1.12.11",
            "1.12.2",
            "1.12.3",
            "1.12.4",
            "1.12.5",
            "1.12.6",
            "1.12.7",
            "1.12.8",
            "1.12.9",
            "2.0.0",
            "2.0.1",
            "2.0.2",
            "2.0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5357.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-5357-00835cc5",
                "digest": {
                  "length": 788,
                  "function_hash": "98239000270995448767473181886240178573"
                },
                "source": "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78",
                "target": {
                  "file": "wiretap/netscreen.c",
                  "function": "netscreen_read"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-5357-38a1d6cc",
                "digest": {
                  "length": 1544,
                  "function_hash": "310492478336291658440438047225850288891"
                },
                "source": "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78",
                "target": {
                  "file": "wiretap/netscreen.c",
                  "function": "parse_netscreen_hex_dump"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-5357-83990c0c",
                "digest": {
                  "length": 768,
                  "function_hash": "234810306649360696368612009053259286587"
                },
                "source": "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78",
                "target": {
                  "file": "wiretap/netscreen.c",
                  "function": "netscreen_seek_read"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-5357-9a86d003",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "109475646978613999986127213607198642255",
                    "31250380566604121006023533031274933807",
                    "128186068565790674656003218156289851476",
                    "184467115614294525121351481207623274728",
                    "226320035520535408245528099391062491307",
                    "137947243736615525726454514308735408782",
                    "332344770437889434274473929757632277831",
                    "139654004497125251504953015321724793407",
                    "125200190841223299577388640139496519386",
                    "283708670620639808617747627923471401057",
                    "228251962372517566534841166870765356299",
                    "315759100949583105975081430943034359561",
                    "10046933023875093934650077765511237755",
                    "112844300964706764556975919808167960375",
                    "50768720689229473459579299650298286369",
                    "10792207804164676233823492954455920172",
                    "90521540886282356483254764106717180036",
                    "97711214562874904283510055494897710692",
                    "22182251046381454853903247751150562378",
                    "38943378600046075296652564523451838730",
                    "61506652746081863796704139677512019631",
                    "312610214331752530546693335488820930154",
                    "170175544118682052050390816087325591647",
                    "207194964982115395535313158946756247080",
                    "13647484865104971108870563627455869576",
                    "307766772128077608125506668669048175057",
                    "235046698484296628044260998947668262918",
                    "53708909563104960111221861400099898300",
                    "167332118977410523050450623396657070232",
                    "10046933023875093934650077765511237755",
                    "112844300964706764556975919808167960375",
                    "164213728885918997765123004541710993518",
                    "250313011244564001884300762445190565244",
                    "82464802188891902898462280829748842062",
                    "228840652260579822937008072346897301682",
                    "79787929106734837492628296664948077450",
                    "312694673570479441064569441049412183797",
                    "289659649557585729479521028421730737707",
                    "289449505711191402122366991914701939017",
                    "306709811458662945414099747632256862846",
                    "294546088051136211404083440411801887350",
                    "312605284310560461110318528838486924570",
                    "142106576275545966262484301029372038045",
                    "212381695052438160820547775878783658703",
                    "197911476188472350181712079070704543650",
                    "29016802612924596716274197577645654798",
                    "199008813213517817483996695371522819201",
                    "277254033387466141670527795030520355592",
                    "243502880721624289672561981080968335980",
                    "35965257033616782937359629898183719450",
                    "14346972361329608056566745214057074684",
                    "289890677437462536923936308586063848016",
                    "99666373310571738195855058849330475237",
                    "230859420400312803066578391580323969585",
                    "324527876364316285220191673228545001177",
                    "301878905189817756058615002378638632141",
                    "214765399204310005320456716340136437856",
                    "222335742138378612226682727400375132370",
                    "218698307628847458790863771005318429445",
                    "172579053750884770117787724915851063981",
                    "36772077030893572830806947336995140904",
                    "227280925992583994919404844063869811194",
                    "49866558023275319895795719144692070467",
                    "187997894282389544965458939105251302948",
                    "38240843669630782258970647425875920915",
                    "13806843815478590139944087350226712559",
                    "188301810577913565160991406845097654428",
                    "208700558165247480300913208029981043225",
                    "170756894144510658077833488756654233803",
                    "50739313137086661958370718542164688521",
                    "175968835641059310330191981889026052719",
                    "34737157420580369537594918406172212411",
                    "208500226995836840410863570763815034803",
                    "290406268255681460191706657126768228029",
                    "243113330824981993778347704263166889979",
                    "29817125151724185619797771661082022646",
                    "340214324164455355655187627561608861517",
                    "194549503693958020006573565778087588681",
                    "196278896440396998061009722430404166563",
                    "92312408734595828371340804090576208361",
                    "274129395972988686365691901341674471812",
                    "51413913904960638268639352831260293292",
                    "159378292472965878101319925362921947710",
                    "21047736565076430821581996937289980756",
                    "23398699936719563656945659948653878845",
                    "101947065059202720645984880112419463170",
                    "107372472086380005734627344136484125167"
                  ]
                },
                "source": "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78",
                "target": {
                  "file": "wiretap/netscreen.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-5357-c1ce2a63",
                "digest": {
                  "length": 734,
                  "function_hash": "66077551193982782672056802698583344450"
                },
                "source": "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78",
                "target": {
                  "file": "wiretap/netscreen.c",
                  "function": "parse_netscreen_rec_hdr"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:05:30Z"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/wireshark/wireshark",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4fab41a1f0e14e9124ea6a61e7bae42e95599495"
                },
                {
                  "last_affected": "eed34f0ac6696c053585ddf75c5805b3d5b395cf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.0"
                      },
                      {
                        "last_affected": "1.12.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.1"
                      },
                      {
                        "last_affected": "1.12.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.2"
                      },
                      {
                        "last_affected": "1.12.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.3"
                      },
                      {
                        "last_affected": "1.12.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.4"
                      },
                      {
                        "last_affected": "1.12.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.5"
                      },
                      {
                        "last_affected": "1.12.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.6"
                      },
                      {
                        "last_affected": "1.12.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.7"
                      },
                      {
                        "last_affected": "1.12.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.8"
                      },
                      {
                        "last_affected": "1.12.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.9"
                      },
                      {
                        "last_affected": "1.12.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.10"
                      },
                      {
                        "last_affected": "1.12.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:1.12.11:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.11"
                      },
                      {
                        "last_affected": "1.12.11"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "last_affected": "2.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.1"
                      },
                      {
                        "last_affected": "2.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.2"
                      },
                      {
                        "last_affected": "2.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:wireshark:wireshark:2.0.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.3"
                      },
                      {
                        "last_affected": "2.0.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.12.0",
            "1.12.1",
            "1.12.10",
            "1.12.11",
            "1.12.2",
            "1.12.3",
            "1.12.4",
            "1.12.5",
            "1.12.6",
            "1.12.7",
            "1.12.8",
            "1.12.9",
            "2.0.0",
            "2.0.1",
            "2.0.2",
            "2.0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5357.json"
          }
        }
      ],
      "modified": "2026-10-24T14:05:30.688846934Z",
      "provider": "osv",
      "references": [
        "https://www.wireshark.org/security/wnpa-sec-2016-36.html",
        "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=12396",
        "https://github.com/wireshark/wireshark/commit/11edc83b98a61e890d7bb01855389d40e984ea82",
        "https://github.com/wireshark/wireshark/commit/6a140eca7b78b230f1f90a739a32257476513c78"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:solaris",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.3"
                  },
                  {
                    "last_affected": "11.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-5357",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442961,
  "published_at": "2016-08-07T16:59:12.127+00:00"
}