{
  "id": "CVE-2025-14180",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-14180",
  "published_at": "2025-12-27T19:21:20.768Z",
  "title": "NULL Pointer Dereference in PDO quoting",
  "vendor": "PHP Group",
  "product": "PHP",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 7.5
  },
  "repos": [
    {
      "repo": "gl1tch0x1/PHP_8.1.x_Exploit",
      "url": "https://github.com/gl1tch0x1/PHP_8.1.x_Exploit",
      "created_at": "2026-04-29T03:58:13Z",
      "first_seen_at": "2026-11-15T02:31:15.731Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-03-05T19:34:28Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "PHP Group",
        "product": "PHP",
        "ranges": [
          "\u003e= 8.1.*, \u003c 8.1.34",
          "\u003e= 8.2.*, \u003c 8.2.30",
          "\u003e= 8.3.*, \u003c 8.3.29",
          "\u003e= 8.4.*, \u003c 8.4.16",
          "\u003e= 8.5.*, \u003c 8.5.1"
        ],
        "fixed_in": [
          "8.1.34",
          "8.2.30",
          "8.3.29",
          "8.4.16",
          "8.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PHP to 8.1.34 or 8.2.30 or 8.3.29 or 8.4.16 or 8.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
