OSV-2022-573 Heap-buffer-overflow in zim_ReflectionEnumBackedCase_getBackingValue
A heap-buffer-overflow in PHP's reflection enum handling allows attackers to cause crashes or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2022-573?
OSV-2022-573 is a memory corruption vulnerability in php, published on 13 Jul 2022.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49068
Crash type: Heap-buffer-overflow READ 4
Crash state:
zim_ReflectionEnumBackedCase_getBackingValue
execute_internal
fuzzer_execute_internal
Which versions are affected by OSV-2022-573?
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-573?
No fix has been published for OSV-2022-573 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-573 being exploited?
There is no known exploitation of OSV-2022-573 in the wild and no public exploit code.