CVE-2025-31187 is a vulnerability in macOS that allowed an application to modify protected parts of the file system. The issue was resolved by removing the vulnerable code and is fixed in macOS Ventura 13.7.5, macOS Sequoia 15.4, and macOS Sonoma 14.7.5. The vulnerability has a medium severity rating with a CVSS score of 5.5.