Out of bounds memory read in unserialize()
An out-of-bounds memory read was found in PHP's unserialize() function, affecting all supported versions. An attacker could potentially trigger this flaw by supplying crafted serialised data, though the text does not detail the exact impact.
- Fixed in 4 months
- Paid in 4 months
- Disclosed after 4 months
I have found and reported an out of bounds memory read in PHP: https://bugs.php.net/bug.php?id=73825
It affected all three supported versions and has been fixed with the latest updates: https://secure.php.net/ChangeLog-5.php#5.6.30 https://secure.php.net/ChangeLog-7.php#7.0.15 https://secure.php.net/ChangeLog-7.php#7.1.1
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
The text only states it is an out-of-bounds memory read and does not specify the impact.
What the attacker needed
Ability to pass serialised data to unserialize()
The fix
It was fixed in PHP 5.6.30, 7.0.15 and 7.1.1.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
PHP's unserialize() turns text back into data structures. A memory read bug means the program can look at memory it should not, which might crash it or leak information. The report is very short and does not explain how to trigger it.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.