OSV-2020-1779 Heap-use-after-free in zend_gc_addref
A heap-use-after-free in the PHP engine's garbage collection can lead to crashes or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-1779?
OSV-2020-1779 is an use after free vulnerability in php, published on 17 Sep 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25697
Crash type: Heap-use-after-free READ 4
Crash state:
zend_gc_addref
zend_generator_update_current
zend_generator_dtor_storage
Which versions are affected by OSV-2020-1779?
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-2020-1779?
No fix has been published for OSV-2020-1779 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2020-1779 being exploited?
There is no known exploitation of OSV-2020-1779 in the wild and no public exploit code.