# CVE-2022-24805: net-snmp: A buffer overflow in the handling of the INDEX of NET-SNMP-VACM-MIB can cause an out-of-bounds memory access.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.55% (percentile 75, 2026-11-26)
- **CWE:** CWE-120
- **Published:** 2024-04-16T19:37:40.051Z
- **Modified:** 2026-06-17T04:32:33.563Z

## Who should check

- Anyone running net-snmp \< 5.9.2

## Description

net-snmp provides various tools relating to the Simple Network Management Protocol. Prior to version 5.9.2, a buffer overflow in the handling of the \`INDEX\` of             \`NET-SNMP-VACM-MIB\` can cause an out-of-bounds memory access. A user with read-only credentials can exploit the issue. Version 5.9.2 contains a patch. Users should use strong SNMPv3 credentials and avoid sharing the credentials. Those who must use SNMPv1 or SNMPv2c should use a complex community string and enhance the protection by restricting access to a given IP address range.

## Affected and fixed versions

- net-snmp: \< 5.9.2 (cvelist)

## Mitigation

- Upgrade net-snmp to 5.9.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-24805. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-24805.md
Affected: net-snmp < 5.9.2
Fixed in: net-snmp 5.9.2

Steps:
1. Search this machine and project for net-snmp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-24805 being exploited?

There is no confirmed exploitation: CVE-2022-24805 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-24805?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-24805?

net-snmp \< 5.9.2.

### Is there a fix for CVE-2022-24805?

Yes. Fixed in net-snmp 5.9.2. Upgrade net-snmp to 5.9.2 or later.

### How do I check if I'm affected by CVE-2022-24805?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/net-snmp/net-snmp/commit/ce66eb97c17aa9a48bc079be7b65895266fa6775>
- patch: <https://github.com/net-snmp/net-snmp/commit/67ebb43e9038b2dae6e74ae8838b36fcc10fc937>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2103225>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2105238>
- other: <https://lists.debian.org/debian-lts-announce/2022/08/msg00020.html>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FX75KKGMO5XMV6JMQZF6KOG3JPFNQBY7/>
- other: <https://security.gentoo.org/glsa/202210-29>
- other: <https://www.debian.org/security/2022/dsa-5209>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-24805>

HTML: <https://flawdb.com/CVE-2022-24805> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-24805>
