CVE-2004-2300: Buffer overflow in snmpd in ucd-snmp 4.2.6 and earlier, when installed setuid root, allows local users to exec
CVE-2004-2300 is a high-severity flaw (CVSS 7.2) affecting ucd-snmp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Buffer overflow in snmpd in ucd-snmp 4.2.6 and earlier, when installed setuid root, allows local users to execute arbitrary code via a long -p command line argument. NOTE: it is not clear whether there are any standard configurations in which snmpd is installed setuid or setgid. If not, then this issue should not be included in CVE.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| EPSS exploit chance | 0.6% (top 49%) |
| CISA exploited list | No |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-2300?
ucd-snmp: upgrade to newer than 4.2.6. Exact commands for each OS are on this page.
Is CVE-2004-2300 being exploited?
CVE-2004-2300 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-2300 affect?
CVE-2004-2300 affects ucd-snmp. Severity is high (CVSS 7.2). Buffer overflow in snmpd in ucd-snmp 4.2.6 and earlier, when installed setuid root, allows local users to execute arbitrary code via a long -p command line argument. NOTE: it is not clear whether there are any standard configurations in wh
How urgent is CVE-2004-2300?
Priority 43/100. High severity; Public exploit reference
Related CVEs
- CVE-2002-1570 HIGH 7.5 UPGRADE Heap-based buffer overflow in snmpnetstat for ucd-snmp 4.2.3 and earlier, and net-snmp, allows remote attacker