{"schemaVersion":3,"id":"CVE-2022-38171","aliases":["UBUNTU-CVE-2022-38171"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2022-08-22T18:33:47.097Z","modified":"2024-09-16T18:34:06.293Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00341,"percentile":0.26073,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.003999999999999967,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00337},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00341,"percentile":0.26073}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00337,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00341,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00341,"percentile":0.26073}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"ubuntu","product":"ipe","name":"ipe","label":"ipe","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ipe","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"texlive-bin","name":"texlive-bin","label":"texlive-bin","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/texlive-bin","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xpdf","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"freedesktop","product":"poppler","name":"poppler","label":"poppler","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 22.09.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.09.0","eol":null,"hubHref":"/vendor/freedesktop/poppler"},{"vendor":"xpdfreader","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.04","eol":null,"hubHref":"/vendor/xpdfreader/xpdf"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.xpdfreader.com/security-fixes.html","label":"www.xpdfreader.com/security-fixes.html","hostname":"www.xpdfreader.com","tags":["REPORT","Vendor Advisory"]},{"url":"https://dl.xpdfreader.com/xpdf-4.04.tar.gz","label":"dl.xpdfreader.com/xpdf-4.04.tar.gz","hostname":"dl.xpdfreader.com","tags":["REPORT","Vendor Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30860","label":"www.cve.org/CVERecord?id=CVE-2021-30860","hostname":"www.cve.org","tags":["REPORT","Third Party Advisory"]},{"url":"https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html","label":"googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html","hostname":"googleprojectzero.blogspot.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://github.com/jeffssh/CVE-2021-30860","label":"github.com/jeffssh/CVE-2021-30860","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/11","label":"www.openwall.com/lists/oss-security/2022/09/02/11","hostname":"www.openwall.com","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md","label":"github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-38171","label":"ubuntu.com/security/CVE-2022-38171","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://dl.xpdfreader.com/old/xpdf-4.04.tar.gz","label":"dl.xpdfreader.com/old/xpdf-4.04.tar.gz","hostname":"dl.xpdfreader.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-38171","label":"www.cve.org/CVERecord?id=CVE-2022-38171","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2022-0320"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-08-22T18:33:47.097Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T18:34:06.293Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:31:43.817Z","stale":false,"partial":false}}