"The stock price" as it is commonly referred to, says one thing and implies another.
What it says: "This is the most recent transaction price that actually occurred". This would change if a freak transaction occurred for a penny, or for $1B.
What it implies: "This is what the current stock is worth generally speaking, at this moment". This would not change with a freak transaction. The theoretical "true value of future cashflows" of owning a share is not technically related to 'the stock price'. In reality of course, 'market sentiment', meaning the price that the market is actively trading a stock at, should be influenced by the projected earnings of the company, so there is some relationship there.
For an actively traded stock, 'the implication' is a fair assumption based on 'the stock price'. However, every once in a while, there will be a drop in liquidity if buy or sell orders surge in a particular direction, 'drying up' previously posted orders on the other side. Here's an interesting example, for which I can't find a link, so apologies if my facts are off somewhat (the substance is generally indicative of what can happen):
There was a person who had put in a market order to 'buy x shares of Apple', when the last price traded was something like... $1k. But as his finger was pushing the 'buy' order, a bulk trader bought up all shares that were listed as wanting to be sold for anything less than like $1,100. But.... no one had put in a pending sale order at $1,101. The next standing order to sell shares was something like $10,000. So this person bought some shares at a cost of $10k, which was 10x more than the shares were worth. Seconds later, the next transaction occurred at 1,101 (or something like it), because the $10k price was a freak flash surge, and had no bearing on underlying value.