VulnWatch by ve1ve2
critical 9.8 EPSS 0.44%

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…

Source:
Debian 12 php8.2 (package vulnerabilities)
Published:
Fetched:
Updated:
Affects:
php php8.2

https://osv.dev/vulnerability/DEBIAN-CVE-2025-14179 ↗

package-watchpkg:php8.2fix-available

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: Debian:12:php8.2, Debian:13:php8.4, Debian:14:php8.4 Fixed in: 8.2.31-1~deb12u1 References: https://security-tracker.debian.org/tracker/CVE-2025-14179

Linked vulnerabilities (1)

CVE-2025-14179 critical 9.8 EPSS 0.44% (p39) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

php8.2 - security update

CWE: CWE-89Aliases: 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

Also reported by (3)