{"api_version":"1","generated_at":"2026-04-23T02:57:53+00:00","cve":"CVE-2007-6358","urls":{"html":"https://cve.report/CVE-2007-6358","api":"https://cve.report/api/cve/CVE-2007-6358.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-6358","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-6358"},"summary":{"title":"CVE-2007-6358","description":"pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-12-15 01:46:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.9","severity":"","vector":"AV:L/AC:L/Au:N/C:N/I:C/A:N","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:C/A:N","baseScore":4.9,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"COMPLETE","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  CUPS: Multiple vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.gentoo.org/show_bug.cgi?id=201042","name":"https://bugs.gentoo.org/show_bug.cgi?id=201042","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Gentoo Bug 201042 - net-print/cups < 1.2.12-r4 insecure temporary file creation in pdftops (CVE-2007-6358)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/42029","name":"http://osvdb.org/42029","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/28113","name":"http://secunia.com/advisories/28113","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Gentoo update for cups - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/26919","name":"http://www.securityfocus.com/bid/26919","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"pdftops.pl Alternate pdftops Filter for CUPS Insecure Temporary File Creation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.debian.org/security/2007/dsa-1437","name":"http://www.debian.org/security/2007/dsa-1437","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1437-1 cupsys","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28386","name":"http://secunia.com/advisories/28386","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Ubuntu update for cups - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.cups.org/articles.php?L515","name":"http://www.cups.org/articles.php?L515","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Article #515: alternate pdftops filter 1.20 - Common UNIX Printing System","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/usn-563-1","name":"http://www.ubuntu.com/usn/usn-563-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-563-1: CUPS vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28200","name":"http://secunia.com/advisories/28200","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Debian update for cupsys - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/28139","name":"http://secunia.com/advisories/28139","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Alternate pdftops Filter for CUPS Insecure Temporary Files - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-6358","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6358","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":"2007","cve_id":"6358","vulnerable":"1","versionEndIncluding":"1.1.19rc1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"glyph_and_cog","cpe5":"pdftops","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2007-6358","organization":"Red Hat","lastmodified":"2007-12-18","contributor":"Mark J Cox","statementText":"Not vulnerable. Red Hat Enterprise Linux versions 2.1, 3, 4 and 5 do not ship with the alternate pdftops.pl CUPS printing filter that is affected by this flaw.","cve_year":"2007","cve_id":"6358","crc32":"f9286ee1"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T16:02:36.281Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"28113","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28113"},{"name":"28200","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28200"},{"name":"USN-563-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/usn-563-1"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=201042"},{"name":"GLSA-200712-14","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml"},{"name":"26919","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26919"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.cups.org/articles.php?L515"},{"name":"DSA-1437","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2007/dsa-1437"},{"name":"28386","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28386"},{"name":"42029","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/42029"},{"name":"28139","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/28139"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-12-03T00:00:00.000Z","descriptions":[{"lang":"en","value":"pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-11-15T13:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"28113","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28113"},{"name":"28200","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28200"},{"name":"USN-563-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/usn-563-1"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.gentoo.org/show_bug.cgi?id=201042"},{"name":"GLSA-200712-14","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml"},{"name":"26919","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26919"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.cups.org/articles.php?L515"},{"name":"DSA-1437","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2007/dsa-1437"},{"name":"28386","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28386"},{"name":"42029","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/42029"},{"name":"28139","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/28139"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-6358","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":"pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"28113","refsource":"SECUNIA","url":"http://secunia.com/advisories/28113"},{"name":"28200","refsource":"SECUNIA","url":"http://secunia.com/advisories/28200"},{"name":"USN-563-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-563-1"},{"name":"https://bugs.gentoo.org/show_bug.cgi?id=201042","refsource":"CONFIRM","url":"https://bugs.gentoo.org/show_bug.cgi?id=201042"},{"name":"GLSA-200712-14","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml"},{"name":"26919","refsource":"BID","url":"http://www.securityfocus.com/bid/26919"},{"name":"http://www.cups.org/articles.php?L515","refsource":"CONFIRM","url":"http://www.cups.org/articles.php?L515"},{"name":"DSA-1437","refsource":"DEBIAN","url":"http://www.debian.org/security/2007/dsa-1437"},{"name":"28386","refsource":"SECUNIA","url":"http://secunia.com/advisories/28386"},{"name":"42029","refsource":"OSVDB","url":"http://osvdb.org/42029"},{"name":"28139","refsource":"SECUNIA","url":"http://secunia.com/advisories/28139"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-6358","datePublished":"2007-12-15T01:00:00.000Z","dateReserved":"2007-12-14T00:00:00.000Z","dateUpdated":"2024-08-07T16:02:36.281Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-12-15 01:46:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:C/A:N","baseScore":4.9,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"COMPLETE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.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:glyph_and_cog:pdftops:*:*:*:*:*:*:*:*","versionEndIncluding":"1.1.19rc1","matchCriteriaId":"9DDD0383-AED5-4597-B52E-53F805DC1578"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"6358","Ordinal":"1","Title":"CVE-2007-6358","CVE":"CVE-2007-6358","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"6358","Ordinal":"1","NoteData":"pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS.","Type":"Description","Title":"CVE-2007-6358"},{"CveYear":"2007","CveId":"6358","Ordinal":"2","NoteData":"2007-12-14","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"6358","Ordinal":"3","NoteData":"2017-11-15","Type":"Other","Title":"Modified"}]}}}