CVE-2025-22604
Cacti has Authenticated RCE via multi-line SNMP responses
Reported by github_m · Published January 27, 2025
Cacti is an open source performance and fault management framework. Due to a flaw in multi-line SNMP result parser, authenticated users can inject malformed OIDs in the response. When processed by ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes(), a part of each OID will be used as a key in an array that is used as part of a system command, causing a command execution vulnerability. This vulnerability is fixed in 1.2.29.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cacti | Alpine | 1.2.29-r0 |
| cacti | cacti | 1.2.29 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cacti | cacti | <= 1.2.8 |
| alpine | cacti | 0 |
| Cacti | cacti | 0 |
Timeline
- Jan 26, 2025 CVE Published
- Jan 27, 2025 Coalition ESS Score (12 in total, the first dated here)
- Jan 28, 2025 EPSS Score (30 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Dec 21, 2025 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-22604
vulnetix vdb fixes CVE-2025-22604
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-22604/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart