Input/output error after trying to open a pdf on macos (apple silicon)

When I try to open a PDF on mac from my downloads folder, using the latest build for macos from libreoffice.org, I get an error reading ‘general input/output error.’ So far I have tried: restarting in safe mode, factory resetting my settings, reinstalling the application, trying from other areas on my computer, e.g Documents, whilst also giving the correct permissions. I can confirm the PDF will open on a windows computer. Trying anything else, such as opening a word document works fine. Any ideas on what I could do?