CVE-2025-14180

Source
https://cve.org/CVERecord?id=CVE-2025-14180
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-14180.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-14180
Aliases
Downstream
AZL (2)
BELL (1)
DEBIAN (1)
MGASA (1)
MINI (5)
OESA (4)
openSUSE (2)
RHSA (9)
RLSA (4)
SUSE (3)
UBUNTU (1)
Related
Published
2025-12-27T19:21:20Z
Modified
2026-08-12T03:30:37Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
NULL Pointer Dereference in PDO quoting
Details

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::ATTR_EMULATE_PREPARES 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 pdo_parse_params() function. This may lead to crashes (segmentation fault) and affect the availability of the target server.

Database specific
{
    "cna_assigner":  "php",
    "cwe_ids":  [
        "CWE-476"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14180.json"
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "8.1.0"
        },
        {
            "fixed":  "8.1.34"
        },
        {
            "introduced":  "8.2.0"
        },
        {
            "fixed":  "8.2.30"
        },
        {
            "introduced":  "8.3.0"
        },
        {
            "fixed":  "8.3.29"
        },
        {
            "introduced":  "8.4.0"
        },
        {
            "fixed":  "8.4.16"
        },
        {
            "introduced":  "8.5.0"
        },
        {
            "fixed":  "8.5.1"
        }
    ],
    "source":  "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-14180.json"