http://libgen.rs/search.php?req=cox+little+o%27shea+ideals&o...
Fun fact: the newest one (the 2018 corrected version of the 2015 fourth edition) is not among them.
Yes, for very minor edits, those files should obviously not exist, but for that there would need to be someone who verifies this, which is such an enormous task that likely no one would take up.
OpenLibrary provides both Work and Edition ids, which helps connect different versions.
Their database is not perfect either, but it might make more sense to keep the bibliographic data seperate from the copyright contents anyway.
https://openlibrary.org/works/OL1849157W/Ideals_varieties_an...
I have found the same book with multiple sized pdf, with same content. Someone maybe uploaded a poorly scanned pdf when the book was first released but later Someone else uploaded a OCRed version, but the first one just stayed hogging a large amount of storage.