{"api_version":"1","generated_at":"2026-07-17T23:09:38+00:00","cve":"CVE-2004-0768","urls":{"html":"https://cve.report/CVE-2004-0768","api":"https://cve.report/api/cve/CVE-2004-0768.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-0768","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-0768"},"summary":{"title":"CVE-2004-0768","description":"libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-10-20 04: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":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16914","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16914","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2004/dsa-536","name":"http://www.debian.org/security/2004/dsa-536","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Debian -- Security Information -- DSA-536-1 libpng","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200812-15.xml","name":"http://security.gentoo.org/glsa/glsa-200812-15.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"POV-Ray: User-assisted execution of arbitrary code — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1943","name":"https://bugzilla.fedora.us/show_bug.cgi?id=1943","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://secunia.com/advisories/33137","name":"http://secunia.com/advisories/33137","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo update for povray - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0768","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0768","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":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"768","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"greg_roelofs","cpe5":"libpng3","cpe6":"1.2.5","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-08T00:31:46.953Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FLSA:1943","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1943"},{"name":"DSA-536","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2004/dsa-536"},{"name":"GLSA-200812-15","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200812-15.xml"},{"name":"libpng-offset-bo(16914)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16914"},{"name":"33137","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/33137"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-08-04T00:00:00.000Z","descriptions":[{"lang":"en","value":"libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"FLSA:1943","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://bugzilla.fedora.us/show_bug.cgi?id=1943"},{"name":"DSA-536","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2004/dsa-536"},{"name":"GLSA-200812-15","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200812-15.xml"},{"name":"libpng-offset-bo(16914)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16914"},{"name":"33137","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/33137"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-0768","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":"libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"FLSA:1943","refsource":"FEDORA","url":"https://bugzilla.fedora.us/show_bug.cgi?id=1943"},{"name":"DSA-536","refsource":"DEBIAN","url":"http://www.debian.org/security/2004/dsa-536"},{"name":"GLSA-200812-15","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200812-15.xml"},{"name":"libpng-offset-bo(16914)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/16914"},{"name":"33137","refsource":"SECUNIA","url":"http://secunia.com/advisories/33137"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-0768","datePublished":"2004-08-19T04:00:00.000Z","dateReserved":"2004-08-03T00:00:00.000Z","dateUpdated":"2024-08-08T00:31:46.953Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-10-20 04: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":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.0:*:*:*:*:*:*:*","matchCriteriaId":"41FF0D8A-5DCC-494B-A97D-58C5FD288462"},{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.1:*:*:*:*:*:*:*","matchCriteriaId":"C96453B9-3278-4063-BD27-2890CCEC338B"},{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.2:*:*:*:*:*:*:*","matchCriteriaId":"33500CD3-355B-4CC0-9C2C-DCC0737D5C4C"},{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.3:*:*:*:*:*:*:*","matchCriteriaId":"1CDAAAC1-C4AD-45F4-AB05-D79AAFDBDD4E"},{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.4:*:*:*:*:*:*:*","matchCriteriaId":"2BF52AFA-4E5C-4604-9991-49B0A3914C5F"},{"vulnerable":true,"criteria":"cpe:2.3:a:greg_roelofs:libpng3:1.2.5:*:*:*:*:*:*:*","matchCriteriaId":"E441AA95-93C0-4907-AF04-89B334D2048D"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"768","Ordinal":"1","Title":"CVE-2004-0768","CVE":"CVE-2004-0768","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"768","Ordinal":"1","NoteData":"libpng 1.2.5 and earlier does not properly calculate certain buffer offsets, which could allow remote attackers to execute arbitrary code via a buffer overflow attack.","Type":"Description","Title":"CVE-2004-0768"},{"CveYear":"2004","CveId":"768","Ordinal":"2","NoteData":"2004-08-19","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"768","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}