Exhibit 5. 1
| | |

| | |
Oracle Corporation 2300 Oracle Way Austin, Texas 78741 | | Silicon Valley 855 Main Street Redwood City, CA 94063 T +1 (650) 618-9250 freshfields.us |
February 4, 2026
Ladies and Gentlemen:
We have acted as counsel to Oracle Corporation, a Delaware corporation (the “Company”), in connection with the Company’s offering, issuance and sale through BofA Securities, Inc., Citigroup Global Markets Inc., Deutsche Bank Securities Inc., Goldman Sachs & Co. LLC, HSBC Securities (USA) Inc., J.P. Morgan Securities LLC, BNP Paribas Securities Corp., PNC Capital Markets LLC, SMBC Nikko Securities America, Inc., Santander US Capital Markets LLC, TD Securities (USA) LLC, BNY Mellon Capital Markets, LLC, Credit Agricole Securities (USA) Inc., ING Financial Markets LLC, Wells Fargo Securities, LLC and the other managers from time to time party thereto (the “Managers”), from time to time, of shares of its common stock, $0.01 par value per share, having an aggregate gross sales price of up to $20,000,000,000 (the “Shares”) pursuant to (i) the shelf registration statement on Form S-3 filed with the Securities and Exchange Commission (the “SEC”) on March 15, 2024 pursuant to the provisions of the Securities Act of 1933, as amended (the “Securities Act”) (File No. 333-277990) (as amended through the date hereof, and together with the documents incorporated by reference therein, the “Registration Statement”), including a base prospectus (the “Base Prospectus”), as supplemented by the prospectus supplement dated February 2, 2026 and the prospectus supplement dated February 3, 2026 (both prospectus supplements, together with the Base Prospectus and the documents incorporated by reference therein, the “Prospectus”); and (ii) the Equity Distribution Agreement, dated February 2, 2026, (as may be amended, amended and restated or supplemented from time to time, the “Equity Distribution Agreement”), by and among the Company and the Managers.
We, as your counsel, have examined originals or copies of such documents, corporate records, certificates of public officials and other instruments as we have deemed necessary or advisable for the purpose of rendering this opinion.