OSV-2022-235 Heap-buffer-overflow in zend_gc_collect_cycles
A heap-buffer-overflow in PHP's garbage collector can cause a crash, leading to denial of service for applications using the affected interpreter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-235?
OSV-2022-235 is a memory corruption vulnerability in php, published on 11 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=45369
Crash type: Heap-buffer-overflow READ 1
Crash state:
zend_gc_collect_cycles
fuzzer_request_shutdown
fuzzer_do_request_from_buffer
Which versions are affected by OSV-2022-235?
1 open source package ship an affected version, including php.
| Package | Affected | Fixed in |
|---|---|---|
php OSS-Fuzz | All versions | None |
How do I fix OSV-2022-235?
No fix has been published for OSV-2022-235 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is OSV-2022-235 being exploited?
There is no known exploitation of OSV-2022-235 in the wild and no public exploit code.