Description

In the Linux kernel, the following vulnerability has been resolved: lib: decompress_bunzip2: fix integer overflow in run-length decoding The RUNA/RUNB decoder in get_next_block() accumulates a run length into the signed int t with no bound. runPos doubles per symbol, so t grows as at least 2^n-1 and reaches INT_MAX after 31 RUNA symbols. The guard that follows, dbufCount+t >= dbufSize, is itself a signed addition, and as the kernel builds with -fno-strict-overflow it wraps negative once dbufCount is nonzero, so the guard is skipped. while (t--) dbuf[dbufCount++] = uc then writes INT_MAX entries into a buffer holding at most 900000. One literal symbol ahead of the run is enough to make dbufCount nonzero. Bound t to the block size as it is accumulated. t only grows within a run, so the value tested never exceeds the final run length; any stream that decodes today satisfies dbufCount+t < dbufSize at the flush, hence t < dbufSize throughout, and no such stream is rejected. Because t grows as at least 2^n-1 the bound trips by the 20th symbol, leaving runPos at most 2^19, so the following runPos <<= 1 cannot overflow either.

Affected products

VendorProductVersions
LinuxLinuxbc22c17e12c130dc929218a95aa347e0f3fd05dc to <66198c387fde00497da3eaadae8468d7c087d709 [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <33ed98d877186d6380db6c043e6c4c1faf84443f [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <527c459eb4c20cfee7062b19f5cb39bc5ff0545d [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <62d46d12a632f354c829da8b1f6718d662597ae0 [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <664ef42230020ddb24cf6e4e791de9e70119ca17 [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <f79c63b27cb657f990b29c02b7c0ae67392d1663 [affected]; bc22c17e12c130dc929218a95aa347e0f3fd05dc to <b822ad8d702df0be9fe3f24f71caeb0522d72319 [affected]
LinuxLinux2.6.30 [affected]; 0 to <2.6.30 [unaffected]; 5.10.275 to <=5.10.* [unaffected]; 5.15.226 to <=5.15.* [unaffected]; 6.1.193 to <=6.1.* [unaffected]; 6.6.163 to <=6.6.* [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 01 Dec 2026 08:04 UTC.