<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0609</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2026-03-26</periodOfReport>

    <dateOfOriginalSubmission>2026-03-19</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001839341</issuerCik>
        <issuerName>Core Scientific, Inc./tx</issuerName>
        <issuerTradingSymbol>CORZ</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001842273</rptOwnerCik>
            <rptOwnerName>Nygaard James P Jr</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O CORE SCIENTIFIC, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>838 WALKER ROAD, SUITE 21-2105</rptOwnerStreet2>
            <rptOwnerCity>DOVER</rptOwnerCity>
            <rptOwnerState>DE</rptOwnerState>
            <rptOwnerZipCode>19904</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>EVP, Chief Financial Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-26</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>98671</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>16.42</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>922982</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares withheld to satisfy withholding tax obligations upon the vesting of restricted stock units.</footnote>
        <footnote id="F2">Reported amount reflects the acquisition of 3,555 shares of Common Stock and the acquisition of 336 shares of Common Stock that the Reporting Person received on July 17, 2025 and December 24, 2025, respectively, for no consideration in connection with in-kind distributions by XMS XPDI Sponsor Holdings LLC, which were exempt from Section 16 of the Securities Exchange Act of 1934, as amended (the &quot;Exchange Act&quot;), pursuant to Rule 16a-9 under the Exchange Act.</footnote>
    </footnotes>

    <remarks>This Form 4 amendment is being filed to amend and restate in its entirety the original Form 4 filed by the Reporting Person on March 19, 2026, which inadvertently reported 92,725 shares were withheld on March 17, 2026 to satisfy withholding tax obligations upon the vesting of restricted stock units.</remarks>

    <ownerSignature>
        <signatureName>/s/ Todd DuChene, as Attorney-in-Fact</signatureName>
        <signatureDate>2026-03-27</signatureDate>
    </ownerSignature>
</ownershipDocument>
