ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-14179

php: SQL injection in pdo_firebird via NUL bytes in quoted strings

This advisory was withdrawn on 23 November 2026.

Important No fix available CVE-2025-14179

Details

A flaw was found in PHP. 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 flaw allows SQL injection when attacker-controlled values are quoted via PDO::quote() and embedded in SQL statements.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10php
All versions, no fix yet

References