{"vulnerability": "cve-2018-16509", "sightings": [{"uuid": "ba58bed0-a6cb-4a25-99ef-08ad9761f7ff", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "exploited", "source": "https://www.exploit-db.com/exploits/45369", "content": "", "creation_timestamp": "2018-09-10T00:00:00.000000Z"}, {"uuid": "659dc6b5-b8aa-49b1-a8d8-055867d2fa2b", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-06T03:13:43.000000Z"}, {"uuid": "f679f409-ea2b-4f0a-b776-a042a657203a", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-23T04:10:05.000000Z"}, {"uuid": "eb56acd1-5938-479a-9a75-b464f0ad8321", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/ghostscript_failed_restore.rb", "content": "", "creation_timestamp": "2018-09-06T02:15:08.000000Z"}, {"uuid": "fdbdab49-e1c2-4aa8-80ec-eac204b6a8d2", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "seen", "source": "https://t.me/arpsyndicate/1203", "content": "#ExploitObserverAlert\n\nCVE-2018-16509\n\nDESCRIPTION: Exploit Observer has 45 entries related to CVE-2018-16509. An issue was discovered in Artifex Ghostscript before 9.24. Incorrect \"restoration of privilege\" checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the \"pipe\" instruction.\n\nFIRST-EPSS: 0.971690000\nNVD-IS: 5.9\nNVD-ES: 1.8", "creation_timestamp": "2023-12-04T12:24:33.000000Z"}, {"uuid": "1a86a2b5-a412-4bde-9a0a-09d0441e4302", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-16509", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/fileformat/ghostscript_failed_restore.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, x86, x64\", \"author\": [\"Tavis Ormandy\", \"wvu \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": false, \"default_credential\": false, \"description\": \"This module exploits a -dSAFER bypass in Ghostscript to execute\\n          arbitrary commands by handling a failed restore (grestore) in\\n          PostScript to disable LockSafetyParams and avoid invalidaccess.\\n\\n          This vulnerability is reachable via libraries such as ImageMagick.\", \"disclosure_date\": \"2018-08-21\", \"fullname\": \"exploit/multi/fileformat/ghostscript_failed_restore\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 17:11:13 +0000\", \"name\": \"Ghostscript Failed Restore Command Execution\", \"needs_cleanup\": null, \"notes\": {\"RelatedModules\": [\"exploit/unix/fileformat/ghostscript_type_confusion\", \"exploit/unix/fileformat/imagemagick_delegate\"], \"Reliability\": [], \"SideEffects\": [], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/fileformat/ghostscript_failed_restore.rb\", \"platform\": \"Linux,Unix,Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/fileformat/ghostscript_failed_restore\", \"references\": [\"CVE-2018-16509\", \"URL-https://seclists.org/oss-sec/2018/q3/142\", \"URL-https://bugs.chromium.org/p/project-zero/issues/detail?id=1640\"], \"rport\": null, \"session_types\": false, \"targets\": [\"Unix (In-Memory)\", \"PowerShell (In-Memory)\", \"Linux (Dropper)\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:38.824105Z"}]}