Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2025-22604 EUVD-2025-2878

Cacti has Authenticated RCE via multi-line SNMP responses

Published Jan 27, 2025 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
Cacti cacti <= 1.2.8 —

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.

ReleasePackageFixed inAdvisory
Debian 14 cacti 1.2.28+ds1-4 —
Debian 13 cacti 1.2.28+ds1-4 —
Debian 12 cacti 1.2.24+ds1-1+deb12u5 DSA-5862-1
Debian 11 cacti 1.2.16+ds1-2+deb11u5 DLA-4048-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 cacti No fix yet —
Ubuntu 24.04 LTS cacti No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS cacti No fix yet —
Ubuntu Pro 20.04 LTS cacti No fix yet —
Ubuntu Pro 18.04 LTS cacti No fix yet —
Ubuntu Pro 16.04 LTS cacti No fix yet —
Ubuntu Pro 14.04 LTS cacti No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 cacti 1.2.29-r0 —
Alpine v3.23 cacti 1.2.29-r0 —
Alpine v3.22 cacti 1.2.29-r0 —
Alpine v3.21 cacti 1.2.29-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References