{"exploit":{"id":"EDB-20971","name":"Adobe Photoshop CS6 - '.png' Parsing Heap Overflow","description":"Adobe Photoshop CS6 - '.png' Parsing Heap Overflow","cves":["CVE-2012-4170"],"author":"Francis Provencher","published":"2012-09-01","platform":"windows","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20971","path":"exploits/windows/dos/20971.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20971.txt","vulnerabilities":[{"id":"CVE-2012-4170","state":"PUBLISHED","title":null,"titleSource":null,"description":"Buffer overflow in Adobe Photoshop CS6 13.x before 13.0.1 allows remote attackers to execute arbitrary code via a crafted file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-4170","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-4170"},"updatedAt":"2024-08-06T20:28:07.606Z","retrievedAt":"2026-11-26T20:07:17.518Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20971.png?v=2","url":"https://exploitbin.com/exploits/EDB-20971","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20971/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20971/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#####################################################################################\nApplication:   Adobe Photoshop CS6 PNG Parsing Heap Overflow\n\nPlatforms:   Windows & Macintosh\nVersions:   13.x\nSecunia:   SA49141\n\n{PRL}:   2012-27\n\nAuthor:   Francis Provencher (Protek Research Lab's)\n\nWebsite:   http://www.protekresearchlab.com/\n\nTwitter:   @ProtekResearch\n\n#####################################################################################\n\n1) Introduction\n2) Report Timeline\n3) Technical details\n4) POC\n\n\n#####################################################################################\n\n===============\n1) Introduction\n===============\n\nAdobe Photoshop is a graphics editing program developed and published by Adobe Systems Incorporated.\nAdobe's 2003 \"Creative Suite\" rebranding led to Adobe Photoshop 8's renaming to Adobe Photoshop CS.\nThus, Adobe Photoshop CS6 is the 13th major release of Adobe Photoshop. The CS rebranding also resulted\nin Adobe offering numerous software packages containing multiple Adobe programs for a reduced price.\nAdobe Photoshop is released in two editions: Adobe Photoshop, and Adobe Photoshop Extended, with the\nExtended having extra 3D image creation, motion graphics editing, and advanced image analysis features.[6]\nAdobe Photoshop Extended is included in all of Adobe's Creative Suite offerings except Design Standard,\nwhich includes the Adobe Photoshop edition. Alongside Photoshop and Photoshop Extended, Adobe also\npublishes Photoshop Elements and Photoshop Lightroom, collectively called \"The Adobe Photoshop Family\".\nIn 2008, Adobe released Adobe Photoshop Express, a free web-based image editing tool to edit photos directly\non blogs and social networking sites; in 2011 a version was released for the Android operating system and the\niOS operating system.[7][8] Adobe only supports Windows and Macintosh versions of Photoshop, but using Wine,\nPhotoshop CS6 can run well on Linux\n\n(http://en.wikipedia.org/wiki/Adobe_Photoshop)\n#####################################################################################\n\n============================\n2) Report Timeline\n============================\n\n2012-05-10  Vulnerability reported to Secunia\n2012-08-31  Publication of this advisory\n\n#####################################################################################\n\n============================\n3) Technical details\n============================\nThe vulnerability is caused due to a boundary error in the \"Standart MultiPlugin.8BF\" module\nwhen processing a Portable Network Graphics (PNG) image. This can be exploited to cause\na heap-based buffer overflow via a specially crafted \"tRNS\" chunk size. Successful exploitation\nmay allow execution of arbitrary code, but requires tricking a user into opening a malicious image.\n\n#####################################################################################\n\n===========\n4) POC\n===========\n\nhttp://www.protekresearchlab.com/exploits/PRL-2012-27.png\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/20971.png","sha256":"f2763df607553868c606a173715f20b5b04e89ea9f255df83a0ca9c98cfaffd1","bytes":3049,"fetchedAt":"2026-11-26T20:07:14.230Z","encoding":"utf-8 (display only; download retains original bytes)"}