7.8high
Xpdf prior to version 4.04 contains an integer overflow in the JBIG2 decoder (JBIG2Stream::readTextRegionSeg() in JBIG2Stream.cc).
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| xpdfreader xpdf | 4.04 | NVD |
| freedesktop poppler | before 22.09.0 | NVD |
Classification
What each source says
CVE List
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).
NVD (es)
Xpdf versiones anteriores a 4.04, contiene un desbordamiento de enteros en el decodificador JBIG2 (la función JBIG2Stream::readSymbolDictSeg() en el archivo JBIG2Stream.cc). El procesamiento de un archivo PDF o una imagen JBIG2 especialmente diseñados podría conllevar a un fallo o una ejecución de código arbitrario. Esto es similar a la vulnerabilidad descrita por CVE-2021-30860 (Apple CoreGraphics).
References
| http://www.xpdfreader.com/security-fixes.html | vendor-advisory | |
| https://dl.xpdfreader.com/xpdf-4.04.tar.gz | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2021-30860 | third-party-advisory | |
| https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-into-nso-zero-click.html | third-party-advisory | |
| https://github.com/jeffssh/CVE-2021-30860 | third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2022/09/02/11 | mailing-list, third-party-advisory | |
| https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2022-38171.md | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-38171 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2022-38171 changed 2026-06-17 | Public domain |