CVE-2025-14179
CVE-2025-14179 — SQL injection in pdo_firebird via NUL bytes in quoted strings
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.
Published Updated Sources: cvelistV5, php
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
8.1
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.1 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-89
References
4 on the record
- github.com/php/php-src/security/advisories/GHSA-w476-322c-wpvm
vendor-advisory
- access.redhat.com/security/cve/CVE-2025-14179
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2468567
issue-tracking, x_refsource_REDHAT
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14179.json
x_sadp-csaf-vex
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
- CVE-2024-4577 Argument Injection in PHP-CGICVSS 9.8 · CISA KEV
- CVE-2019-11043 Underflow in PHP-FPM can lead to RCECVSS 9.8 · CISA KEV
- CVE-2026-109619 RCE via stale global stateCVSS 8.1 · CISA KEV
- CVE-2012-1823 PHP-CGI Query String Parameter VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-129289 PHP-FPM request smuggling through an unread HTTP request bodyCVSS 9.2
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.