UBUNTU-CVE-2025-14179

    Dashboard / Vulnerabilities / UBUNTU-CVE-2025-14179

    UBUNTU-CVE-2025-14179

    Published: 10 May 2026Last Modified: 6 Jul 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: php5

    Purl: pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    5.5.3+dfsg-1ubuntu2
    5.5.3+dfsg-1ubuntu3
    5.5.6+dfsg-1ubuntu1
    5.5.6+dfsg-1ubuntu2
    5.5.8+dfsg-2ubuntu1
    5.5.9+dfsg-1ubuntu1
    5.5.9+dfsg-1ubuntu2
    5.5.9+dfsg-1ubuntu3
    5.5.9+dfsg-1ubuntu4
    5.5.9+dfsg-1ubuntu4.1
    5.5.9+dfsg-1ubuntu4.2
    5.5.9+dfsg-1ubuntu4.3
    5.5.9+dfsg-1ubuntu4.4
    5.5.9+dfsg-1ubuntu4.5
    5.5.9+dfsg-1ubuntu4.6
    5.5.9+dfsg-1ubuntu4.7
    5.5.9+dfsg-1ubuntu4.9
    5.5.9+dfsg-1ubuntu4.11
    5.5.9+dfsg-1ubuntu4.12
    5.5.9+dfsg-1ubuntu4.13
    5.5.9+dfsg-1ubuntu4.14
    5.5.9+dfsg-1ubuntu4.16
    5.5.9+dfsg-1ubuntu4.17
    5.5.9+dfsg-1ubuntu4.19
    5.5.9+dfsg-1ubuntu4.20
    5.5.9+dfsg-1ubuntu4.21
    5.5.9+dfsg-1ubuntu4.22
    5.5.9+dfsg-1ubuntu4.23
    5.5.9+dfsg-1ubuntu4.24
    5.5.9+dfsg-1ubuntu4.25
    5.5.9+dfsg-1ubuntu4.26
    5.5.9+dfsg-1ubuntu4.27
    5.5.9+dfsg-1ubuntu4.29
    5.5.9+dfsg-1ubuntu4.29+esm1
    5.5.9+dfsg-1ubuntu4.29+esm2
    5.5.9+dfsg-1ubuntu4.29+esm3
    5.5.9+dfsg-1ubuntu4.29+esm4
    5.5.9+dfsg-1ubuntu4.29+esm5
    5.5.9+dfsg-1ubuntu4.29+esm6
    5.5.9+dfsg-1ubuntu4.29+esm8
    5.5.9+dfsg-1ubuntu4.29+esm10
    5.5.9+dfsg-1ubuntu4.29+esm11
    5.5.9+dfsg-1ubuntu4.29+esm12
    5.5.9+dfsg-1ubuntu4.29+esm13
    5.5.9+dfsg-1ubuntu4.29+esm14
    5.5.9+dfsg-1ubuntu4.29+esm15
    5.5.9+dfsg-1ubuntu4.29+esm16

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2025-14179 | CVE-DB