On June 8th 2023, the issue has been fixed by SFDX CLI Team on the 8th of June by changing the library it uses for zip files.
https://github.com/forcedotcom/cli/tree/main/releasenotes/sfdx#72046-june-8-2023
FIX: We’ve fixed a number of issues related to Node.js v18.16.0. If you followed our suggestions for working around the issues, you can now return to the version of Node.js you were using before and update Salesforce CLI to the latest version. (GitHub issue #2125, source-deploy-retrieve PR #975)
https://github.com/forcedotcom/source-deploy-retrieve/pull/975
bug report in upstream node: https://github.com/nodejs/node/issues/48406
Previous workaround required to downgrade NodeJS to the previous version like following, for example, for Github Actions CI/CD:
- uses: actions/setup-node@v3
with:
node-version: 18.15.0