{"cve":"CVE-2005-0247","nvd":{"published":"2005-05-02T04:00:00.000","modified":"2026-06-16T22:10:46.380","status":"Modified","description":"Multiple buffer overflows in gram.y for PostgreSQL 8.0.1 and earlier may allow attackers to execute arbitrary code via (1) a large number of variables in a SQL statement being handled by the read_sql_construct function, (2) a large number of INTO variables in a SELECT statement being handled by the make_select_stmt function, (3) a large number of arbitrary variables in a SELECT statement being handled by the make_select_stmt function, and (4) a large number of INTO variables in a FETCH statement being handled by the make_fetch_stmt function, a different set of vulnerabilities than CVE-2005-0245.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-119"],"references":["http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php","http://marc.info/?l=bugtraq&m=110806034116082&w=2","http://www.debian.org/security/2005/dsa-683","http://www.gentoo.org/security/en/glsa/glsa-200502-19.xml","http://www.mandriva.com/security/advisories?name=MDKSA-2005:040"],"products":["postgresql:postgresql"],"source":"nvd","synced_at":"2026-10-19T19:38:22.000386253+00:00"},"epss":{"cve":"CVE-2005-0247","score":0.03512,"percentile":0.89205,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}