{
  "id": "CVE-2025-1735",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-1735",
  "published_at": "2025-07-13T22:27:48.299Z",
  "title": "pgsql extension does not check for errors during escaping",
  "vendor": "PHP Group",
  "product": "PHP",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "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.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* pgsql and pdo_pgsql escaping functions do not check if the underlying quoting functions returned errors. This could cause crashes if Postgres server rejects the string as invalid.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "PHP Group",
        "product": "PHP",
        "ranges": [
          "\u003e= 8.1.*, \u003c 8.1.33",
          "\u003e= 8.2.*, \u003c 8.2.29",
          "\u003e= 8.3.*, \u003c 8.3.23",
          "\u003e= 8.4.*, \u003c 8.4.10"
        ],
        "fixed_in": [
          "8.1.33",
          "8.2.29",
          "8.3.23",
          "8.4.10"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PHP to 8.1.33 or 8.2.29 or 8.3.23 or 8.4.10 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/php/php-src/security/advisories/GHSA-hrwm-9436-5mv3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
