[php-src] Issue #24918: [SECURITY] BUG-093: Injection - SQL Injection - Unsafely Constructed Queries

From: Date: Wed, 28 Oct 2026 01:51:09 +0000
Subject: [php-src] Issue #24918: [SECURITY] BUG-093: Injection - SQL Injection - Unsafely Constructed Queries
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253372@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24918 Author: Codeleafly ## 🐛 Security Bug Report **Bug ID:** BUG-093 **Category:** Injection **Subcategory:** SQL Injection - Unsafely Constructed Queries **Severity:** High **CWE:** CWE-89 **CVSS Score:** 8.0 **File:** ext/pdo_pgsql/pgsql_driver.c **Line:** multiple **Status:** UNFIXED **Verified:** False ### Description Database extension may construct SQL queries from user input without proper parameterization. String concatenation in queries enables SQL injection. ### Impact Data breach, data modification, authentication bypass, remote code execution. ### Remediation Use prepared statements with parameterized queries. Never concatenate user input into SQL strings. ### Exploitability Remote via web application input ### Source - Repository: https://github.com/php/php-src/ - Branch: master - Analysis Date: 2026-10-27T16:38:37.937347Z --- *Auto-generated from static security analysis of php-src.* *Total bugs found: 161*

« previous php.bugs (#253372) next »