I had the same issue, I was using the Puppeteer-core library in my lambda layer, and when the node version automatically updated to node 18.v28 from node 18.v26, my lambda started failing.
One reason for this was my puppeteer-core version was 10.4.0 and after upgrading it to 22.4.0, it started working fine with node 18.v28.
Do we have any document where AWS notifies about auto update of runtime version?