CVE-2012-3450

PHP < 5.3.14 and 5.4.x < 5.4.4 - Denial of Service via PDO Prepared Statement Parsing

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-3450. PoCs published by 0x721427D8.

AI-analyzed exploit summary This exploit demonstrates a denial-of-service vulnerability in PHP's PDO extension by triggering a segmentation fault during parameter parsing. The PoC uses malformed SQL queries with placeholders to crash the PHP worker process.

Description

pdo_sql_parser.re in the PDO extension in PHP before 5.3.14 and 5.4.x before 5.4.4 does not properly determine the end of the query string during parsing of prepared statements, which allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted parameter value.

Exploits (1)

exploitdb WORKING POC VERIFIED
by 0x721427D8 · phpdosphp
https://www.exploit-db.com/exploits/37566

This exploit demonstrates a denial-of-service vulnerability in PHP's PDO extension by triggering a segmentation fault during parameter parsing. The PoC uses malformed SQL queries with placeholders to crash the PHP worker process.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: PHP 5.4.3 (and potentially other versions)
No auth needed
Prerequisites: PHP with PDO extension enabled · MySQL database connectivity
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/08/02/7
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2012/dsa-2527
Vendor Advisory x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/08/02/3
Various Sources x_refsource_confirm
https://bugs.php.net/bug.php?id=61755
Mailing List mailing-list x_refsource_bugtraq
http://seclists.org/bugtraq/2012/Jun/60
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2012:108
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1569-1
Issue Tracking x_refsource_confirm
https://bugzilla.novell.com/show_bug.cgi?id=769785

Scores

EPSS 0.1118
EPSS Percentile 95.4%

Details

Status published
Products (18)
php/php 5.3.0
php/php 5.3.1
php/php 5.3.2
php/php 5.3.3
php/php 5.3.4
php/php 5.3.5
php/php 5.3.6
php/php 5.3.7
php/php 5.3.8
php/php 5.3.9
... and 8 more
Published Aug 06, 2012
Tracked Since Feb 18, 2026