Your submission was sent successfully! Close

CVE-2022-31627

Published: 15 July 2022

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.

Notes

AuthorNote
sbeattie
PEAR issues should go against php-pear as of xenial
mdeslaur
only affects 8.1
Priority

Medium

CVSS 3 base score: 9.8

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Not vulnerable
(code not present)
upstream Needs triage

xenial Does not exist

php7.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable
(code not present)
php7.2
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(code not present)
focal Does not exist

impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

php7.4
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Not vulnerable
(code not present)
impish Does not exist

jammy Does not exist

trusty Does not exist

upstream Not vulnerable
(debian: Only affects 8.1 and later)
xenial Does not exist

php8.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Not vulnerable
(code not present)
jammy Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

php8.1
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

impish Does not exist

jammy
Released (8.1.2-1ubuntu2.2)
trusty Does not exist

upstream
Released (8.1.8)
xenial Does not exist

Patches:
upstream: https://github.com/php/php-src/commit/ca6d511fa54b34d5b75bf120a86482a1b9e1e686