CyberRota Analysis
AI-GeneratedA signed integer overflow vulnerability in the compress library's s2.NewDict() function allows attackers to bypass index validation by providing a specially crafted dictionary, leading to out-of-bounds memory access and potential process crashes. This issue affects versions prior to 1.18.7 and poses a high risk for applications relying on the compress library for data handling. Organizations using affected versions should prioritize upgrading to version 1.18.7 to mitigate the risk of exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
compress provides various compression algorithms. Prior to version 1.18.7, a signed integer overflow vulnerability in s2.NewDict() allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceeding MaxInt64. When Dict.Encode() is subsequently called, the overflowed negative repeat value causes an out-of-bounds memory access via unsafe.Pointer arithmetic, crashing the process with SIGSEGV. This issue has been patched in version 1.18.7.