{"exploit":{"id":"EDB-19482","name":"GIMP 2.8.0 - '.FIT' File Format Denial of Service (DoS)","description":"GIMP 2.8.0 - '.FIT' File Format Denial of Service (DoS)","cves":["CVE-2012-3236"],"author":"Joseph Sheridan","published":"2012-06-30","platform":"multiple","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/19482","path":"exploits/multiple/dos/19482.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-19482.txt","vulnerabilities":[{"id":"CVE-2012-3236","state":"PUBLISHED","title":null,"titleSource":null,"description":"fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a malformed XTENSION header of a .fit file, as demonstrated using a long string.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-3236","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-3236"},"updatedAt":"2024-08-06T19:57:50.253Z","retrievedAt":"2026-11-26T17:08:01.365Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-19482.png?v=2","url":"https://exploitbin.com/exploits/EDB-19482","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-19482/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-19482/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Summary\n=======\n\nThere is a file handling DoS in GIMP (the GNU Image Manipulation Program) for\nthe 'fit' file format affecting all versions (Windows and Linux) up to and\nincluding 2.8.0. A file in the fit format with a malformed 'XTENSION' header\nwill cause a crash in the GIMP program.\n\nCVE number: CVE-2012-3236\nVendor Homepage: http://www.gimp.org/\nDate reported to vendor: 25/05/2012\nFound by Joseph Sheridan:\nhref=\"http://www.reactionpenetrationtesting.co.uk/joseph-sheridan.html\n\nThis advisory is posted at:\nhttp://www.reactionpenetrationtesting.co.uk/FIT-file-handling-DoS.html\n\nPoC file is available here:\nhttp://www.reactionpenetrationtesting.co.uk/vuln.fit\nhttps://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/19482.fit\n\n\nAffected Products\n=================\n\nVulnerable Products\n+------------------\n\nThe following products are known to be affected by this vulnerability:\n\n* GIMP <= 2.8.0 (Windows or Linux builds)\n\nProducts Not Vulnerable\n+--------------------------------\n* GIMP 2.8.1\n\nDetails\n=======\n\nThere is a file handling DoS in GIMP (the GNU Image Manipulation Program) for\nthe 'fit' file format affecting all versions (Windows and Linux) up to 2.8.0.\nA file in the fit format with a malformed 'XTENSION' header will cause a crash\nin the GIMP program. The flaw is triggered by opening a crafted 'fit' file or\nallowing the file explorer dialog to preview the file.\n\nA file in the fit format starting as follows will trigger the crash:\nXTENSIONaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaHEADER2...\n\nThe vulnerable code is in the fits-io.c lines where the program attempts to\ncopy from a null pointer:\n\n{\nfdat = fits_decode_card (fits_search_card (hdr, \"XTENSION\"), typ_fstring);\nstrcpy (hdulist->xtension, fdat->fstring);\n}\n\nThis code can be patched by changing it to the following (as GIMP 2.8.1):\n\nfdat = fits_decode_card (fits_search_card (hdr, \"XTENSION\"), typ_fstring);\nif(fdat != NULL) {\nstrcpy (hdulist->xtension, fdat->fstring);\n} else {\nstrcpy (errmsg, \"No valid XTENSION header found.\");\ngoto err_return;\n}\n\nImpact\n======\n\nSuccessful exploitation of the vulnerability may result in an application\ncrash and denial of service.\n\nSolution\n===========\nThe GIMP team have provided an update for this issue (release 2.8.1).\n\nWorkarounds\n===========\n\nThe fits-io.c file can be patched as above.\n\nDistribution\n============\n\nIn addition to posting on the website, a text version of this notice\nis posted to the following e-mail and Usenet news recipients.\n\n* bugtraq () securityfocus com\n* full-disclosure () lists grok org uk\n* oss [dash] security [dash] subscribe [at] lists [dot] openwall [dot] com\n\nFuture updates of this advisory, if any, will be placed on the ReactionIS\ncorporate website, but may or may not be actively announced on\nmailing lists or newsgroups. Users concerned about this problem are\nencouraged to check the URL below for any updates:\n\nhttp://www.reactionpenetrationtesting.co.uk/FIT-file-handling-DoS.html\n\n========================================================================\n====\n\nReaction Information Security\nLombard House Business Centre,\nSuite 117,\n12-17 Upper Bridge Street,\nCanterbury, Kent, CT1 2NF\n\nPhone: +44 (0)1227 785050\nEmail: research () reactionis {dot} co {dot} uk\nWeb: http://www.reactionpenetrationtesting.co.uk\n\nJoseph Sheridan\nTechnical Director\nPrincipal Consultant\nCHECK Team Leader, CREST Infrastructure, CREST Application, CISSP\nTel: 07812052515\nWeb: www.reactionis.com\nEmail: joe (at) reactionis.co (dot) uk [email concealed]\n\nReaction Information Security Limited.\nRegistered in England No: 6929383\nRegistered Office: 1, The Mews, 69 New Dover Road, Canterbury, CT1 3DZ\n\nThis email and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient please notify the sender. Any unauthorised dissemination or copying of this email or its attachments and any use or disclosure of any information contained in them, is strictly prohibited.\n\nï Please consider the environment before printing this email","sha256":"3b305dc8e8e2758b8e8769613b9fe5478f244c8afd9b18d6176ba32091db761a","bytes":4115,"fetchedAt":"2026-11-26T17:08:01.085Z","encoding":"utf-8 (display only; download retains original bytes)"}