Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.
https://gitlab.com/sane-project/backends/-/issues/709
http://seclists.org/fulldisclosure/2024/Jan/69
http://packetstormsecurity.com/files/176823/sane-1.2.1-Buffer-Overflow.html