{"id":"CVE-2026-39894","state":"PUBLISHED","title":"Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting","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.","publishedAt":"2026-06-24T21:55:49.857Z","updatedAt":"2026-06-25T13:02:42.706Z","severity":{"score":2.9,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Cacti cacti"],"affected":[{"vendor":"Cacti","product":"cacti","versions":[{"version":"< 1.2.31","status":"affected"}]}],"references":["https://github.com/Cacti/cacti/security/advisories/GHSA-23g4-vf2j-94w4","https://github.com/Cacti/cacti/issues/7011","https://github.com/Cacti/cacti/commit/d2a698854956e9e4e53da9eab5b5719ae40e6893"],"weaknesses":["CWE-474"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39894.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39894","state":"PUBLISHED","datePublished":"2026-06-24T21:55:49.857Z","dateUpdated":"2026-06-25T13:02:42.706Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-07T20:32:03.011Z"},"containers":{"cna":{"title":"Cacti: RRDtool metric shift via LC_NUMERIC locale comma decimal formatting","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Cacti","product":"cacti","versions":[{"version":"< 1.2.31","status":"affected"}]}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-23g4-vf2j-94w4","name":"https://github.com/Cacti/cacti/security/advisories/GHSA-23g4-vf2j-94w4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Cacti/cacti/issues/7011","name":"https://github.com/Cacti/cacti/issues/7011","tags":["x_refsource_MISC"]},{"url":"https://github.com/Cacti/cacti/commit/d2a698854956e9e4e53da9eab5b5719ae40e6893","name":"https://github.com/Cacti/cacti/commit/d2a698854956e9e4e53da9eab5b5719ae40e6893","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":2.9,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-474","lang":"en","description":"CWE-474: Use of Function with Inconsistent Implementations","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-24T21:55:49.857Z"},"source":{"advisory":"GHSA-23g4-vf2j-94w4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-25T13:02:29.458961Z","id":"CVE-2026-39894","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-25T13:02:42.706Z"}}]}}}