BIT-php-min-2025-14179

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2025-14179.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-php-min-2025-14179
Aliases
Published
2026-05-12T08:55:57.210Z
Modified
2026-05-12T10:56:26.105074849Z
Summary
SQL injection in pdo_firebird via NUL bytes in quoted strings
Details

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.

Database specific
{
    "severity": "High",
    "cpes": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / php-min

Package

Name
php-min
Purl
pkg:bitnami/php-min

Severity

  • 7.4 (High) CVSS_V4 - 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:M/U:Amber CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
8.2.0
Fixed
8.2.31
Introduced
8.3.0
Fixed
8.3.31
Introduced
8.4.0
Fixed
8.4.21
Introduced
8.5.0
Fixed
8.5.6

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2025-14179.json"