CVE-2026-22184
9.8CRITICALzlib versions up to and including 1.3.1.2 contain a global buffer overflow in the untgz utility. The TGZfname() function copies an attacker-supplied archive name from argv[] into a fixed-size 1024-byt
Publicado: 1/7/2026Atualizado: 1/14/2026
Descrição
zlib versions up to and including 1.3.1.2 contain a global buffer overflow in the untgz utility. The TGZfname() function copies an attacker-supplied archive name from argv[] into a fixed-size 1024-byte static global buffer using an unbounded strcpy() call without length validation. Supplying an archive name longer than 1024 bytes results in an out-of-bounds write that can lead to memory corruption, denial of service, and potentially code execution depending on compiler, build flags, architecture, and memory layout. The overflow occurs prior to any archive parsing or validation.
Análise IADesenvolvido por IA
Produtos Afetados
zlibzlib
Referências
- https://github.com/madler/zlibProduct
- https://seclists.org/fulldisclosure/2026/Jan/3Mailing ListThird Party Advisory
- https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfnameThird Party Advisory
- https://zlib.net/Product
- https://github.com/madler/zlib/issues/1142Issue Tracking