{"api_version":"1","generated_at":"2026-07-23T04:53:53+00:00","cve":"CVE-2012-5240","urls":{"html":"https://cve.report/CVE-2012-5240","api":"https://cve.report/api/cve/CVE-2012-5240.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-5240","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-5240"},"summary":{"title":"CVE-2012-5240","description":"Buffer overflow in the dissect_tlv function in epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a malformed packet.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-10-04 19:55:00","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5.8","severity":"","vector":"AV:A/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:A/AC:L/Au:N/C:P/I:P/A:P","baseScore":5.8,"accessVector":"ADJACENT_NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.wireshark.org/security/wnpa-sec-2012-29.html","name":"http://www.wireshark.org/security/wnpa-sec-2012-29.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Wireshark · wnpa-sec-2012-29","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15691","name":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15691","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Repository  /  Oval Repository","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567","name":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"7567 – Capture file that crashes wireshark in packet-ldp.c","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046","name":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"7046 – Enhancement to LDP dissector to support changes proposed in RFC6391 - flow aware transport of PW over an MPLS PSN","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801","name":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"code.wireshark Code Review - wireshark.git/tree","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id?1027604","name":"http://www.securitytracker.com/id?1027604","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Wireshark HSRP/PPP/LDP Bugs Let Remote Users Deny Service - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801","name":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"code.wireshark Code Review - wireshark.git/tree","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/55754","name":"http://www.securityfocus.com/bid/55754","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Wireshark Versions Prior to 1.8.3 Multiple Security Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5240","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5240","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"5240","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wireshark","cpe5":"wireshark","cpe6":"1.8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5240","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wireshark","cpe5":"wireshark","cpe6":"1.8.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"5240","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"wireshark","cpe5":"wireshark","cpe6":"1.8.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T20:58:03.480Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.wireshark.org/security/wnpa-sec-2012-29.html"},{"name":"55754","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/55754"},{"name":"oval:org.mitre.oval:def:15691","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15691"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801"},{"name":"1027604","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1027604"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-10-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"Buffer overflow in the dissect_tlv function in epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a malformed packet."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-18T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.wireshark.org/security/wnpa-sec-2012-29.html"},{"name":"55754","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/55754"},{"name":"oval:org.mitre.oval:def:15691","tags":["vdb-entry","signature","x_refsource_OVAL"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15691"},{"tags":["x_refsource_CONFIRM"],"url":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801"},{"name":"1027604","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1027604"},{"tags":["x_refsource_CONFIRM"],"url":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-5240","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Buffer overflow in the dissect_tlv function in epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a malformed packet."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567","refsource":"CONFIRM","url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7567"},{"name":"http://www.wireshark.org/security/wnpa-sec-2012-29.html","refsource":"CONFIRM","url":"http://www.wireshark.org/security/wnpa-sec-2012-29.html"},{"name":"55754","refsource":"BID","url":"http://www.securityfocus.com/bid/55754"},{"name":"oval:org.mitre.oval:def:15691","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15691"},{"name":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801","refsource":"CONFIRM","url":"http://anonsvn.wireshark.org/viewvc?view=revision&revision=44801"},{"name":"1027604","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1027604"},{"name":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801","refsource":"CONFIRM","url":"http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-ldp.c?r1=44801&r2=44800&pathrev=44801"},{"name":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046","refsource":"CONFIRM","url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7046"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-5240","datePublished":"2012-10-04T19:00:00.000Z","dateReserved":"2012-10-02T00:00:00.000Z","dateUpdated":"2024-08-06T20:58:03.480Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-10-04 19:55:00","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:A/AC:L/Au:N/C:P/I:P/A:P","baseScore":5.8,"accessVector":"ADJACENT_NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":6.5,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wireshark:wireshark:1.8.0:*:*:*:*:*:*:*","matchCriteriaId":"606DF728-1DA6-4989-B40A-44471CC677DB"},{"vulnerable":true,"criteria":"cpe:2.3:a:wireshark:wireshark:1.8.1:*:*:*:*:*:*:*","matchCriteriaId":"F824AE6B-B087-4C69-8F73-7B146920FC3C"},{"vulnerable":true,"criteria":"cpe:2.3:a:wireshark:wireshark:1.8.2:*:*:*:*:*:*:*","matchCriteriaId":"6702EAA1-7FBD-4755-B7C2-C2B3A1AFF142"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"5240","Ordinal":"1","Title":"CVE-2012-5240","CVE":"CVE-2012-5240","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"5240","Ordinal":"1","NoteData":"Buffer overflow in the dissect_tlv function in epan/dissectors/packet-ldp.c in the LDP dissector in Wireshark 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a malformed packet.","Type":"Description","Title":"CVE-2012-5240"},{"CveYear":"2012","CveId":"5240","Ordinal":"2","NoteData":"2012-10-04","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"5240","Ordinal":"3","NoteData":"2017-09-18","Type":"Other","Title":"Modified"}]}}}