#1146108 ghostscript: please update bundled brotli (compound dictionary overflow, commit 4792c8e)

Package:
ghostscript
Source:
ghostscript
Description:
interpreter for the PostScript language and for PDF
Submitter:
Gajendra Nath Soren
Date:
2026-08-29 22:11:01 UTC
Severity:
normal
Tags:
#1146108#5
Date:
2026-08-29 22:09:11 UTC
From:
To:
ghostscript vendors a copy of brotli at:
brotli/c/common/platform.h

This copy predates commit 4792c8e (April 2026) which fixes an integer
overflow in compound dictionary size handling. The fix introduces
brotli_safe_add_int() -- a safe overflow-checked addition helper --
which is absent in the bundled copy.

No CVE has been assigned yet. The fix is public at:
https://github.com/google/brotli/commit/4792c8e

Please update the bundled brotli to the latest upstream version.

Found by: Attack of the Clones GSoC 2026 pipeline
(salsa.debian.org/rouca/gsoc2026)

Gajendra Nath Soren
gajendranath025@gmail.com