CRITICAL · CVSS 9.8 Published: 2026-05-10

CVE-2025-14179 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-14179
Base Severity / ScoreCRITICAL (9.8 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness ClassificationCWE-89
Archive CategoriesCRITICAL Advisories · 2026 Index

Operational Mitigation Guidance

Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-14178 MEDIUM 6.5
CVE-2025-14231 CRITICAL 9.8
CVE-2025-14232 CRITICAL 9.8
CVE-2025-14233 CRITICAL 9.8
CVE-2025-14234 CRITICAL 9.8
CVE-2025-14235 CRITICAL 9.8
CVE-2025-14236 CRITICAL 9.8