PHP up to 8.2.30/8.3.30/8.4.20/8.5.5 PDO Firebird Driver strncat sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP up to 8.2.30/8.3.30/8.4.20/8.5.5. It has been rated as critical. This impacts the function strncat of the component PDO Firebird Driver. Performing a manipulation results in sql injection.
This vulnerability is identified as CVE-2025-14179. The attack can be initiated remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability was found in PHP up to 8.2.30/8.3.30/8.4.20/8.5.5. It has been classified as critical. This affects the function strncat of the component PDO Firebird Driver. The manipulation with an unknown input leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the PDO Firebird driver improperly handles NUL bytes when preparing SQL queries. During token-by-token query construction, a string token containing a NUL byte is copied via strncat(), which stops at the NUL byte, dropping the closing quote and causing subsequent SQL tokens to be interpreted as part of the string. This allows SQL injection when attacker-controlled values are quoted via PDO::quote() and embedded in SQL statements.
The weakness was released by Aleksey Solovev as GHSA-w476-322c-wpvm. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-14179 since 12/06/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/03/2026). MITRE ATT&CK project uses the attack technique T1505 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 313734 (Fedora 44 : php (2026-c66eaae759)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 8.2.31, 8.3.31, 8.4.21 or 8.5.6 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (313734) and CERT Bund (WID-SEC-2026-1433). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- Microsoft Azure Linux
- Open Source PHP
- Zend ZendPHP
- cPanel cPanel/WHM
Product
Type
Name
Version
- 8.2.0
- 8.2.1
- 8.2.2
- 8.2.3
- 8.2.4
- 8.2.5
- 8.2.6
- 8.2.7
- 8.2.8
- 8.2.9
- 8.2.10
- 8.2.11
- 8.2.12
- 8.2.13
- 8.2.14
- 8.2.15
- 8.2.16
- 8.2.17
- 8.2.18
- 8.2.19
- 8.2.20
- 8.2.21
- 8.2.22
- 8.2.23
- 8.2.24
- 8.2.25
- 8.2.26
- 8.2.27
- 8.2.28
- 8.2.29
- 8.2.30
- 8.3.0
- 8.3.1
- 8.3.2
- 8.3.3
- 8.3.4
- 8.3.5
- 8.3.6
- 8.3.7
- 8.3.8
- 8.3.9
- 8.3.10
- 8.3.11
- 8.3.12
- 8.3.13
- 8.3.14
- 8.3.15
- 8.3.16
- 8.3.17
- 8.3.18
- 8.3.19
- 8.3.20
- 8.3.21
- 8.3.22
- 8.3.23
- 8.3.24
- 8.3.25
- 8.3.26
- 8.3.27
- 8.3.28
- 8.3.29
- 8.3.30
- 8.4.0
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.4.5
- 8.4.6
- 8.4.7
- 8.4.8
- 8.4.9
- 8.4.10
- 8.4.11
- 8.4.12
- 8.4.13
- 8.4.14
- 8.4.15
- 8.4.16
- 8.4.17
- 8.4.18
- 8.4.19
- 8.4.20
- 8.5.0
- 8.5.1
- 8.5.2
- 8.5.3
- 8.5.4
- 8.5.5
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔒
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: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
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: 313734
Nessus Name: Fedora 44 : php (2026-c66eaae759)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PHP 8.2.31/8.3.31/8.4.21/8.5.6
Timeline
12/06/2025 CVE reserved05/10/2026 Advisory disclosed
05/10/2026 VulDB entry created
07/03/2026 VulDB entry last update
Sources
Product: php.orgAdvisory: GHSA-w476-322c-wpvm
Researcher: Aleksey Solovev
Status: Confirmed
CVE: CVE-2025-14179 (🔒)
GCVE (CVE): GCVE-0-2025-14179
GCVE (VulDB): GCVE-100-362481
CERT Bund: WID-SEC-2026-1433 - PHP: Mehrere Schwachstellen
Entry
Created: 05/10/2026 08:59Updated: 07/03/2026 15:47
Changes: 05/10/2026 08:59 (73), 05/10/2026 10:42 (7), 05/11/2026 10:56 (2), 06/02/2026 01:25 (1), 06/04/2026 06:38 (1), 07/02/2026 19:25 (12), 07/03/2026 15:47 (1)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.