The attached PDF file, included with \includegraphics, gives correct output with pdfTeX and LuaTeX, but incorrect output with XeTeX. In short, the output is

instead of

There's nothing special about the PDF file, apart from its size (about 8 MB). It's several individual ComplexPlot produced in Mathematica and exported to PDF from there, then assembled and reworked into a single figure in Illustrator and exported to PDF from there. All software (TeX and friends, Mathematica, Illustrator) are in their most recent version, on a Mac with macOS 13 Ventura.
The included file is PDF 1.6. I've tried saving it to PDF 1.5 instead, the result is the same.
I've tried running xetex and xdvipdfmx separately, with "xetex -no-pdf" and "xdvipdfmx -vvvv", to see which of the two is involved (probably the latter). I couldn't find any warning when xdvipdfmx is processing the PDF file, though.
An archive pdf-inclusion-problem.zip containing the PDF file and a minimal LaTeX file including it is attached.
Anonymous
Please forget about this report. I just realized the problem only happens when viewing XeTeX's PDF output with macOS's Preview (Ventura version), not with Acrobat or Ghostscript. So the bug must be in macOS. I just reported it. Sorry for the noise.