{"id":"CVE-2026-100090","aliases":["CVE-2026-100090"],"related":[],"kind":"vulnerability","state":"published","title":"lib: decompress_bunzip2: fix integer overflow in run-length decoding","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: decompress_bunzip2: fix integer overflow in run-length decoding\n\nThe RUNA/RUNB decoder in get_next_block() accumulates a run length into\nthe signed int t with no bound.  runPos doubles per symbol, so t grows as\nat least 2^n-1 and reaches INT_MAX after 31 RUNA symbols.  The guard that\nfollows, dbufCount+t >= dbufSize, is itself a signed addition, and as the\nkernel builds with -fno-strict-overflow it wraps negative once dbufCount\nis nonzero, so the guard is skipped.  while (t--) dbuf[dbufCount++] = uc\nthen writes INT_MAX entries into a buffer holding at most 900000.  One\nliteral symbol ahead of the run is enough to make dbufCount nonzero.\n\nBound t to the block size as it is accumulated.  t only grows within a\nrun, so the value tested never exceeds the final run length; any stream\nthat decodes today satisfies dbufCount+t < dbufSize at the flush, hence t\n< dbufSize throughout, and no such stream is rejected.  Because t grows as\nat least 2^n-1 the bound trips by the 20th symbol, leaving runPos at most\n2^19, so the following runPos <<= 1 cannot overflow either.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: decompress_bunzip2: fix integer overflow in run-length decoding\n\nThe RUNA/RUNB decoder in get_next_block() accumulates a run length into\nthe signed int t with no bound.  runPos doubles per symbol, so t grows as\nat least 2^n-1 and reaches INT_MAX after 31 RUNA symbols.  The guard that\nfollows, dbufCount+t >= dbufSize, is itself a signed addition, and as the\nkernel builds with -fno-strict-overflow it wraps negative once dbufCount\nis nonzero, so the guard is skipped.  while (t--) dbuf[dbufCount++] = uc\nthen writes INT_MAX entries into a buffer holding at most 900000.  One\nliteral symbol ahead of the run is enough to make dbufCount nonzero.\n\nBound t to the block size as it is accumulated.  t only grows within a\nrun, so the value tested never exceeds the final run length; any stream\nthat decodes today satisfies dbufCount+t < dbufSize at the flush, hence t\n< dbufSize throughout, and no such stream is rejected.  Because t grows as\nat least 2^n-1 the bound trips by the 20th symbol, leaving runPos at most\n2^19, so the following runPos <<= 1 cannot overflow either.","source":"cvelist"}],"published":"2026-11-30T13:23:41.126Z","modified":"2026-11-30T14:17:27.200Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"66198c387fde00497da3eaadae8468d7c087d709","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"33ed98d877186d6380db6c043e6c4c1faf84443f","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"527c459eb4c20cfee7062b19f5cb39bc5ff0545d","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"62d46d12a632f354c829da8b1f6718d662597ae0","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"664ef42230020ddb24cf6e4e791de9e70119ca17","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"f79c63b27cb657f990b29c02b7c0ae67392d1663","status":"affected"},{"type":"git","introduced":"bc22c17e12c130dc929218a95aa347e0f3fd05dc","fixed":"b822ad8d702df0be9fe3f24f71caeb0522d72319","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/66198c387fde00497da3eaadae8468d7c087d709","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee4e149f40a3fc34cf48d2d6eea066ee6d8c59bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33ed98d877186d6380db6c043e6c4c1faf84443f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/527c459eb4c20cfee7062b19f5cb39bc5ff0545d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/62d46d12a632f354c829da8b1f6718d662597ae0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/664ef42230020ddb24cf6e4e791de9e70119ca17","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f79c63b27cb657f990b29c02b7c0ae67392d1663","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b822ad8d702df0be9fe3f24f71caeb0522d72319","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100090","url":"https://www.cve.org/CVERecord?id=CVE-2026-100090","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:41.126Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100090","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100090","licence":"Public domain","modified":"2026-11-30T14:17:27.200Z"}],"updatedAt":"2026-11-30T14:32:39.729Z","epss":{"score":0.00221,"percentile":0.13458,"date":"2026-12-01T12:00:22.000Z"}}