{"vuln_id":"CVE-2025-14179","aliases":["CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7568","CVE-2026-12184","CVE-2026-6104","CVE-2026-7263","GHSA-w476-322c-wpvm"],"description":"php8.2 - security update","published_at":"2026-05-07T12:55:05Z","modified_at":"2026-11-20T01:28:47.348275Z","first_seen_at":"2026-11-21T19:15:06.060466Z","severity":"critical","severity_source":"cvss","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-89"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00439,"epss_percentile":0.38901,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-14179"},"matched_alias":null,"items":[{"id":11930,"source":{"id":"debian13-php","name":"Debian 13 php8.4 (package vulnerabilities)"},"title":"php8.4 (Debian:13): DEBIAN-CVE-2025-14179 / CVE-2025-14179 - 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 whe…","summary":"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.\n\nAffected: Debian:12:php8.2, Debian:13:php8.4, Debian:14:php8.4\n\nFixed in: 8.4.21-1~deb13u1, 8.4.21-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2025-14179","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-14179","published_at":"2026-05-10T05:16:09.853000Z","updated_at":"2026-09-01T20:05:41.300362Z","fetched_at":"2026-11-22T13:39:48.366412Z","severity":"critical","cvss_score":9.8,"epss":0.00439,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.4","vuln_id":"CVE-2025-14179","vuln_ids":["CVE-2025-14179","CVE-2026-12184","CVE-2026-6104","CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7263","CVE-2026-7568","DEBIAN-CVE-2025-14179","GHSA-W476-322C-WPVM"],"tags":["package-watch","pkg:php8.4","stack","debian13","fix-available"],"cluster_id":341,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11930","html":"https://vulnwatch.ve1ve2.com/item/11930"}},{"id":534,"source":{"id":"debian-php","name":"Debian 12 php8.2 (package vulnerabilities)"},"title":"php8.2 (Debian:12): DEBIAN-CVE-2025-14179 / CVE-2025-14179 - 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 whe…","summary":"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.\n\nAffected: Debian:12:php8.2, Debian:13:php8.4, Debian:14:php8.4\n\nFixed in: 8.2.31-1~deb12u1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2025-14179","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-14179","published_at":"2026-05-10T05:16:09.853000Z","updated_at":"2026-09-01T20:05:41.300362Z","fetched_at":"2026-11-21T19:15:05.963804Z","severity":"critical","cvss_score":9.8,"epss":0.00439,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.2","vuln_id":"CVE-2025-14179","vuln_ids":["CVE-2025-14179","CVE-2026-12184","CVE-2026-6104","CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7263","CVE-2026-7568","DEBIAN-CVE-2025-14179","GHSA-W476-322C-WPVM"],"tags":["package-watch","pkg:php8.2","fix-available"],"cluster_id":341,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/534","html":"https://vulnwatch.ve1ve2.com/item/534"}},{"id":11892,"source":{"id":"debian13-php","name":"Debian 13 php8.4 (package vulnerabilities)"},"title":"php8.4 (Debian:13): DSA-6256-1 / CVE-2025-14179 - php8.4 - security update","summary":"Affected: Debian:13:php8.4\n\nFixed in: 8.4.21-1~deb13u1","url":"https://osv.dev/vulnerability/DSA-6256-1","published_at":"2026-05-08T00:00:00Z","updated_at":"2026-11-20T01:28:47.348275Z","fetched_at":"2026-11-22T13:39:48.366361Z","severity":"critical","cvss_score":9.8,"epss":0.00894,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.4","vuln_id":"CVE-2025-14179","vuln_ids":["CVE-2025-14179","CVE-2026-12184","CVE-2026-6104","CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7263","CVE-2026-7568","DSA-6256-1","GHSA-4JHR-8W89-J733","GHSA-74R9-QXHC-FX53","GHSA-7QG2-V9FJ-4MWV","GHSA-85C2-Q967-79Q5","GHSA-96WQ-48VP-HH57","GHSA-HMXP-6PC4-F3VV","GHSA-M33R-QMCV-P97Q","GHSA-M8RR-4C36-8GQ4","GHSA-MHMQ-MMQJ-2V39","GHSA-W476-322C-WPVM","GHSA-WM6J-2649-PV75"],"tags":["package-watch","pkg:php8.4","stack","debian13","fix-available"],"cluster_id":341,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11892","html":"https://vulnwatch.ve1ve2.com/item/11892"}},{"id":475,"source":{"id":"debian-php","name":"Debian 12 php8.2 (package vulnerabilities)"},"title":"php8.2 (Debian:12): DSA-6255-1 / CVE-2025-14179 - php8.2 - security update","summary":"Affected: Debian:12:php8.2\n\nFixed in: 8.2.31-1~deb12u1","url":"https://osv.dev/vulnerability/DSA-6255-1","published_at":"2026-05-08T00:00:00Z","updated_at":"2026-11-20T01:28:41.955854Z","fetched_at":"2026-11-21T19:15:05.963717Z","severity":"critical","cvss_score":9.8,"epss":0.00894,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php8.2","vuln_id":"CVE-2025-14179","vuln_ids":["CVE-2025-14179","CVE-2026-12184","CVE-2026-6104","CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7263","CVE-2026-7568","DSA-6255-1","GHSA-7QG2-V9FJ-4MWV","GHSA-85C2-Q967-79Q5","GHSA-96WQ-48VP-HH57","GHSA-HMXP-6PC4-F3VV","GHSA-M33R-QMCV-P97Q","GHSA-M8RR-4C36-8GQ4","GHSA-W476-322C-WPVM","GHSA-WM6J-2649-PV75"],"tags":["package-watch","pkg:php8.2","fix-available"],"cluster_id":341,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/475","html":"https://vulnwatch.ve1ve2.com/item/475"}},{"id":12646,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-w476-322c-wpvm / CVE-2025-14179: SQL injection in pdo_firebird via NUL bytes in quoted strings","summary":"SQL injection in pdo_firebird via NUL bytes in quoted strings\n\nImproper handling of NUL bytes during the preparation of Firebird SQL queries leads to sections of the of the query being dropped. NUL bytes can find their way into queries even under regular circumstances via `PDO::quote()`.\r\n\r\nhttps://github.com/php/php-src/blob/046ffa257581d6f1a709e9fbc4638793c2ac7e22/ext/pdo_firebird/firebird_driver.c#L437-L442\r\n\r\nA new query is constructed token-by-token. In the case of a `ttString` `'\\0'`, the string is copied via `strncat()` rather than `memcpy()`, stopping after the first `'` quote and ignoring both the `\\0` and terminating `'` quote. This will incorrectly embed the SQL tokens following the string into the string, allowing for trivial SQL injection if the next string is also attacker-controlled.\r\n\r\n```php\r\n$dbh->exec('CREATE TABLE users (name VARCHAR(255))');\r\n$dbh->exec(\"INSERT INTO users VALUES ('Foo')\");\r\n$dbh->exec(\"INSERT INTO users VALUES ('Bar')\");\r\n\r\n$param = $dbh->quote(\"\\0\");\r\n$param2 = $dbh->quote('or 1=1--');\r\n\r\n$stmt = $dbh->query(\"SELECT * FROM users WHERE name = {$param} AND name = {$param2}\");\r\n\r\n// Before preparation:\r\n// SELECT * FROM users WHERE name = '\\0' AND name = 'or 1=1--'\r\n\r\n// After preparation:\r\n// SELECT * FROM users WHERE name = ' AND name = 'or 1=1--'\r\n\r\necho json_encode($stmt->fetchAll(PDO::FETCH_ASSOC)) . \"\\n\";\r\n// [{\"NAME\":\"Foo\"},{\"NAME\":\"Bar\"}]\r\n```\r\n\r\nThis incorrect preparation applies to `SELECT`, `INSERT`, `UPDATE`, `DELETE`, `MERGE`, `WITH` and `EXECUTE` statements.\r\n\r\n## Credits\r\nAleksey Solovev, Nikita Sveshnikov (Positive Technologies)\n\nAffected packages: php:ext-pdo_firebird\nPatched: ext-pdo_firebird 8.2.31, ext-pdo_firebird 8.3.31, ext-pdo_firebird 8.4.21, ext-pdo_firebird 8.5.6","url":"https://github.com/php/php-src/security/advisories/GHSA-w476-322c-wpvm","published_at":"2026-05-07T12:55:05Z","updated_at":"2026-05-07T12:55:06Z","fetched_at":"2026-11-22T14:05:37.431185Z","severity":"critical","cvss_score":9.8,"epss":0.00439,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"ext-pdo_firebird","vuln_id":"CVE-2025-14179","vuln_ids":["CVE-2025-14179","CVE-2026-12184","CVE-2026-6104","CVE-2026-6722","CVE-2026-6735","CVE-2026-7258","CVE-2026-7259","CVE-2026-7261","CVE-2026-7262","CVE-2026-7263","CVE-2026-7568","GHSA-W476-322C-WPVM"],"tags":["repo-advisory","php","CWE-89","security","repo:php/php-src","stack"],"cluster_id":11754,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12646","html":"https://vulnwatch.ve1ve2.com/item/12646"}}]}