EX-5.1 2 a2166169zex-5_1.htm EXHIBIT 5.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

[Letterhead of S&C]

March 1, 2006

CA, Inc.,
One CA Plaza,
Islandia, New York 11749.

Ladies and Gentlemen:

        In connection with the registration under the Securities Act of 1933 (the "Act") of $500,000,000 principal amount of 4.750% Series B Senior Notes due 2009 and $500,000,000 principal amount of 5.625% Series B Senior Notes due 2014 (the "Securities") of CA, Inc., a Delaware corporation (the "Company"), we, as your counsel, have examined such corporate records, certificates and other documents, and such questions of law, as we have considered necessary or appropriate for the purposes of this opinion.

        Upon the basis of such examination, we advise you that, in our opinion, when the Registration Statement has become effective under the Act and the terms of the Securities and of their issuance and sale have been duly established in conformity with the Indenture so as not to violate any applicable law or result in a default under or breach of any agreement or instrument binding upon the Company and so as to comply with any requirement or restriction imposed by any court or governmental body having jurisdiction over the Company, and the Securities have been duly executed and authenticated in accordance with the Indenture and issued and delivered as contemplated in the Registration Statement, the Securities will constitute valid and legally binding obligations of the Company, subject to bankruptcy, insolvency, fraudulent transfer, reorganization, moratorium and similar laws of general applicability relating to or affecting creditors' rights and to general equity principles.

        In rendering the foregoing opinion we are expressing no opinion as to Federal or state laws relating to fraudulent transfers.

        The foregoing opinion is limited to the Federal laws of the United States, the laws of the State of New York and the General Corporation Law of the State of Delaware, and we are expressing no opinion as to the effect of the laws of any other jurisdiction.

        Also, we have relied as to certain matters on information obtained from public officials, officers of the Company and other sources believed by us to be responsible, and we have assumed that the Indenture has been duly authorized, executed and delivered by the Trustee thereunder, an assumption which we have not independently verified.

        We hereby consent to the filing of this opinion as an exhibit to the Registration Statement and to the reference to us under the heading "Validity of the New Notes" in the Prospectus. In giving such consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Act.

  Very truly yours,
/s/  
SULLIVAN & CROMWELL LLP      
Sullivan & Cromwell LLP



QuickLinks