Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-14179— SQL injection in pdo_firebird via NUL bytes in quoted strings

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.2.31之前版本、8.3.31之前版本、8.4.21之前版本和8.5.6之前版本存在SQL注入漏洞,该漏洞源于PDO Firebird驱动在处理SQL查询时对NUL字节处理不当,可能导致SQL注入攻击。

AI Predicted 8.6 Difficulty: Moderate EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 4

VendorProduct Version RangeStatus
PHP Group PHP 8.2.*< 8.2.31 affected
8.3.*< 8.3.31 affected
8.4.*< 8.4.21 affected
8.5.*< 8.5.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-14179

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SQL injection in pdo_firebird via NUL bytes in quoted strings
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/AU:Y/RE:M/U:Amber
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
PHP SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.2.31之前版本、8.3.31之前版本、8.4.21之前版本和8.5.6之前版本存在SQL注入漏洞,该漏洞源于PDO Firebird驱动在处理SQL查询时对NUL字节处理不当,可能导致SQL注入攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 8.2.* ~ 8.2.31 -

II. Public POCs for CVE-2025-14179

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-14179

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-14179 (1)

Same Patch Batch · PHP Group · 2026-05-10 · 10 CVEs total

CVE-2026-6722 9.5 CRITICAL Use-After-Free in SOAP using Apache map
CVE-2026-7258 Out-of-bounds read in urldecode() on NetBSD
CVE-2026-7262 NULL pointer dereference in SOAP apache:Map decoder with missing <value>
CVE-2026-7261 SoapServer session-persisted object use-after-free via SOAP header fault
CVE-2026-7259 Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()
CVE-2026-7568 Signed integer overflow in metaphone()
CVE-2026-6735 XSS within PHP-FPM status endpoint
CVE-2026-7263 DoS attack via DOMNode::C14N()
CVE-2026-6104 Global buffer over-read in mb_convert_encoding() with attacker-supplied encoding

IV. Related Vulnerabilities

V. Comments for CVE-2025-14179

No comments yet


Leave a comment