Got the same issue here from AutoCAD 2019 onwards and only a few people with me have this error where on my side it does not occur.
Even trying to catch the error with the error trapping off does not work. I narrowed it down to the InsertBlock command and simplified the code, didn't work for me, same error.
i'm using the line in my VBA to import survey points from the Clipboard and then insert them in the drawing.
Unfortunately I cannot use the Drawing.Save method as the insertion might be invalid, save would overwrite the original drawing state. Could open the drawing, save it under a new, temp name, import the points and if OK, store the drawing back under its original name.....
One work round method does work: using the InsertBlock in a brand new. clean drawing works all the time fine without the error occurring, once I've used the import, the next time AutoCAD crashes at the next import run.
So: import the 1st time in a drawing goes well, open a new, clean drawing, import the points there, select them all, Clipboard => Copy, back to the 1st drawing, Clipboard => Paste to original coordinates and sorted.
I agree with the author here that it is not a programming error.
Hope someone at AutoDESK might have a direct solution to avoid the crash.