{"api_version":"1","generated_at":"2026-07-23T11:48:24+00:00","cve":"CVE-2002-1400","urls":{"html":"https://cve.report/CVE-2002-1400","api":"https://cve.report/api/cve/CVE-2002-1400.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2002-1400","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2002-1400"},"summary":{"title":"CVE-2002-1400","description":"Heap-based buffer overflow in the repeat() function for PostgreSQL before 7.2.2 allows attackers to execute arbitrary code by causing repeat() to generate a large string.","state":"PUBLISHED","assigner":"mitre","published_at":"2003-01-17 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2003-001.html","name":"http://www.redhat.com/support/errata/RHSA-2003-001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=102987306029821&w=2","name":"http://marc.info/?l=bugtraq&m=102987306029821&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'@(#)Mordred Labs advisory 0x0003: Buffer overflow in PostgreSQL' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=postgresql-announce&m=103062536330644","name":"http://marc.info/?l=postgresql-announce&m=103062536330644","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'[ANNOUNCE] PostgreSQL 7.2.2: Security Release' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php","name":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PostgreSQL 7.2.2: Security Release","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524","name":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Home - Conectiva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/8034","name":"http://secunia.com/advisories/8034","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Mandrake updates to postgresql","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2002:062","name":"http://www.mandriva.com/security/advisories?name=MDKSA-2002:062","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Advisories - Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=103036987114437&w=2","name":"http://marc.info/?l=bugtraq&m=103036987114437&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'GLSA: PostgreSQL' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.novell.com/linux/security/advisories/2002_038_postgresql.html","name":"http://www.novell.com/linux/security/advisories/2002_038_postgresql.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"NOVELL: Broken Link - 404 Error Pages","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=103021186622725&w=2","name":"http://marc.info/?l=bugtraq&m=103021186622725&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'Fwd: [GENERAL] PostgreSQL 7.2.2: Security Release' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2002-1400","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-1400","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"6.3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"6.5.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.0.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.1.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2002","cve_id":"1400","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"7.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T03:19:28.947Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://marc.info/?l=postgresql-announce&m=103062536330644"},{"name":"CLA-2002:524","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524"},{"name":"20020820 @(#)Mordred Labs advisory 0x0003: Buffer overflow in PostgreSQL","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=102987306029821&w=2"},{"name":"8034","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/8034"},{"name":"RHSA-2003:001","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2003-001.html"},{"name":"MDKSA-2002:062","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2002:062"},{"name":"SuSE-SA:2002:038","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://www.novell.com/linux/security/advisories/2002_038_postgresql.html"},{"name":"20020826 GLSA: PostgreSQL","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=103036987114437&w=2"},{"name":"20020824 Fwd: [GENERAL] PostgreSQL 7.2.2: Security Release","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=103021186622725&w=2"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2002-08-20T00:00:00.000Z","descriptions":[{"lang":"en","value":"Heap-based buffer overflow in the repeat() function for PostgreSQL before 7.2.2 allows attackers to execute arbitrary code by causing repeat() to generate a large string."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-10-17T13:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://marc.info/?l=postgresql-announce&m=103062536330644"},{"name":"CLA-2002:524","tags":["vendor-advisory","x_refsource_CONECTIVA"],"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524"},{"name":"20020820 @(#)Mordred Labs advisory 0x0003: Buffer overflow in PostgreSQL","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=102987306029821&w=2"},{"name":"8034","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/8034"},{"name":"RHSA-2003:001","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2003-001.html"},{"name":"MDKSA-2002:062","tags":["vendor-advisory","x_refsource_MANDRAKE"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2002:062"},{"name":"SuSE-SA:2002:038","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://www.novell.com/linux/security/advisories/2002_038_postgresql.html"},{"name":"20020826 GLSA: PostgreSQL","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=103036987114437&w=2"},{"name":"20020824 Fwd: [GENERAL] PostgreSQL 7.2.2: Security Release","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=103021186622725&w=2"},{"tags":["x_refsource_CONFIRM"],"url":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-1400","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Heap-based buffer overflow in the repeat() function for PostgreSQL before 7.2.2 allows attackers to execute arbitrary code by causing repeat() to generate a large string."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://marc.info/?l=postgresql-announce&m=103062536330644","refsource":"CONFIRM","url":"http://marc.info/?l=postgresql-announce&m=103062536330644"},{"name":"CLA-2002:524","refsource":"CONECTIVA","url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000524"},{"name":"20020820 @(#)Mordred Labs advisory 0x0003: Buffer overflow in PostgreSQL","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=102987306029821&w=2"},{"name":"8034","refsource":"SECUNIA","url":"http://secunia.com/advisories/8034"},{"name":"RHSA-2003:001","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2003-001.html"},{"name":"MDKSA-2002:062","refsource":"MANDRAKE","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2002:062"},{"name":"SuSE-SA:2002:038","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2002_038_postgresql.html"},{"name":"20020826 GLSA: PostgreSQL","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=103036987114437&w=2"},{"name":"20020824 Fwd: [GENERAL] PostgreSQL 7.2.2: Security Release","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=103021186622725&w=2"},{"name":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php","refsource":"CONFIRM","url":"http://archives.postgresql.org/pgsql-announce/2002-08/msg00004.php"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2002-1400","datePublished":"2003-01-08T05:00:00.000Z","dateReserved":"2003-01-07T00:00:00.000Z","dateUpdated":"2024-08-08T03:19:28.947Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2003-01-17 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:6.3.2:*:*:*:*:*:*:*","matchCriteriaId":"FF7D1F6F-044C-478D-991D-D70281FD7C87"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:6.5.3:*:*:*:*:*:*:*","matchCriteriaId":"6EB98484-1234-4BA2-ACB0-28F4BE684D92"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.0.3:*:*:*:*:*:*:*","matchCriteriaId":"4E7C5056-E280-4BD3-9924-2345B0B82776"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.1:*:*:*:*:*:*:*","matchCriteriaId":"F0D16C66-3688-4CF1-8788-F7D7766F04F9"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.1.1:*:*:*:*:*:*:*","matchCriteriaId":"F520EC9F-7B20-4108-B3DC-ABF4947A2D6D"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.1.2:*:*:*:*:*:*:*","matchCriteriaId":"78D324E1-A723-4ECC-A58F-660A5125FD05"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.1.3:*:*:*:*:*:*:*","matchCriteriaId":"E9F8CB95-DCEE-49C9-8985-E39E8E0498BE"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.2:*:*:*:*:*:*:*","matchCriteriaId":"95E0614E-0911-43EE-9F3D-2CF87E0F1851"},{"vulnerable":true,"criteria":"cpe:2.3:a:postgresql:postgresql:7.2.1:*:*:*:*:*:*:*","matchCriteriaId":"AFF09CFB-F7CE-4659-BB20-83231539F765"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2002","CveId":"1400","Ordinal":"1","Title":"CVE-2002-1400","CVE":"CVE-2002-1400","Year":"2002"},"notes":[{"CveYear":"2002","CveId":"1400","Ordinal":"1","NoteData":"Heap-based buffer overflow in the repeat() function for PostgreSQL before 7.2.2 allows attackers to execute arbitrary code by causing repeat() to generate a large string.","Type":"Description","Title":"CVE-2002-1400"},{"CveYear":"2002","CveId":"1400","Ordinal":"2","NoteData":"2003-01-08","Type":"Other","Title":"Published"},{"CveYear":"2002","CveId":"1400","Ordinal":"3","NoteData":"2016-10-17","Type":"Other","Title":"Modified"}]}}}