In other tickets, Segmentation faults happened for MacOS users when they had migrated a Homebrew installation onto a new major MacOS version which it wasn't compatible with (each major MacOS release gets its own build of Homebrew libraries).
In this case, one needs to reinstall Homebrew, then reinstall all Pyenv-managed Python versions so that they are rebuilt against the new libs.
https://github.com/pyenv/pyenv/issues/1048#issuecomment-1696391886