{"id":"CVE-2022-38171","aliases":["ALPINE-CVE-2022-38171","EUVD-2022-40767","GHSA-wxgh-95h6-c68v","JLSEC-2026-80","MGASA-2022-0320","UBUNTU-CVE-2022-38171"],"status":"published","title":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream:...","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","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-11","score":0.00341,"percentile":0.279,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2022-08-22T18:33:47Z","modified":"2026-11-03T07:30:43Z","fixes":[{"ecosystem":"Alpine:v3.19","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"xpdf","fixed_in":["4.04-r0"],"sources":["osv"]},{"ecosystem":"Julia","package":"Poppler_jll","fixed_in":["23.12.0+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.19","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-r0"}]}]},{"source":"osv","ecosystem":"Julia","package":"Poppler_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"23.12.0+0"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.04-1.mga8"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2015.20150524.37493-5build1","2015.20150524.37493-7","2015.20150524.37493-7build1","2015.20150524.37493-7build4","2015.20160222.37495-1","2015.20160222.37495-1ubuntu0.1","2015.20160222.37495-1ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.4-2.1","7.1.8-1","7.1.10-1","7.1.10-1.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.03-17ubuntu2","3.03-17ubuntu3","3.03-17ubuntu5","3.03-18","3.04-1","3.04-1build1","3.04-1ubuntu1","3.04-1ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2017.20170613.44572-5build1","2017.20170613.44572-5build2","2017.20170613.44572-6","2017.20170613.44572-6build1","2017.20170613.44572-6ubuntu1","2017.20170613.44572-8build1","2017.20170613.44572-8ubuntu0.1","2017.20170613.44572-8ubuntu0.2","2017.20170613.44572-8ubuntu0.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.7-2","7.2.7-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.04-4build1","3.04-5","3.04-5ubuntu2","3.04-6ubuntu1","3.04-7"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2019.20190605.51237-2build1","2019.20190605.51237-3","2019.20190605.51237-3build1","2019.20190605.51237-3build2","2019.20190605.51237-3ubuntu0.1","2019.20190605.51237-3ubuntu0.2","2019.20190605.51237-3ubuntu0.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.9-1","7.2.13-2","7.2.13-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.23+dfsg1-2","7.2.24+dfsg1-1","7.2.24+dfsg1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.20200327.54578-7","2020.20200327.54578-7build1","2021.20210626.59705-1","2021.20210626.59705-1build1","2021.20210626.59705-1ubuntu0.1","2021.20210626.59705-1ubuntu0.2","2021.20210626.59705-1ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.27+dfsg1-2","7.2.28-2","7.2.28-2.1build2","7.2.28-2.1build3","7.2.28-2.1build4"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2023.20230311.66589-6","2023.20230311.66589-7","2023.20230311.66589-8","2023.20230311.66589-8build1","2023.20230311.66589-9","2023.20230311.66589-9build2","2023.20230311.66589-9build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.20240313.70630+ds-6","2024.20240313.70630+ds-6ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build2","7.2.30-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2025.20250727.75242+ds-5build1","2026.20260303.78225+ds-4","2026.20260303.78225+ds-5ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ipe","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.2.30-1build1","7.2.30-1build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"texlive-bin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.20240313.70630+ds-6ubuntu2","2025.20250727.75242+ds-4ubuntu2","2025.20250727.75242+ds-5","2025.20250727.75242+ds-5build1"]}],"products":[{"vendor":"freedesktop","product":"poppler"},{"vendor":"xpdfreader","product":"xpdf"}],"references":[{"url":"http://www.xpdfreader.com/security-fixes.html","tags":["x_transferred","Vendor Advisory","web","report"]},{"url":"https://dl.xpdfreader.com/xpdf-4.04.tar.gz","tags":["x_transferred","Vendor Advisory","web","report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30860","tags":["x_transferred","Third Party Advisory","web","report"]},{"url":"https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html","tags":["x_transferred","Third Party Advisory","article","web","report"]},{"url":"https://github.com/jeffssh/CVE-2021-30860","tags":["x_transferred","Third Party Advisory","package","web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/11","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38171","tags":["advisory"]},{"url":"https://dl.xpdfreader.com/old/xpdf-4.04.tar.gz","tags":["report"]},{"url":"https://gist.github.com/zmanion/b2ed0d1a0cec163ecd07d5e3d9740dc6"},{"url":"https://github.com/advisories/GHSA-wxgh-95h6-c68v"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-38171","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38171.json","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0320.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30804","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-38171","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-38171","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-38171","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T18:33:47.097Z","modified":"2024-09-16T18:34:06.293Z","updated_at":"2026-11-02T14:34:37.272373Z"}],"euvd":[{"id":"EUVD-2022-40767","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T18:33:47Z","modified":"2024-09-16T18:34:06Z","updated_at":"2026-11-03T00:55:31.571078Z"}],"ghsa":[{"id":"GHSA-wxgh-95h6-c68v","title":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream:...","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readSymbolDictSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-23T00:00:15Z","modified":"2023-01-30T05:06:50Z","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:47:34.932935Z"}],"nvd":[{"id":"CVE-2022-38171","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T19:15:11.06Z","modified":"2026-06-17T04:56:13.92Z","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"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:07:25.883929Z"}],"osv":[{"id":"ALPINE-CVE-2022-38171","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T19:15:11.06Z","modified":"2026-11-03T07:30:43.167352946Z","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-03T07:50:01.054176Z"},{"id":"JLSEC-2026-80","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2026-04-13T13:20:05.063Z","modified":"2026-07-18T00:02:23.964265429Z","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:47:19.003546Z"},{"id":"UBUNTU-CVE-2022-38171","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T19:15:00Z","modified":"2026-10-17T12:56:03.146295709Z","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-02T16:53:55.502114Z"},{"id":"CVE-2022-38171","description":"Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a specially crafted PDF file or JBIG2 image could lead to a crash or the execution of arbitrary code. This is similar to the vulnerability described by CVE-2021-30860 (Apple CoreGraphics).","status":"published","published":"2022-08-22T18:33:47.097Z","modified":"2026-10-28T02:30:30.621657339Z","updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"MGASA-2022-0320","title":"Updated xpdf packages fix security vulnerability","description":"In Xpdf prior to 4.04, the DCT (JPEG) decoder was incorrectly allowing the\n'interleaved' flag to be changed after the first scan of the image,\nleading to an unknown integer-related vulnerability in Stream.cc.\n(CVE-2022-24106)\n\nXpdf prior to 4.04 lacked an integer overflow check in JPXStream.cc.\n(CVE-2022-24107)\n\nXpdf prior to version 4.04 contains an integer overflow in the JBIG2\ndecoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc). Processing a\nspecially crafted PDF file or JBIG2 image could lead to a crash or the\nexecution of arbitrary code. (CVE-2022-38171)\n","status":"published","published":"2022-09-07T05:27:53Z","modified":"2026-04-16T04:41:47.162271521Z","updated_at":"2026-11-02T15:49:42.263076Z"}]}}
