GetPageSpeed security advisory

GPSA-2026-0013: zstd: streaming decompression could expose uninitialized memory, CVE-2026-124851

Important (source: access.redhat.com) · issued 2026-11-24 · updated 2026-11-29 · revision 1

Zstandard 1.5.1 to 1.5.7 could return the contents of an internal decoder buffer in the output of a crafted compressed stream (CVE-2026-124851). The EL7 zstd and libzstd packages 1.6.0-1 fix it.

When the streaming decoder's output buffer wrapped, it kept more history than the frame window allows, so a malformed offset could copy bytes from that expired history into the output. The buffer is 64 KiB by default and can hold uninitialized memory or data from earlier decompressions on the same context. An attacker who can submit compressed data and read the decompressed result can recover it. On a server this matters for anything that decompresses client or backend data, such as nginx-module-unzstd.

GetPageSpeed builds zstd for EL7 only; other distributions use their vendor libzstd. zstd 1.6.0 also fixes several other decoder and multithreaded compressor memory safety bugs, and it disables decoding of pre-1.0 legacy frames by default. The libzstd.so.1 ABI that EL7 packages link against is unchanged.

After updating: restart services that link libzstd, for example nginx (service nginx upgrade) and anything using openssl35.

Fixed packages

Every build listed in the signed repository metadata (yum updateinfo info GPSA-2026-0013). mitigation means a backported fix, not the complete upstream change.

ProductShapeRepositoryFixFirst available fixed build
zstdbaseredhat/7/aarch64complete1.6.0-1.el7 and later
4 packageslibzstd-1.6.0-1.el7.aarch64.rpm
libzstd-devel-1.6.0-1.el7.aarch64.rpm
libzstd-static-1.6.0-1.el7.aarch64.rpm
zstd-1.6.0-1.el7.aarch64.rpm
zstdbaseredhat/7/x86_64complete1.6.0-1.el7 and later
4 packageslibzstd-1.6.0-1.el7.x86_64.rpm
libzstd-devel-1.6.0-1.el7.x86_64.rpm
libzstd-static-1.6.0-1.el7.x86_64.rpm
zstd-1.6.0-1.el7.x86_64.rpm

Update

yum updateinfo list GPSA-2026-0013
yum update --advisory=GPSA-2026-0013

References

All advisories · JSON feed · GetPageSpeed repository