ID CVE-2022-31627
Summary In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption.
References
Vulnerable Configurations
  • cpe:2.3:a:php:php:8.1.0:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:alpha1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:alpha3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:beta2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:beta3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.0:rc6:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.0:rc6:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.1:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.1:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.1:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.2:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.2:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.2:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.3:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.3:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.3:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.3:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.4:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.4:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.4:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.4:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.5:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.5:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.5:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.5:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.6:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.6:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.6:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.6:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.7:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.7:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:8.1.7:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:8.1.7:rc1:*:*:*:*:*:*
CVSS
Base: None
Impact:
Exploitability:
CWE CWE-787
CAPEC
Access
VectorComplexityAuthentication
Impact
ConfidentialityIntegrityAvailability
Last major update 25-10-2022 - 19:45
Published 28-07-2022 - 06:15
Last modified 25-10-2022 - 19:45
Back to Top