Skip to main content

Integer Overflow or Wraparound

CVE-2025-48172

Severity Medium
Score 5.6/10

Summary

CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c _chm_decompress_block integer overflow. There is a resultant heap-based buffer overflow in _chm_fetch_bytes.

  • HIGH
  • LOCAL
  • LOW
  • CHANGED
  • NONE
  • NONE
  • LOW
  • LOW

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