Exhibit 5.2

|  |  |  | Gibson, Dunn & Crutcher LLP T: +1 415.393.4631 gibsondunn.com

February 10, 2026

Galecto, Inc.

75 State Street, Suite 100

Boston, MA 02109

Re: | Galecto, Inc.

Registration Statement on Form S-3

Ladies and Gentlemen:

We have examined the Registration Statement on Form S-3 (the “Registration Statement”) of Galecto, Inc., a Delaware corporation (the “Company”), filed with the Securities and Exchange Commission (the “Commission”) pursuant to the Securities Act of 1933, as amended (the “Securities Act”), and the prospectus supplement thereto dated February 10, 2026 (the “Prospectus Supplement”), in connection with the offering by the Company of up to $150,000,000 of the Company’s common stock, par value $0.00001 per share (the “Shares”).

In arriving at the opinion expressed below, we have examined originals, or copies certified or otherwise identified to our satisfaction as being true and complete copies of the originals, of specimen common stock certificates and such other documents, corporate records, certificates of officers of the Company and of public officials and other instruments as we have deemed necessary or advisable to enable us to render the opinions set forth below. In our examination, we have assumed without independent investigation the genuineness of all signatures, the legal capacity and competency of all natural persons, the authenticity of all documents submitted to us as originals and the conformity to original documents of all documents submitted to us as copies. We have further assumed that all offers and sales of the Shares will comply with the minimum offering price and pricing formula set forth in the authorization of the offering and sale of the Shares by the Company’s Board of Directors.

Based upon the foregoing, and subject to the assumptions, exceptions, qualifications and limitations set forth herein, we are of the opinion that the Shares, when issued against payment therefor as set forth in the Registration Statement and the Prospectus Supplement thereto, will be validly issued, fully paid and non-assessable.

We consent to the filing of this opinion as an exhibit to the Registration Statement, and we further consent to the use of our name under the caption “Legal Matters” in the Registration Statement and the Prospectus Supplement. In giving these consents, we do not thereby admit that we are within the category of persons whose consent is required under Section 7 of the Securities Act or the Rules and Regulations of the Commission.

Very truly yours, /s/ Gibson, Dunn & Crutcher LLP

Gibson, Dunn & Crutcher LLP

One Embarcadero Center Suite 2600 | San Francisco, CA 94111-3715 | T: 415.393.8200 | F: 415.393.8306 | gibsondunn.com