{"schemaVersion":3,"id":"CVE-2009-4117","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Multiple stack-based buffer overflows in pdf_shade4.c in MuPDF before commit 20091125231942, as used in SumatraPDF before 1.0.1, allow remote attackers to cause a denial of service and possibly execute arbitrary code via a /Decode array for certain types of shading that are not properly handled by the (1) pdf_loadtype4shade, (2) pdf_loadtype5shade, (3) pdf_loadtype6shade, and (4) pdf_loadtype7shade functions.  NOTE: some of these details are obtained from third party information.","dates":{"published":"2009-12-01T00:00:00.000Z","modified":"2024-09-16T15:36:47.464Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.07776,"percentile":0.94629,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.07776},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.07776,"percentile":0.94629}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.07776,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.07776,"percentile":0.94629}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_12AAC46F78DF7FE3","name":"Exploit Reference (archives.neohapsis.com)","source":"reference","url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0330.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"10244","name":"MuPDF < 20091125231942 - 'pdf_shade4.c' Multiple Stack Buffer Overflows","source":"exploit-database","url":"https://www.exploit-db.com/exploits/10244","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"local","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"local","platform":"windows","file":"exploits/windows/local/10244.txt","codes":["CVE-2009-4117","OSVDB-60609"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"sumatrapdfreader","product":"sumatrapdf","name":"sumatrapdf","label":"sumatrapdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.0","noFixRecorded":false,"fixedIn":null},{"text":"0.1","noFixRecorded":false,"fixedIn":null},{"text":"0.2","noFixRecorded":false,"fixedIn":null},{"text":"0.3","noFixRecorded":false,"fixedIn":null},{"text":"0.4","noFixRecorded":false,"fixedIn":null},{"text":"0.5","noFixRecorded":false,"fixedIn":null},{"text":"0.6","noFixRecorded":false,"fixedIn":null},{"text":"0.7","noFixRecorded":false,"fixedIn":null},{"text":"0.8","noFixRecorded":false,"fixedIn":null},{"text":"0.8.1","noFixRecorded":false,"fixedIn":null},{"text":"0.9","noFixRecorded":false,"fixedIn":null},{"text":"0.9.1","noFixRecorded":false,"fixedIn":null},{"text":"0.9.2","noFixRecorded":false,"fixedIn":null},{"text":"0.9.3","noFixRecorded":false,"fixedIn":null},{"text":"0.9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.8.1 | 0.9 | 0.9.1 | 0.9.2 | 0.9.3 | 0.9.4","eol":null,"hubHref":"/vendor/sumatrapdfreader/sumatrapdf"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://secunia.com/advisories/37494","label":"secunia.com/advisories/37494","hostname":"secunia.com","tags":["Third Party Advisory","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54441","label":"exchange.xforce.ibmcloud.com/vulnerabilities/54441","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry"]},{"url":"http://secunia.com/advisories/37513","label":"secunia.com/advisories/37513","hostname":"secunia.com","tags":["Third Party Advisory","Vendor Advisory"]},{"url":"http://blog.kowalczyk.info/software/sumatrapdf/news.html","label":"blog.kowalczyk.info/software/sumatrapdf/news.html","hostname":"blog.kowalczyk.info","tags":[]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0330.html","label":"archives.neohapsis.com/archives/fulldisclosure/2009-11/0330.html","hostname":"archives.neohapsis.com","tags":["Mailing List","Exploit"]},{"url":"http://www.vupen.com/english/advisories/2009/3355","label":"www.vupen.com/english/advisories/2009/3355","hostname":"www.vupen.com","tags":["VDB Entry","Vendor Advisory"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708030","label":"bugs.ghostscript.com/show_bug.cgi?id=708030","hostname":"bugs.ghostscript.com","tags":[]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=a21cc1548993c392e474817bb3d656eb3730d88f","label":"cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=a21cc1548993c392e474817bb3d656eb3730d88f","hostname":"cgit.ghostscript.com","tags":[]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=cf6860c3d70a2f7a63cdb621cc3b58c891915deb","label":"cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=cf6860c3d70a2f7a63cdb621cc3b58c891915deb","hostname":"cgit.ghostscript.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2009-12-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T15:36:47.464Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:12:15.135Z","stale":false,"partial":false}}