PHP up to 7.4.29/8.0.19/8.1.6 Parametrized Query uninitialized pointer
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in PHP up to 7.4.29/8.0.19/8.1.6. This issue affects some unknown processing of the component Parametrized Query Handler. Performing a manipulation results in uninitialized pointer. This vulnerability is cataloged as CVE-2022-31625. It is possible to initiate the attack remotely. There is no exploit available. You should upgrade the affected component.
Details
A vulnerability classified as critical has been found in PHP up to 7.4.29/8.0.19/8.1.6 (Programming Language Software). This affects some unknown functionality of the component Parametrized Query Handler. The manipulation with an unknown input leads to a uninitialized pointer vulnerability. CWE is classifying the issue as CWE-824. The product accesses or uses a pointer that has not been initialized. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This could lead to RCE vulnerability or denial of service.
The weakness was shared 06/16/2022 as 81720. It is possible to read the advisory at bugs.php.net. This vulnerability is uniquely identified as CVE-2022-31625 since 05/25/2022. The technical details are unknown and an exploit is not publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 236728 (Alibaba Cloud Linux 3 : 0157: php:7.4 (ALINUX3-SA-2022:0157)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 7.4.30, 8.0.20 or 8.1.7 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (236728). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
- 7.4.0
- 7.4.1
- 7.4.2
- 7.4.3
- 7.4.4
- 7.4.5
- 7.4.6
- 7.4.7
- 7.4.8
- 7.4.9
- 7.4.10
- 7.4.11
- 7.4.12
- 7.4.13
- 7.4.14
- 7.4.15
- 7.4.16
- 7.4.17
- 7.4.18
- 7.4.19
- 7.4.20
- 7.4.21
- 7.4.22
- 7.4.23
- 7.4.24
- 7.4.25
- 7.4.26
- 7.4.27
- 7.4.28
- 7.4.29
- 8.0.0
- 8.0.1
- 8.0.2
- 8.0.3
- 8.0.4
- 8.0.5
- 8.0.6
- 8.0.7
- 8.0.8
- 8.0.9
- 8.0.10
- 8.0.11
- 8.0.12
- 8.0.13
- 8.0.14
- 8.0.15
- 8.0.16
- 8.0.17
- 8.0.18
- 8.0.19
- 8.1.0
- 8.1.1
- 8.1.2
- 8.1.3
- 8.1.4
- 8.1.5
- 8.1.6
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.1VulDB Meta Temp Score: 7.9
VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 8.1
CNA Vector (PHP Group): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Uninitialized pointerCWE: CWE-824 / CWE-908
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236728
Nessus Name: Alibaba Cloud Linux 3 : 0157: php:7.4 (ALINUX3-SA-2022:0157)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 7.4.30/8.0.20/8.1.7
Timeline
05/25/2022 🔍06/16/2022 🔍
06/16/2022 🔍
05/16/2025 🔍
Sources
Product: php.orgAdvisory: 81720
Status: Confirmed
CVE: CVE-2022-31625 (🔍)
GCVE (CVE): GCVE-0-2022-31625
GCVE (VulDB): GCVE-100-202239
Entry
Created: 06/16/2022 13:07Updated: 05/16/2025 15:53
Changes: 06/16/2022 13:07 (41), 06/19/2022 08:36 (11), 05/16/2025 15:53 (16)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.