REDHAT-BUG-2425627: Null Pointer Dereference

Published Dec 27, 2025
·
Updated

In PHP versions 8.1. before 8.1.34, 8.2. before 8.2.30, 8.3. before 8.3.29, 8.4. before 8.4.16, 8.5. before 8.5.1 when using the PDO PostgreSQL driver with PDO::ATTREMULATEPREPARES enabled, an invalid character sequence (such as \x99) in a prepared statement parameter may cause the quoting function PQescapeStringConn to return NULL, leading to a null pointer dereference in pdoparseparams() function. This may lead to crashes (segmentation fault) and affect the availability of the target server.

Affected Software

1 affected component
The PHP Group PHP>8.1.34, >8.2.30, >8.3.29, >8.4.16, >8.5.1

Event History

Dec 27, 2025
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2425627?

The severity of REDHAT-BUG-2425627 is classified as medium due to potential SQL injection risks.

2

How do I fix REDHAT-BUG-2425627?

To fix REDHAT-BUG-2425627, upgrade PHP to a version higher than 8.1.34, 8.2.30, 8.3.29, 8.4.16, or 8.5.1.

3

What versions of PHP are affected by REDHAT-BUG-2425627?

PHP versions 8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, and 8.5.* before 8.5.1 are affected by REDHAT-BUG-2425627.

4

What can happen if REDHAT-BUG-2425627 is exploited?

If REDHAT-BUG-2425627 is exploited, it may lead to SQL injection, which can compromise application data and security.

5

Is there a workaround for REDHAT-BUG-2425627?

A possible workaround for REDHAT-BUG-2425627 is to disable PDO::ATTR_EMULATE_PREPARES if using the PDO PostgreSQL driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203