{"id":"CVE-2012-5340","aliases":["DEBIAN-CVE-2012-5340","EUVD-2012-5262","GHSA-g8x3-qg8h-3qqr","UBUNTU-CVE-2012-5340"],"status":"published","title":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number...","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05731,"percentile":0.93097,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-190"],"published":"2020-01-23T21:33:52Z","modified":"2026-10-23T18:02:28Z","exploits":[{"source":"exploitdb","id":"EDB-23246","title":"SumatraPDF 2.1.1/MuPDF 1.0 - Integer Overflow","type":"dos","platform":"windows","date":"2012-12-09","verified":true,"url":"https://www.exploit-db.com/exploits/23246"}],"fixes":[{"ecosystem":"Debian:12","package":"mupdf","fixed_in":["1.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mupdf","fixed_in":["1.2-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mupdf","fixed_in":["1.2-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2-2"}]}]}],"products":[{"vendor":"artifex","product":"mupdf"},{"vendor":"sumatrapdfreader","product":"sumatrapdf"}],"references":[{"url":"http://www.exploit-db.com/exploits/23246","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","advisory","evidence","report"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=693371","tags":["web"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=f919270b6a732ff45c3ba2d0c105e2b39e9c9bc9","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5340"},{"url":"https://github.com/advisories/GHSA-g8x3-qg8h-3qqr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5340","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-5340","tags":["report"]},{"url":"https://git.ghostscript.com/?p=mupdf.git;a=commitdiff;h=f919270b6a732ff45c3ba2d0c105e2b39e9c9bc9","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5340","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-5340","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2020-01-23T21:33:52Z","modified":"2024-09-13T16:02:54.702Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2012-5262","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2020-01-23T21:33:52Z","modified":"2024-09-13T16:02:54Z","updated_at":"2026-11-03T00:55:55.467153Z"}],"ghsa":[{"id":"GHSA-g8x3-qg8h-3qqr","title":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number...","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2022-04-23T00:40:35Z","modified":"2024-09-12T18:32:43Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:58:15.26738Z"}],"nvd":[{"id":"CVE-2012-5340","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2020-01-23T22:15:09.683Z","modified":"2026-06-16T23:46:41.307Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:02:18.043773Z"}],"osv":[{"id":"CVE-2012-5340","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2020-01-23T22:15:09Z","modified":"2026-04-10T03:43:13.344217Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-5340","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"published","published":"2020-01-23T22:15:09.683Z","modified":"2026-10-23T18:02:28.92036927Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"UBUNTU-CVE-2012-5340","description":"SumatraPDF 2.1.1/MuPDF 1.0 allows remote attackers to cause an Integer Overflow in the lex_number() function via a corrupt PDF file.","status":"withdrawn","published":"2020-01-23T22:15:00Z","modified":"2025-07-16T07:17:03.227015Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:06.854805Z"}]}}
