Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).
https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html
https://github.com/python-pillow/Pillow/releases
https://duartecsantos.github.io/2024-01-02-CVE-2023-50447/