Duktape is an 3rd-party embeddable JavaScript engine, with a focus on portability and compact footprint. When adding too many values in valstack JavaScript will crash. This issue occurs due to bug in Duktape 2.6 which is an 3rd-party solution that we use.
https://support.zabbix.com/browse/ZBX-22989
https://lists.debian.org/debian-lts-announce/2024/10/msg00000.html