CVE-2026-39894
published low CVSS 3.1 · 2.9Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cacti | — | cacti< 1.2.31 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | cacti | Fixed | 1.2.31-r0 | Package fix record |
| Alpine Linux | v3.24 | cacti | Fixed | 1.2.31-0 | Package fix record |
Description
Cacti is an open source performance and fault management framework. In versions 1.2.30 and below, the locale-dependent decimal formatting in rrdtool_function_update() can corrupt RRDtool metric values. The rrdtool_function_update() function checks metric values with is_numeric() and concatenates them into the RRDtool update command via PHP string interpolation. PHP's string cast of floats is locale-sensitive: if LC_NUMERIC uses comma as decimal separator (e.g., de_DE), a value of 1.5 becomes "1,5". RRDtool expects . as decimal separator, causing metric data to shift into wrong columns or be silently dropped. No setlocale() reset is present in the update path. This causes a data integrity issue, but is not remotely exploitable; it requires server locale misconfiguration. The issue has been fixed in version 1.2.31.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cacti | cacti | < 1.2.31 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-474 CWE-474: Use of Function with Inconsistent Implementations
References
3Provider assertions
2GitHub_M · cna
Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d882124a1fc83bf36402c34eee509a0438addd243c30b45fa7004eae8ff00ecd
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record