CVE-2022-24806 is an input validation flaw in Net-SNMP's snmpd: a user with read-write credentials can send SET requests with malformed OIDs that hit the master agent and an AgentX subagent at the same time. NVD scores it 5.3, GitHub 6.5. The record names 5.9.2 as the fix, but 5.9.2 was skipped, so 5.9.3 is the first fixed release.
Vulnerability summary
CVSS base score
5.3
Medium severity
EPSS score (FIRST)
1.1%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2022-24806 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Net-SNMP snmpd (AgentX master agent with subagents) | cpe:2.3:a:net-snmp:net-snmp:*:*:*:*:*:*:*:* | before 5.9.2 (NVD); 5.9.2 was skipped, first fixed release 5.9.3 (Net-SNMP NEWS) |
| Debian net-snmp package | pkg:deb/debian/net-snmp | buster fixed in 5.7.3+dfsg-5+deb10u3 (DLA-3088-1); bullseye in 5.9+dfsg-4+deb11u1 (DSA-5209-1); unstable in 5.9.3+dfsg-1 (Debian security tracker) |
| Buildroot package/netsnmp | — | Bumped from 5.9 to 5.9.3 on 2022-11-25 (commit 83b43373); 2022.11, 2022.08.3 and 2022.02.8 carry 5.9.3; 2022.08.2 and 2022.02.7 carry 5.9 |
| OpenWrt packages net-snmp | — | openwrt-22.03 and openwrt-23.05 build 5.9.1 with no backport of the 5.9.3 fixes; openwrt-24.10 builds 5.9.4 (as of 2026-11-20) |
What does this mean for affected devices?
The CVE record, issued by GitHub, says: "Prior to version 5.9.2, a user with read-write credentials can exploit an Improper Input Validation vulnerability when SETing malformed OIDs in master agent and subagent simultaneously." Net-SNMP's snmpd can act as an AgentX master agent, with subagents serving parts of the MIB; this flaw sits in the path where one SET request touches objects handled by both. The record was published on 2024-04-16 (NVD, CVE record).
What does the fix change?
The Debian security tracker names two upstream commits, both tagged v5.9.2.pre1. The specific one is commit 9a0cd7c0 of 2021-08-24 by Bill Fenner, "snmpd: recover SET status from delegated request": "When a SET request includes a mix of delegated and non-delegated requests (e.g., objects handled by master agent and agentx sub-agent), the status can get lost while waiting for the reply from the sub-agent." The fix is a one-line change in agent/snmp_agent.c. Like the other five 2022 Net-SNMP CVEs, it was reported by Yu Zhang and Nanyu Zhong of VARAS@IIE, with fixes from Arista Networks.
How severe is CVE-2022-24806, and why do the scores differ?
NVD's Primary score is CVSS v3.1 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H): high attack complexity, low privileges, availability impact only, with NVD-CWE-noinfo. GitHub, the CNA, scores it 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) with an integrity impact instead, and classes it CWE-20 (improper input validation). Both require credentials: an SNMPv1/v2c write community or an SNMPv3 user with write access. The CISA ADP SSVC entry of 2024-04-18 records exploitation "none", automatable "no" and technical impact "partial".
Which versions and firmware builds are affected?
NVD marks Net-SNMP before 5.9.2 as vulnerable, along with Fedora 35 and 36, Debian 10 and 11 and Red Hat Enterprise Linux 9 builds. The first release that actually contains the fix is 5.9.3: Net-SNMP's NEWS file lists CVE-2022-24806 under 5.9.3 and says 5.9.2 was "skipped due to a last minute library versioning found bug -- use 5.9.3 instead."
- Debian fixed buster in 5.7.3+dfsg-5+deb10u3 (DLA-3088-1), bullseye in 5.9+dfsg-4+deb11u1 (DSA-5209-1) and unstable in 5.9.3+dfsg-1; bookworm, trixie and later ship fixed packages (Debian security tracker). The backports keep the old version number.
- Buildroot moved
package/netsnmpfrom 5.9 to 5.9.3 in a "security bump" of 2022-11-25 that names all six CVEs (Buildroot commit 83b43373). Releases 2022.11, 2022.08.3 and 2022.02.8 carry 5.9.3; 2022.08.2 and 2022.02.7 still carry 5.9. - OpenWrt: as of 2026-11-20, the openwrt-23.05 packages feed and openwrt-22.03 build net-snmp 5.9.1 with no backport of the 5.9.3 fixes among their patches, while openwrt-24.10 builds 5.9.4.
How do you fix CVE-2022-24806?
Update snmpd to Net-SNMP 5.9.3 or later, or to a distribution package with the backport. On Buildroot, that means 2022.11 or later, 2022.08.3 or 2022.02.8; on OpenWrt, 24.10 or later. The CVE record's own mitigation applies until then: "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." On a device where no management system needs SNMP SET, remove the write community or SNMPv3 write access altogether. Our Net-SNMP and SNMP agent guide shows how to find snmpd and its version in a firmware image. The read-only sibling is CVE-2022-24805; older images often also need fixes for CVE-2020-15862 (EXTEND MIB root commands) and CVE-2018-18065 (an snmpd NULL pointer crash).
Is CVE-2022-24806 exploited?
It is not in the CISA KEV catalog as of 2026-11-20 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.01061, the 65.3rd percentile, in the 2026-11-19 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-20): status Analyzed; published 2024-04-16; NVD Primary CVSS v3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H; GitHub Secondary 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N; CWE NVD-CWE-noinfo (NVD), CWE-20 (GitHub); CPE net-snmp before 5.9.2, Fedora 35/36, Debian 10/11, RHEL 9 variants. — NVD
- Net-SNMP NEWS (read 2026-11-20): 5.9.3 security section lists CVE-2022-24806 among the read-write CVEs, credits Yu Zhang and Nanyu Zhong of VARAS@IIE and Arista Networks; 5.9.2 'skipped due to a last minute library versioning found bug -- use 5.9.3 instead'. — Net-SNMP NEWS
- Net-SNMP commit 9a0cd7c0 (Bill Fenner, 2021-08-24), read 2026-11-20: 'snmpd: recover SET status from delegated request'; status can get lost for mixed delegated and non-delegated SET requests (master agent and agentx sub-agent); one-line change in agent/snmp_agent.c. Named with 67ebb43e by the Debian tracker (v5.9.2.pre1). — Net-SNMP repository
- Debian security tracker (read 2026-11-20): buster fixed 5.7.3+dfsg-5+deb10u3 (DLA-3088-1), bullseye 5.9+dfsg-4+deb11u1 (DSA-5209-1), unstable 5.9.3+dfsg-1; bookworm, trixie, forky and sid fixed; note 'fixed in 5.9.3'. — Debian
- Buildroot commit 83b43373 (2022-11-25) 'package/netsnmp: security bump to version 5.9.3' lists CVE-2022-24806; NETSNMP_VERSION 5.9.3 in tags 2022.11, 2022.08.3, 2022.02.8 and 5.9 in 2022.08.2, 2022.02.7 (read 2026-11-20). — Buildroot
- OpenWrt packages (read 2026-11-20): net/net-snmp PKG_VERSION 5.9.1 on openwrt-22.03 and openwrt-23.05 (release 7) with no CVE backport patch; 5.9.4 on openwrt-24.10. — OpenWrt packages
- CVE record (checked 2026-11-20): state PUBLISHED, CNA GitHub_M, published 2024-04-16; affected net-snmp less than 5.9.2; CNA CVSS v3.1 6.5, CWE-20; mitigation text on SNMPv3 credentials and community strings; CISA ADP SSVC (2024-04-18) exploitation none, automatable no, technical impact partial. — CVE.org
- Not in the CISA KEV catalog, version 2026.11.18 (1,786 entries), checked 2026-11-20. — CISA KEV
- EPSS 0.01061, percentile 0.65279, dataset 2026-11-19, read 2026-11-20. — FIRST EPSS

