If anyone still have issues with copy/paste in 2507 CU1 there is a private fix for this
Background: (Internal references CVADHELP-29644/ CVADHELP-30717/HDX-94227)
• In some scenario a call to a function could return an empty shared pointer.
• This causes a null-pointer exception and termination of the calling thread.
• The fix prevents access to empty shared pointer.
After almost a month with Citrix Support we found out about this from Morients87 on r/Citrix