An issue was discovered on GL.iNet devices before 3.216. The function guci2_get() found in libglutil.so has a buffer overflow when an item is requested from a UCI context, and the value is pasted into a char pointer to a buffer without checking the size of the buffer.
https://justinapplegate.me/2023/glinet-CVE-2023-31475/
https://github.com/gl-inet/CVE-issues/blob/main/3.215/Buffer_Overflow.md