{"id":"CVE-2026-121602","summary":"Solanum before commit 2ce64de Heap Buffer Overflow via JOIN and SJOIN","details":"Solanum before commit 2ce64de contains a heap-based buffer overflow vulnerability that allows a malicious linked server to corrupt memory by sending overlong channel names in JOIN or SJOIN messages. Attackers controlling a peer server can trigger strcpy and sprintf overflows in ms_join and ms_sjoin to crash the ircd or potentially achieve remote code execution.","modified":"2026-11-14T07:06:02.628612668Z","published":"2026-11-03T16:26:54.160Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121602.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121602.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121602"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/solanum-before-commit-2ce64de-heap-buffer-overflow-via-join-and-sjoin"},{"type":"FIX","url":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff"},{"type":"FIX","url":"https://github.com/solanum-ircd/solanum/pull/551"},{"type":"PACKAGE","url":"https://github.com/solanum-ircd/solanum"},{"type":"ARTICLE","url":"https://github.com/solanum-ircd/solanum/blob/2ea1382e4262b212a91034258c466f0f6754cd61/ircd/channel.c#L371-L385"},{"type":"ARTICLE","url":"https://github.com/solanum-ircd/solanum/blob/2ea1382e4262b212a91034258c466f0f6754cd61/modules/core/m_join.c#L507"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/solanum-ircd/solanum","events":[{"introduced":"0"},{"fixed":"2ce64debf65e9710e9eea099ada93dbf6655b5ff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2ce64debf65e9710e9eea099ada93dbf6655b5ff"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2ce64debf65e9710e9eea099ada93dbf6655b5ff"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121602.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff","target":{"file":"modules/core/m_join.c","function":"m_join"},"deprecated":false,"digest":{"function_hash":"321115179634845723541547717602006981688","length":4823},"id":"CVE-2026-121602-23684b69"},{"source":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff","target":{"file":"modules/core/m_join.c"},"deprecated":false,"digest":{"line_hashes":["73602516653631870895532905389982018261","81901098985284998960185262981143855261","282201561939783149491609795599187894702","322948887278788858839264677697123116671","99405276168024173927804672126711694826","315515465234791172524627506583736260540","107134532484360061141446019778362132007","138622393739907968130714575969491103192","22162684341875361008655090200632702090","264745138927763533665296172350748426589","17461299235506900588073723977213978805","327592451377025144000379500187184251876","221544208735912317968323367453949076417","78550627310922556410517480012963454295"],"threshold":0.9},"id":"CVE-2026-121602-5adcff95","signature_type":"Line","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff","target":{"file":"ircd/channel.c"},"deprecated":false,"digest":{"line_hashes":["221530951410350152769746892354708750793","242747319141974068929750240664431333509","111504774494922711385915216920007847498","64716783484562295013048792746331545987"],"threshold":0.9},"id":"CVE-2026-121602-679fe087","signature_type":"Line"},{"deprecated":false,"digest":{"function_hash":"126081205811707357570018454868260421656","length":575},"id":"CVE-2026-121602-7d7adec7","signature_type":"Function","signature_version":"v1","source":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff","target":{"function":"check_channel_name_loc","file":"modules/core/m_join.c"}},{"deprecated":false,"digest":{"length":199,"function_hash":"161377294702219295754250162178536403701"},"id":"CVE-2026-121602-f65194e0","signature_type":"Function","signature_version":"v1","source":"https://github.com/solanum-ircd/solanum/commit/2ce64debf65e9710e9eea099ada93dbf6655b5ff","target":{"file":"ircd/channel.c","function":"check_channel_name"}}],"vanir_signatures_modified":"2026-11-14T07:06:02Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}