CVE-2025-14179: Vulnerability in PHP
Critical. 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...
CWE-89
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-89
- Published
- 10 May 2026
- Last change
- 25 Jul 2026
Affected products
Affected versions and the first fixed release
- PHP From 8.2.0 before 8.2.31; From 8.3.0 before 8.3.31; From 8.4.0 before 8.4.21; From 8.5.0 before 8.5.6. Fixed in 8.2.31, 8.3.31, 8.4.21, 8.5.6
Advisories
Vendor and security advisories
- github.com/php/php-src/security/advisories/GHSA-w476-322c-wpvm
- access.redhat.com/security/cve/CVE-2025-14179
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14179.json
Related
- PHP vulnerabilities Recent advisories, watch this product