{"id":"CVE-2026-63418","summary":"Monitoring Plugins check_icmp: -H argument count overflow leads in setuid-root binary","details":"Monitoring Plugins is a suite of plugins for monitoring applications. From 3.0.0-rc1 until 3.0.1, check_icmp stores the number of hosts supplied through -H or --Host on the command line, or through --extra-opts files containing Host= entries, in an unsigned short. More than 65,535 hosts wrap the counter, causing process_arguments() to allocate an undersized hosts array and then write subsequent entries out of bounds before main() calls setuid(getuid()). On installations where check_icmp is setuid root, a local low-privileged attacker can corrupt heap memory while the process still has root privileges; reliable privilege escalation has not been demonstrated. Installations that use cap_net_raw file capabilities instead of setuid are not exposed to the privilege-escalation consequence. This issue is fixed in version 3.0.1.","aliases":["GHSA-xvvw-4j77-rp7q"],"modified":"2026-11-14T07:14:48.774691886Z","published":"2026-11-03T18:06:25.699Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-190","CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63418.json"},"references":[{"type":"WEB","url":"https://github.com/monitoring-plugins/monitoring-plugins/releases/tag/v3.0.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63418.json"},{"type":"ADVISORY","url":"https://github.com/monitoring-plugins/monitoring-plugins/security/advisories/GHSA-xvvw-4j77-rp7q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63418"},{"type":"FIX","url":"https://github.com/monitoring-plugins/monitoring-plugins/commit/c35c12e58d326ffbd6cfb3c9097653f9f3fb2f4a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/monitoring-plugins/monitoring-plugins","events":[{"introduced":"fc31cd2165aa3a6f8003b63ff4f3ff6ddc63a218"},{"fixed":"c1f3b2b0728effd41c704e4cfc4b6fc32c649057"},{"fixed":"c35c12e58d326ffbd6cfb3c9097653f9f3fb2f4a"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"3.0.0-rc1"},{"fixed":"3.0.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"c35c12e58d326ffbd6cfb3c9097653f9f3fb2f4a"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v3.0.1","range":[{"fixed":"c1f3b2b0728effd41c704e4cfc4b6fc32c649057"}],"source":"REFERENCES_TAG"}]}}],"database_specific":{"vanir_signatures_modified":"2026-11-14T07:14:48Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63418.json","vanir_signatures":[{"target":{"file":"plugins-root/check_icmp.c","function":"process_arguments"},"deprecated":false,"digest":{"length":8423,"function_hash":"235378612297783383414324668739926848237"},"id":"CVE-2026-63418-e7bed229","signature_type":"Function","signature_version":"v1","source":"https://github.com/monitoring-plugins/monitoring-plugins/commit/c35c12e58d326ffbd6cfb3c9097653f9f3fb2f4a"},{"deprecated":false,"digest":{"line_hashes":["290054900591653988438778512154738657440","126322705930192430770124881807868257855","28818295587875165558346166229978019621","272151823337843688301288282328545361615","152278082398683918431196562861877779511","301774838248148932702750767814706499059","309522789985511908626841723958900469648","319402297130832680372107142075766672898"],"threshold":0.9},"id":"CVE-2026-63418-fcbe326a","signature_type":"Line","signature_version":"v1","source":"https://github.com/monitoring-plugins/monitoring-plugins/commit/c35c12e58d326ffbd6cfb3c9097653f9f3fb2f4a","target":{"file":"plugins-root/check_icmp.c"}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}