{"api_version":"1","generated_at":"2026-07-23T09:27:52+00:00","cve":"CVE-2008-5907","urls":{"html":"https://cve.report/CVE-2008-5907","api":"https://cve.report/api/cve/CVE-2008-5907.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-5907","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-5907"},"summary":{"title":"CVE-2008-5907","description":"The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\\0' character constant to a NULL pointer.  NOTE: some sources incorrectly report this as a double free vulnerability.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-01-15 17:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-noinfo","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48128","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48128","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2009/dsa-1750","name":"http://www.debian.org/security/2009/dsa-1750","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-1750-1 libpng","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://libpng.sourceforge.net/index.html","name":"http://libpng.sourceforge.net/index.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"LIBPNG","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200903-28.xml","name":"http://security.gentoo.org/glsa/glsa-200903-28.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo Linux Documentation\n--\n  libpng: Multiple vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html","name":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[security-announce] SUSE Security Summary Report: SUSE-SR:2009:003","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:051","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:051","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/34320","name":"http://secunia.com/advisories/34320","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo update for libpng - Advisories - Community","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/34388","name":"http://secunia.com/advisories/34388","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian update for libpng - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2009/01/09/1","name":"http://openwall.com/lists/oss-security/2009/01/09/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - libpng non issue","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement","name":"http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"PNG and MNG/JNG image formats: home site / Thread: [png-mng-implement] Memory overwriting bug in png_check_keyword()","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5907","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5907","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":"2008","cve_id":"5907","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libpng","cpe5":"libpng","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2008-5907","organization":"Red Hat","lastmodified":"2009-02-11","contributor":"Joshua Bressers","statementText":"Red Hat does not consider this bug to be a security issue. For a more detailed explanation, please see the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-5907","cve_year":"2008","cve_id":"5907","crc32":"1e5db119"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T11:13:13.503Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://libpng.sourceforge.net/index.html"},{"name":"GLSA-200903-28","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200903-28.xml"},{"name":"libpng-pngcheckkeyword-memory-corruption(48128)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48128"},{"name":"SUSE-SR:2009:003","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html"},{"name":"34388","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/34388"},{"name":"DSA-1750","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2009/dsa-1750"},{"name":"[oss-security] 20090109 libpng non issue","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2009/01/09/1"},{"name":"MDVSA-2009:051","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:051"},{"name":"34320","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/34320"},{"name":"[png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword()","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-12-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\\0' character constant to a NULL pointer.  NOTE: some sources incorrectly report this as a double free vulnerability."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://libpng.sourceforge.net/index.html"},{"name":"GLSA-200903-28","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200903-28.xml"},{"name":"libpng-pngcheckkeyword-memory-corruption(48128)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48128"},{"name":"SUSE-SR:2009:003","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html"},{"name":"34388","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/34388"},{"name":"DSA-1750","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2009/dsa-1750"},{"name":"[oss-security] 20090109 libpng non issue","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2009/01/09/1"},{"name":"MDVSA-2009:051","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:051"},{"name":"34320","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/34320"},{"name":"[png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword()","tags":["mailing-list","x_refsource_MLIST"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5907","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":"The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\\0' character constant to a NULL pointer.  NOTE: some sources incorrectly report this as a double free vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://libpng.sourceforge.net/index.html","refsource":"CONFIRM","url":"http://libpng.sourceforge.net/index.html"},{"name":"GLSA-200903-28","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200903-28.xml"},{"name":"libpng-pngcheckkeyword-memory-corruption(48128)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/48128"},{"name":"SUSE-SR:2009:003","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00000.html"},{"name":"34388","refsource":"SECUNIA","url":"http://secunia.com/advisories/34388"},{"name":"DSA-1750","refsource":"DEBIAN","url":"http://www.debian.org/security/2009/dsa-1750"},{"name":"[oss-security] 20090109 libpng non issue","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2009/01/09/1"},{"name":"MDVSA-2009:051","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:051"},{"name":"34320","refsource":"SECUNIA","url":"http://secunia.com/advisories/34320"},{"name":"[png-mng-implement] 20081126 Memory overwriting bug in png_check_keyword()","refsource":"MLIST","url":"http://sourceforge.net/mailarchive/forum.php?thread_name=4B6F0239C13D0245820603C036D180BC79FBAA%40CABOTUKEXCH01.cabot.local&forum_name=png-mng-implement"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-5907","datePublished":"2009-01-15T17:00:00.000Z","dateReserved":"2009-01-15T00:00:00.000Z","dateUpdated":"2024-08-07T11:13:13.503Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-01-15 17:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-noinfo","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.42","matchCriteriaId":"43E68AFA-10FF-49C5-B2AE-6C3B91B5EE32"},{"vulnerable":true,"criteria":"cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*","versionStartIncluding":"1.2.0","versionEndExcluding":"1.2.34","matchCriteriaId":"63448D4F-B6B7-4CBD-AC5F-FB8C4FE12FB3"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*","matchCriteriaId":"0F92AB32-E7DE-43F4-B877-1F41FA162EC7"},{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:*","matchCriteriaId":"8C757774-08E7-40AA-B532-6F705C8F7639"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"5907","Ordinal":"1","Title":"CVE-2008-5907","CVE":"CVE-2008-5907","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"5907","Ordinal":"1","NoteData":"The png_check_keyword function in pngwutil.c in libpng before 1.0.42, and 1.2.x before 1.2.34, might allow context-dependent attackers to set the value of an arbitrary memory location to zero via vectors involving creation of crafted PNG files with keywords, related to an implicit cast of the '\\0' character constant to a NULL pointer.  NOTE: some sources incorrectly report this as a double free vulnerability.","Type":"Description","Title":"CVE-2008-5907"},{"CveYear":"2008","CveId":"5907","Ordinal":"2","NoteData":"2009-01-15","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"5907","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}