9.8

CVE-2025-14179: SQL injection in pdo_firebird via NUL bytes in quoted strings

Modified
AliasesUBUNTU-CVE-2025-14179DEBIAN-CVE-2025-14179CGA-rv7q-5wx3-34gq
Published 10-05-2026Last modified 15-07-2026

Vulnerability summary

CVE-2025-14179 is a critical (CVSS 9.8) vulnerability in php group php. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.44%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 4

Timeline

  1. 10-05-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.44%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.44% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu8 products
  • php5All versions (No fix recorded)
  • php7.0< 7.0.33-0ubuntu0.16.04.16+esm19
  • php7.2All versions (No fix recorded)
  • php7.4All versions (No fix recorded)
  • php8.1< 8.1.2-1ubuntu2.24
Debian2 products
  • php8.2< 8.2.31-1~deb12u1
  • php8.4< 8.4.21-1~deb13u1 | < 8.4.21-1
Chainguard1 product
  • php-8.2< 8.2.31-r0
Php1 product
  • php≥ 8.2.0, < 8.2.31 | ≥ 8.3.0, < 8.3.31 | ≥ 8.4.0, < 8.4.21 | ≥ 8.5.0, < 8.5.6
Php group1 product
  • php≥ 8.2.*, < 8.2.31 | ≥ 8.3.*, < 8.3.31 | ≥ 8.4.*, < 8.4.21 | ≥ 8.5.*, < 8.5.6
Wolfi1 product
  • php-8.2< 8.2.31-r0

6 vendors · 14 products

References

10 links