GHSA-xvvw-4j77-rp7q: Monitoring Plugins check_icmp: -H argument count overflow leads in setuid-root binary

Published Nov 3, 2026
·
Updated

Monitoring Plugins is a suite of plugins for monitoring applications. From 3.0.0-rc1 until 3.0.1, checkicmp 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 processarguments() to allocate an undersized hosts array and then write subsequent entries out of bounds before main() calls setuid(getuid()). On installations where checkicmp 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 capnetraw file capabilities instead of setuid are not exposed to the privilege-escalation consequence. This issue is fixed in version 3.0.1.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Monitoring Plugins check_icmp to a version that resolves this vulnerability.

    Fixed in 3.0.1

Event History

Nov 3, 2026
CVE Published
via OSV·06:06 PM
Data Sourced
via OSV·06:06 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations face a privilege-escalation risk?

The privilege-escalation consequence applies where check_icmp is installed setuid root. Installations using cap_net_raw file capabilities instead of setuid are not exposed to that consequence.

2

What does an attacker need to trigger the memory corruption?

A local low-privileged attacker must supply more than 65,535 hosts through -H or --Host arguments, or through Host= entries in an --extra-opts file. The overflow occurs while processing those host entries, before the program drops root privileges.

3

What versions are affected and what version fixes the issue?

The affected range is from 3.0.0-rc1 through 3.0.1. The issue is fixed in version 3.0.1.

4

Has reliable root privilege escalation been demonstrated?

No. The available information states that reliable privilege escalation has not been demonstrated, although heap memory can be corrupted while a setuid-root process still has root privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203