Heap-buffer-overflow in zim_ReflectionEnumBackedCase_getBackingValue in php

php Updated 02 Oct 2025

Summary

13/07/2022
MEDIUM
No i
Medium
Not published

OSV-2022-573: Heap-buffer-overflow in zim_ReflectionEnumBackedCase_getBackingValue. Affects php versions >= ddc0b490f76b469591f851ccbce56c20ef93f333. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

PHP is a popular open-source programming language widely used for web development. It provides a powerful and flexible platform for building dynamic websites and applications. This vulnerability affects the PHP package and is related to a heap-buffer-overflow in the function zim_ReflectionEnumBackedCase_getBackingValue.

Vulnerability Detail

The vulnerability is a heap-buffer-overflow read of 4 bytes. It was reported through the OSS-Fuzz project and can lead to a crash in the zim_ReflectionEnumBackedCase_getBackingValue function. The exact cause and impact of the vulnerability are not provided in the report. However, heap-buffer-overflow vulnerabilities can potentially be exploited by attackers to execute arbitrary code or cause a denial-of-service condition.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No specific workaround is mentioned in the report.

Conclusion

In conclusion, the PHP package is affected by a heap-buffer-overflow vulnerability in the zim_ReflectionEnumBackedCase_getBackingValue function. It is recommended to update the package to a version that includes the fix to mitigate the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for php →

Share this vulnerability

FAQ

PHP is a popular open-source programming language used for web development.

A heap-buffer-overflow vulnerability occurs when a program writes data beyond the bounds of a buffer allocated in the heap, potentially leading to memory corruption and security issues.

This vulnerability was discovered through the OSS-Fuzz project, which performs continuous fuzz testing on open-source software.

The exact consequences of this vulnerability are not provided in the report. However, heap-buffer-overflow vulnerabilities can potentially be exploited by attackers to execute arbitrary code or cause a denial-of-service condition.

To fix this vulnerability, update the PHP package to a version that includes the fix. The fix was introduced in commit ddc0b490f76b469591f851ccbce56c20ef93f333 in the PHP source code repository.

Related vulnerabilities

Recent vulnerabilities recorded for php.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback