{"id":"CVE-2025-1735","published":"2025-07-13T22:27:48Z","modified":"2025-11-04T21:09:33Z","title":"pgsql extension does not check for errors during escaping","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01157,"percentile":0.67845,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-hrwm-9436-5mv3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/11/4","tags":[]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":13.57},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.1.*, < 8.1.33",">= 8.2.*, < 8.2.29",">= 8.3.*, < 8.3.23",">= 8.4.*, < 8.4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-14T15:58:08.629332Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21273","exploited":false,"provenance":"source"}}