Related advisories
Sources
- NVD
- CVE.org record CVE-2022-24806 (CNA: GitHub)
- Net-SNMP NEWS (5.9.3 security fixes; 5.9.2 skipped)
- Net-SNMP commit 9a0cd7c0: snmpd: recover SET status from delegated request
- Debian security tracker: CVE-2022-24806
- Buildroot commit 83b43373: package/netsnmp: security bump to version 5.9.3
- OpenWrt packages: net-snmp Makefile (openwrt-23.05)
- OpenWrt packages: net-snmp Makefile (openwrt-24.10)
- CISA KEV
- FIRST EPSS
Frequently asked questions
Which Net-SNMP version fixes CVE-2022-24806, 5.9.2 or 5.9.3?
5.9.3. The CVE record says 'prior to version 5.9.2', but Net-SNMP's NEWS file says 5.9.2 was skipped because of a library versioning bug and lists the fix under 5.9.3. Debian backported it to buster and bullseye without changing the upstream version.
Can CVE-2022-24806 be exploited with a read-only community?
No. It needs read-write credentials: an SNMPv1/v2c write community or an SNMPv3 user with write access. The read-only siblings from the same release are CVE-2022-24805 and CVE-2022-24809.
Does it affect devices that do not use AgentX subagents?
The flaw is in SET requests that reach the master agent and a subagent at the same time, and the fix commit is about requests split between the master agent and an AgentX subagent. An snmpd with no subagents is a smaller target, but update anyway: 5.9.3 also fixes five sibling CVEs.
Which embedded build systems ship the fix?
Buildroot 2022.11 and later, 2022.08.3 and 2022.02.8 (Net-SNMP 5.9.3), and OpenWrt 24.10 (5.9.4). OpenWrt 22.03 and 23.05 build 5.9.1 without the fixes as of 2026-11-20.
Questions about this page?