Skip to main content

Integer Overflow or Wraparound

CVE-2022-38784

Severity High
Score 7.8/10

Summary

Poppler versions through 22.08.0 contains an integer overflow in the JBIG2 decoder ("JBIG2Stream::readTextRegionSeg()" in "JBIGStream.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-2022-38171 in Xpdf.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-190 - Integer Overflow or Wraparound

The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.

References

Advisory Timeline

  • Published