Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

debian логотип

CVE-2025-14179

Опубликовано: 10 мая 2026
Источник: debian
EPSS Низкий

Описание

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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
php8.4fixed8.4.21-1package
php8.2removedpackage
php7.4not-affectedpackage

Примечания

  • https://github.com/php/php-src/security/advisories/GHSA-w476-322c-wpvm

  • https://github.com/php/php-src/commit/3f40b65323dd1b85e9bab6878237d3867e449d5c

  • Introduced with: https://github.com/php/php-src/commit/17a789e27c31ca13ba4bab6fcfc265d2dd0589a2 (php-8.0.0RC2)

EPSS

Процентиль: 17%
0.00261
Низкий

Связанные уязвимости

CVSS3: 9.8
ubuntu
около 1 месяца назад

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.

CVSS3: 8.1
redhat
около 1 месяца назад

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.

CVSS3: 9.8
nvd
около 1 месяца назад

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.

msrc
около 1 месяца назад

SQL injection in pdo_firebird via NUL bytes in quoted strings

github
около 1 месяца назад

SQL injection in pdo_firebird via NUL bytes in quoted strings

EPSS

Процентиль: 17%
0.00261
Низкий