{"id":"CVE-2020-11940","details":"In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positioned attacker that can send malformed SSH protocol messages on a network segment monitored by nDPI's library.","modified":"2026-07-08T17:56:02.583757Z","published":"2020-04-23T15:15:14.153Z","references":[{"type":"FIX","url":"https://github.com/ntop/nDPI/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435"},{"type":"EVIDENCE","url":"https://securitylab.github.com/advisories/GHSL-2020-051_052-ntop-ndpi"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ntop/ndpi","events":[{"introduced":"0"},{"last_affected":"a50169a7b3ec36c8d789191b014715126e820698"},{"fixed":"3bbb0cd3296023f6f922c71d21a1c374d2b0a435"}],"database_specific":{"cpe":"cpe:2.3:a:ntop:ndpi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"3.2"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["3.2","1.8","1.7","1.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11940.json","vanir_signatures_modified":"2026-07-08T17:56:02Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435","target":{"file":"src/lib/protocols/ssh.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["112669976753241023190343929122047825687","55443568218778909503912343298953271493","55090678806972166490394924557498809564","277751600410098970889155938586316082601","54290705435265989777103410977247831576","252017902324097163463410608857860806490","52780231211016711509913009326243001039","50507861911860217230422209087450536983","252017902324097163463410608857860806490","52426658710956212032122656176110875829","54290705435265989777103410977247831576","252017902324097163463410608857860806490","52780231211016711509913009326243001039","50507861911860217230422209087450536983","252017902324097163463410608857860806490","52780231211016711509913009326243001039","50507861911860217230422209087450536983"]},"id":"CVE-2020-11940-ab9df01b","signature_type":"Line"},{"signature_version":"v1","source":"https://github.com/ntop/ndpi/commit/3bbb0cd3296023f6f922c71d21a1c374d2b0a435","target":{"file":"src/lib/protocols/ssh.c","function":"concat_hash_string"},"deprecated":false,"digest":{"function_hash":"176786221778472667275115361113617528528","length":3015},"id":"CVE-2020-11940-e0e7c99f","signature_type":"Function"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}