{"id":"CVE-2025-52464","summary":"Meshtastic Repeated Public and Private Keypairs","details":"Meshtastic is an open source mesh networking solution. In versions from 2.5.0 to before 2.6.11, the flashing procedure of several hardware vendors was resulting in duplicated public/private keys. Additionally, the Meshtastic was failing to properly initialize the internal randomness pool on some platforms, leading to possible low-entropy key generation. When users with an affected key pair sent Direct Messages, those message could be captured and decrypted by an attacker that has compiled the list of compromised keys. This issue has been patched in version 2.6.11 where key generation is delayed til the first time the LoRa region is set, along with warning users when a compromised key is detected. Version 2.6.12 furthers this patch by automatically wiping known compromised keys when found. A workaround to this vulnerability involves users doing a complete device wipe to remove vendor-cloned keys.","aliases":["GHSA-gq7v-jr8c-mfr7"],"modified":"2026-10-28T10:51:40.327044546Z","published":"2025-06-19T15:10:18.365Z","database_specific":{"cwe_ids":["CWE-331"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52464.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52464.json"},{"type":"ADVISORY","url":"https://github.com/meshtastic/firmware/security/advisories/GHSA-gq7v-jr8c-mfr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52464"},{"type":"FIX","url":"https://github.com/meshtastic/firmware/commit/4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad"},{"type":"FIX","url":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22"},{"type":"FIX","url":"https://github.com/meshtastic/firmware/commit/e5f6804421ac4b76dd31980250a505dba24c2aa6"},{"type":"FIX","url":"https://github.com/meshtastic/firmware/commit/e623c70bd0c2ab9db9baf04888e19d1428310bb9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/meshtastic/firmware","events":[{"introduced":"0"},{"fixed":"60ec05e53693535aaf616162d4f970cfca6a5d58"},{"fixed":"4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad"},{"fixed":"55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22"},{"fixed":"e5f6804421ac4b76dd31980250a505dba24c2aa6"},{"fixed":"e623c70bd0c2ab9db9baf04888e19d1428310bb9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.5.0"},{"fixed":"2.6.11"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e5f6804421ac4b76dd31980250a505dba24c2aa6"}]},{"range":[{"fixed":"e623c70bd0c2ab9db9baf04888e19d1428310bb9"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.6.10.9ce4455","v2.6.9.f223b8a","v2.6.8.ef9d0d7","v2.6.7.2d6181f","v2.6.6.54c1423","v2.6.5.fc3d9f2","v2.6.4.b89355f","v2.6.3.640e731","v2.6.3.d28af68","v2.6.2.31c0e8f","v2.6.1.7c3edde","v2.6.0.f7afa9a","v2.5.23.bf958ed","v2.5.22.d1fa27d","v2.5.21.447533a","v2.5.20.4c97351","v2.5.19.f9876cf","v2.5.19.d5cd6f8","v2.5.18.89ebafc","v2.5.17.b4b2fd6","v2.5.16.f81d3b0","v2.5.15.79da236","v2.5.14.f2ee0df","v2.5.13.1a06f88","v2.5.13.295278b","v2.5.12.aa184e6","v2.5.11.8e2a3e5","v2.5.10.0fc5c9b","v2.5.9.936260f","v2.5.8.6485f03","v2.5.7.f77c87d","v2.5.6.d55c08d","v2.5.5.e182ae7","v2.5.4.8d288d5","v2.5.3.a70d5ee","v2.5.2.771cb52","v2.5.0.9ac0e26","v2.5.0.e470619","v2.5.0.9e55e6b","v2.5.0.33eb073","v2.5.0.d6dac17","v2.5.0.ab7de7f","v2.4.3.efc27f2","v2.4.2.5b45303","v2.4.1.394e0e1","v2.4.0.46d7b82","v2.3.15.deb7c27","v2.3.14.64531fa","v2.3.13.83f5ba0","v2.3.12.24458a7","v2.3.11.2740a56","v2.3.10.d19607b","v2.3.9.f06c56a","v2.3.8.d490a33","v2.3.7.30fbcab","v2.3.6.7a3570a","v2.3.5.2f9b68e","v2.3.4.ea61808","v2.3.3.8187fa7","v2.3.2.63df972","v2.3.1.4fa7f5a","v2.3.0.5f47ca1","v2.2.24.e6a2c06","v2.2.23.5672e68","v2.2.22.404d0dd","v2.2.21.7f7c5cb","v2.2.20.af5ac32","v2.2.19.8f6a283","v2.2.18.e9bde80","v2.2.17.dbac2b1","v2.2.16.1c6acfd","v2.2.15.31c4693","v2.2.14.57542ce","v2.2.13.f570204","v2.2.12.092e6f2","v2.2.11.10265aa","v2.2.10.7cebd79","v2.2.9.47301a5","v2.2.8.61f6fb2","v2.2.7.e8970ad","v2.2.6.b53cb38","v2.2.5.8255128","v2.2.4.3bcab0e","v2.2.3.282cc0b","v2.2.2.f35c7be","v2.2.1.fb5f2e4","v2.2.0.9f6584b","v2.1.23.04bbdc6","v2.1.22.191a69d","v2.1.21.97d7a89","v2.1.20.470363d","v2.1.19.eb7025f","v2.1.18.de53280","v2.1.17.7ca2e81","v2.1.16.a2c5b92","v2.1.15.cd78723","v2.1.14.99a31c1","v2.1.13.7475c86","v2.1.12.7711b03","v2.1.11.5ec624d","v2.1.10.7ef12c7","v2.1.9.d43ddc9","v2.1.7.242f880","v2.1.6.5679a82","v2.1.5.23272da","v2.1.4.958d2cf","v2.1.3.8c68d88","v2.1.2.6d20215","v2.1.1.dc2ca9c","v2.1.0.331a1af","v2.0.23.7bb281d","v2.0.22.fbfd0f1","v2.0.21.83e6cea","v2.0.20.7100416","v2.0.19.3209aea","v2.0.18.1a7991c","v2.0.17.5d1c06b","v2.0.16.2242b68","v2.0.15.aafbde0","v2.0.14.2baaad8","v2.0.13.7e27729","v2.0.12.2400dd4","v2.0.11.8914d1a","v2.0.10.e09b12c","v2.0.9.6ea0963","v2.0.8.090e166","v2.0.7.91ff7b9","v2.0.6.97fd5cf","v2.0.3.09fe616","v2.0.2.8146e84","v2.0.1.ad05b91","v2.0.0.18ab874","v1.3.48.82bcd39","v1.3.47.05147c0","v1.3.46.d4ea956","v1.3.44.4fa8d02","v1.3.43.aae9d2f","v1.3.42.9bd9252","v1.3.41.80ddb81","v1.3.40.e87ecc2","v1.3.39.ddc3727","v1.3.38.1253abd","v1.3.37.97712a9","v1.3.36.64f852e","v1.3.36.dd720f2","v1.3.36.7e03019","v1.3.35.3251cd5","v1.3.34.401b5d9","v1.3.33.ab0095c","v1.3.32.7e6c22f","v1.3.31.0084643","v1.3.30.9fe2ddb","v1.3.29.7afc149","v1.3.28.41f9541","v1.3.27.c88ba58","v1.3.26.0010231","v1.3.25.85f46d3","v1.3.24.dff6915","v1.3.23.5462d84","v1.3.22.c725a6b","v1.3.21.cf00ac5","v1.3.20.9a5ff93","v1.3.19.3c6a2f7","v1.3.17.c9822de","v1.3.16.97899ae","v1.3.15.432d067","v1.3.13.71a43a9","v1.3.12.6306c53","v1.3.11.0411401","v1.3.10.4df0e91","v1.3.10.cc2a84a","v1.3.9.92185e7","v1.3.8.90df7c2","v1.3.7.bb22b6e","v1.3.6.f511bab","v1.3.5.e5b19fd","v1.3.4.2b20bf3","v1.3.3.2fe124e","v1.2.55.9db7c62","v1.2.54.288f2be","v1.2.53.19c1f9f","v1.2.52.b63802c","v1.2.51.f9ff06b","v1.2.50.41dcfdd","v1.2.49.5354c49","v1.2.48.371335e","v1.2.47","v1.2.44.f2c9c55","v1.2.41.32f3682","v1.2.39.06892c4","v1.2.38.cf4e508","v1.2.30.80e4bc6","v1.2.29.6c95659","v1.2.testing1","1.2.11","1.2.10","1.1.33","1.2.9","1.2.6","1.2.5","1.2.4","1.2.1","1.1.50","1.1.48","1.1.47","1.1.46","1.1.42","1.1.32","1.1.31","1.1.30","1.1.7","1.1.23","1.1.20","1.1.8","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.0","0.9.7","0.9.6","0.9.5","0.9.3","0.9.2","0.9.1","0.8.1-fixed","0.7.11","0.7.10","0.7.9","0.7.8","0.7.7","0.7.6b","0.7.6","0.7.5","0.7.4","0.6.8","0.6.7","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.4.3","0.4.2","0.4.1","0.2.3","0.2.0","0.1.10","0.1.9","0.1.8","0.1.7","0.1.6","0.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52464.json","vanir_signatures":[{"id":"CVE-2025-52464-0b166072","signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad","target":{"file":"src/mesh/NodeDB.h"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["259448406137315711858523972249955018679","34099379295904619683945267324857945555","201148842389043821222191051009859960049","69088016767653225300026292873024164971","333396872971699039280928798954274716473","273309717551593073644351863046350295886","231760145180833152923697294425011588952","185973599033954785398445003340531223922","303161017949433378666630267447942428080"]}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e5f6804421ac4b76dd31980250a505dba24c2aa6","target":{"file":"src/mesh/NodeDB.h"},"deprecated":false,"digest":{"line_hashes":["313338476810852437932119785755876525682","149754527104688385763644385003815791480","180406134549738647848842313098208232266","27924526212528500154263687966856670207"],"threshold":0.9},"id":"CVE-2025-52464-17eb9565"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22","target":{"file":"src/mesh/CryptoEngine.cpp"},"deprecated":false,"digest":{"line_hashes":["66207163277548676437261893327145433632","122491170392434041495023590013204969385","323841247885605425496425369328058062594","64980411800669634425999651056441130388","257376776035949992989162195319102792021","229707137559820909827390907661520397141","105186323965874969381230873871439276881","186972787229036979422904315543289732504","18824582881437739838263790093069473965","106280980894542652323089384759795487746","206236947756765892105276418805914322614"],"threshold":0.9},"id":"CVE-2025-52464-1a149c74"},{"deprecated":false,"digest":{"function_hash":"316324415443093511708692411834290369099","length":2061},"id":"CVE-2025-52464-23a5ddbd","signature_type":"Function","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e5f6804421ac4b76dd31980250a505dba24c2aa6","target":{"function":"NodeDB::updateUser","file":"src/mesh/NodeDB.cpp"}},{"digest":{"threshold":0.9,"line_hashes":["200237066168730436002818503210206409381","150657859056518404903849543841247901464","69284819404873739575859169278052639257","313161659283895713751077907121065415339"]},"id":"CVE-2025-52464-44220faa","signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e623c70bd0c2ab9db9baf04888e19d1428310bb9","target":{"file":"src/mesh/NodeDB.h"},"deprecated":false},{"target":{"function":"CryptoEngine::generateKeyPair","file":"src/mesh/CryptoEngine.cpp"},"deprecated":false,"digest":{"function_hash":"253144119769646236015777283875302702595","length":287},"id":"CVE-2025-52464-4faafcc4","signature_type":"Function","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22"},{"source":"https://github.com/meshtastic/firmware/commit/4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad","target":{"file":"src/mesh/Router.cpp","function":"perhapsEncode"},"deprecated":false,"digest":{"function_hash":"29050218850195251564029925310929899976","length":2945},"id":"CVE-2025-52464-62b38107","signature_type":"Function","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e623c70bd0c2ab9db9baf04888e19d1428310bb9","target":{"function":"NodeDB::updateUser","file":"src/mesh/NodeDB.cpp"},"deprecated":false,"digest":{"length":2231,"function_hash":"335879927050805257204403228133621002438"},"id":"CVE-2025-52464-78ed3e16"},{"deprecated":false,"digest":{"length":6352,"function_hash":"207362055338910780317469040181832570132"},"id":"CVE-2025-52464-7f990c7d","signature_type":"Function","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22","target":{"file":"src/mesh/NodeDB.cpp","function":"NodeDB::NodeDB"}},{"digest":{"line_hashes":["272441578552697747382894919427286186344","302592194806497792383474520888456889528","5610504484171424891641364568058455977","226321029816469190529361439730600359302"],"threshold":0.9},"id":"CVE-2025-52464-a1234bc7","signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22","target":{"file":"src/modules/AdminModule.cpp"},"deprecated":false},{"id":"CVE-2025-52464-a7bb3f74","signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e623c70bd0c2ab9db9baf04888e19d1428310bb9","target":{"file":"src/mesh/NodeDB.cpp"},"deprecated":false,"digest":{"line_hashes":["138669852073826685910732067545111961093","187519877110756895412194785350236590793","63547243558196155952156392034412418935","157142768604042077531185630450679488961"],"threshold":0.9}},{"source":"https://github.com/meshtastic/firmware/commit/4bf2dd04aeeccc4ba20c79bcaad7a572aabdecad","target":{"file":"src/mesh/Router.cpp"},"deprecated":false,"digest":{"line_hashes":["204465730016446399172658818293241356126","238629125187922286299447767484093035466","300704612496194615589620977110313546107","127313796375179219302997284760579299257"],"threshold":0.9},"id":"CVE-2025-52464-b1fe77ee","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2025-52464-bd5839ee","signature_type":"Function","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22","target":{"file":"src/modules/AdminModule.cpp","function":"AdminModule::handleSetConfig"},"deprecated":false,"digest":{"length":8893,"function_hash":"240117736638020287240345790275881942543"}},{"id":"CVE-2025-52464-d5b589e0","signature_type":"Line","signature_version":"v1","source":"https://github.com/meshtastic/firmware/commit/e5f6804421ac4b76dd31980250a505dba24c2aa6","target":{"file":"src/mesh/NodeDB.cpp"},"deprecated":false,"digest":{"line_hashes":["323675311911623268316941053327748480117","3354849292103453109603706623689622167","61978891479982138471887411897646353994","312137854765032498433811964060069340905"],"threshold":0.9}},{"source":"https://github.com/meshtastic/firmware/commit/55b2bbf93756fc7bbbfdbc7cbf29f88e6b637f22","target":{"file":"src/mesh/NodeDB.cpp"},"deprecated":false,"digest":{"line_hashes":["19202372356193007829508134504107199465","44745966146605800869344646807678654560","175136155538451794961307391880562614219","122891453912211747747710429586760433323"],"threshold":0.9},"id":"CVE-2025-52464-f483dbbb","signature_type":"Line","signature_version":"v1"}],"vanir_signatures_modified":"2026-10-28T10:51:40Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:H"}]}