{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-1735","id":"CVE-2025-1735","title":"pgsql extension does not check for errors during escaping","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.","descriptionLong":"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.","published":"2025-07-13T22:27:48.299Z","updated":"2026-10-28T02:30:58.184575098Z","reserved":"2025-02-27T04:04:57.553Z","status":"Modified","rejected":false,"assigner":"php","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"php"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"php"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"php.net"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["PHP Group PHP"],"affectedProducts":[{"vendor":"PHP Group","product":"PHP","defaultStatus":"affected","versions":[{"lessThan":"8.1.33","status":"affected","version":"8.1.*","versionType":"semver"},{"lessThan":"8.2.29","status":"affected","version":"8.2.*","versionType":"semver"},{"lessThan":"8.3.23","status":"affected","version":"8.3.*","versionType":"semver"},{"lessThan":"8.4.10","status":"affected","version":"8.4.*","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-89","CWE-476"],"aliases":["BIT-libphp-2025-1735","BIT-php-2025-1735","BIT-php-min-2025-1735","GHSA-hrwm-9436-5mv3"],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-hrwm-9436-5mv3","tags":["Vendor Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/11/4","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1735.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1735","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01157,"epssPercentile":0.67701,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1735","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1735","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-1735","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1735","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}