Description
Integer overflow in the netsnmp_create_subtree_cache function in agent/snmp_agent.c in net-snmp 5.4 before 5.4.2.1, 5.3 before 5.3.2.3, and 5.2 before 5.2.5.1 allows remote attackers to cause a denial of service (crash) via a crafted SNMP GETBULK request, which triggers a heap-based buffer overflow, related to the number of responses or repeats.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | net-snmp | 5.4.1~dfsg-11 | — |
| Debian 13 | net-snmp | 5.4.1~dfsg-11 | — |
| Debian 12 | net-snmp | 5.4.1~dfsg-11 | — |
| Debian 4.0 | net-snmp | 5.2.3-7etch4 | DSA-1663-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | net-snmp +4 | 1:5.3.1-24.el5_2.2 | RHSA-2008:0971 |
| RHEL 4 | net-snmp +4 | 5.1.2-13.el4_7.2 | RHSA-2008:0971 |
| RHEL 3 | net-snmp +4 | 5.0.9-2.30E.25 | RHSA-2008:0971 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | net-snmp | 5.9-3.2 | openSUSE-SU-2024:11082-1 |
Advisories 4
- VDE-2026-063 Murrelektronik Devices Vulnerable to SNMP GETBULK Reflection DDoS CERT@VDE · Jul 14, 2026
- RHSA-2008:0971 Red Hat Security Advisory: net-snmp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1663-1 net-snmp - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11082-1 libsnmp30-32bit-5.9-3.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- 33631 third-party-advisory
- 32664 third-party-advisory
- 32560 third-party-advisory
- http://support.apple.com/kb/HT3549
- SUSE-SR:2009:003 vendor-advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0001.html
- ADV-2009-0301 vdb-entry
- 33746 third-party-advisory
- RHSA-2008:0971 vendor-advisory
- 35074 third-party-advisory
- 35679 third-party-advisory
- oval:org.mitre.oval:def:9860 vdb-entry signature
- APPLE-SA-2009-05-12 vendor-advisory
- 33003 third-party-advisory
- 262908 vendor-advisory
- 32539 third-party-advisory
- 32711 third-party-advisory
- DSA-1663 vendor-advisory
- oval:org.mitre.oval:def:6353 vdb-entry signature
- netsnmp-netsnmpcreatesubtreecache-dos(46262) vdb-entry
- http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/tags/Ext-5-2-5-1/net-snmp/agent/snmp_agent.c?r1=17271&r2=17272&pathrev=17272
- [oss-security] 20081031 New net-snmp DoS mailing-list
- APPLE-SA-2010-12-16-1 vendor-advisory
- TA09-133A third-party-advisory
- http://sourceforge.net/forum/forum.php?forum_id=882903
- oval:org.mitre.oval:def:6171 vdb-entry signature
- 33095 third-party-advisory
- ADV-2009-1297 vdb-entry
- 1021129 vdb-entry
- http://support.apple.com/kb/HT4298
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0315
- http://support.avaya.com/elmodocs2/security/ASA-2008-467.htm
- ADV-2008-2973 vdb-entry
- 32020 vdb-entry
- 33821 third-party-advisory
- ADV-2009-1771 vdb-entry
- GLSA-200901-15 vendor-advisory
- 20081112 rPSA-2008-0315-1 net-snmp net-snmp-client net-snmp-server net-snmp-utils mailing-list
- HPSBMA02447 vendor-advisory
- USN-685-1 vendor-advisory
- ADV-2008-3400 vdb-entry
- MDVSA-2008:225 vendor-advisory