UBUNTU-CVE-2022-31627
Dashboard / Vulnerabilities / UBUNTU-CVE-2022-31627
UBUNTU-CVE-2022-31627
Published: 15 Jul 2022Last Modified: 22 Apr 2026
Upstream:
Aliases:
Summary:
Details: 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: https://ubuntu.com/security/CVE-2022-31627, https://ubuntu.com/security/notices/USN-5530-1, https://www.cve.org/CVERecord?id=CVE-2022-31627
Affected packages
Package
Name: php8.1
Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -8.1.2-1ubuntu2.2
Affected versions
8.1.0~rc4-1ubuntu2
8.1.0-1
8.1.2-1ubuntu1
8.1.2-1ubuntu2
8.1.2-1ubuntu2.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
