SB20261201354 - Multiple vulnerabilities in Zlib



SB20261201354 - Multiple vulnerabilities in Zlib

Published: December 1, 2026

Security Bulletin ID SB20261201354
CSH Severity
High
Patch available
YES
Number of vulnerabilities 18
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 11% Medium 33% Low 56%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 18 vulnerabilities.


1) Exposure of File Descriptor to Unintended Control Sphere (\'File Descriptor Leak\') (CVE-ID: N/A)

CWE-ID: CWE-403 - Exposure of File Descriptor to Unintended Control Sphere (\'File Descriptor Leak\')

CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially gain unintended access to an inherited file descriptor.

The vulnerability exists due to improper close-on-exec flag handling in gzdopen() when configuring a file descriptor to close on program execution. A local user can potentially use a descriptor retained across program execution to access the resource it references.


2) Out-of-bounds write (CVE-ID: N/A)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt memory in an application that uses zlib's iostream2 component to read compressed strings.

The vulnerability exists due to an out-of-bounds write in contrib/iostream2 when reading a compressed string without checking its declared length against the destination buffer size. A remote attacker can supply a crafted compressed file to cause a write beyond the destination buffer and corrupt application memory.


3) Path traversal (CVE-ID: N/A)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to create directories outside the intended ZIP extraction directory.

The vulnerability exists due to path traversal in miniunz when resolving archive entry paths during extraction. A remote attacker can supply a crafted ZIP archive to cause miniunz to create directories outside the extraction directory.

On Windows, miniunz can also write files outside the extraction directory, subject to the process's filesystem permissions.


4) Improper Validation of Specified Index, Position, or Offset in Input (CVE-ID: N/A)

CWE-ID: CWE-1285 - Improper Validation of Specified Index, Position, or Offset in Input

CVSSv4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause minizip to report a different set of ZIP archive entries than other readers.

The vulnerability exists due to improper validation of the Zip64 locator position in minizip's unzip component when locating the central directory. A remote attacker can supply a crafted ZIP archive to cause minizip and other readers to disagree about which entries the archive contains.


5) Out-of-bounds read (CVE-ID: N/A)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially cause minizip to interpret data outside a Zip64 extra-field record as archive metadata.

The vulnerability exists due to an out-of-bounds read in minizip's unzip component when reading values from a Zip64 extra-field record. A remote attacker can supply a malformed ZIP archive to cause data beyond the record boundary to be interpreted as Zip64 values.


6) Improper Handling of Length Parameter Inconsistency (CVE-ID: N/A)

CWE-ID: CWE-130 - Improper Handling of Length Parameter Inconsistency

CVSSv4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially cause a denial of service in an application that uses minizip to process ZIP extra fields.

The vulnerability exists due to improper validation of extra-field lengths in minizip's zipRemoveExtraInfoBlock() when parsing ZIP metadata. A remote attacker can supply malformed extra-field data to potentially cause the function to access data beyond the supplied field and crash the application.


7) NULL pointer dereference (CVE-ID: N/A)

CWE-ID: CWE-476 - NULL Pointer Dereference

CVSSv4: 5.6 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially cause a denial of service in an application that uses minizip.

The vulnerability exists due to a null pointer dereference in minizip's zipAlreadyThere() when checking entries after encountering a malformed central directory. A remote attacker can supply a malformed ZIP archive to potentially crash an application that uses the affected lookup.

The issue requires repeated calls to zipAlreadyThere().


8) Double free (CVE-ID: N/A)

CWE-ID: CWE-415 - Double Free

CVSSv4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially corrupt heap state or crash an application that uses minizip.

The vulnerability exists due to a double free in minizip's block_central_name() when releasing memory used for central-directory name handling. A local user can exercise the affected code path to cause the same allocation to be freed twice, potentially corrupting heap state or crashing the application.


9) Not Failing Securely ('Failing Open') (CVE-ID: N/A)

CWE-ID: CWE-636 - Not Failing Securely (\'Failing Open\')

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially cause an application to truncate an existing file despite requesting exclusive creation.

The vulnerability exists due to a failure to enforce exclusive file creation in gzopen() when opening a gzip file in exclusive-create mode. A local user can potentially influence the destination of an affected file operation to cause the application to truncate an existing file.

The issue occurs on platforms where O_EXCL is unavailable.


10) Improper input validation (CVE-ID: CVE-2026-4738)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote authenticated user to execute arbitrary code.

The vulnerability exists due to improper input validation within the Oracle Spatial and Graph (gdal) in Oracle Database Server. A remote authenticated user can exploit this vulnerability to execute arbitrary code.


11) Out-of-bounds read (CVE-ID: N/A)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially cause a denial of service in an application that uses zlib for compression.

The vulnerability exists due to an out-of-bounds read in deflateResetKeep() when resetting an active compression stream. A local user can exercise the affected reset path to potentially crash the application by causing a read outside the compression window.


12) Use of uninitialized resource (CVE-ID: N/A)

CWE-ID: CWE-908 - Use of Uninitialized Resource

CVSSv4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially disclose process memory through gzip output.

The vulnerability exists due to the use of uninitialized memory in gzseek() when seeking forward in a gzip output stream before any data has been written. A local user can exercise the affected seek path to cause uninitialized memory to be written to the gzip output.


13) Use of uninitialized resource (CVE-ID: N/A)

CWE-ID: CWE-908 - Use of Uninitialized Resource

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to potentially disclose process memory through decompressed output.

The vulnerability exists due to the use of uninitialized memory in inflateBack() when decompressing data with a back-reference that exceeds the available history. A remote attacker can supply malformed compressed data to cause uninitialized memory to be copied into the decompressed output.


14) Out-of-bounds write (CVE-ID: N/A)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to corrupt memory in an application that uses zlib's compression priming interface.

The vulnerability exists due to an out-of-bounds write in deflatePrime() when adding bits to the pending compression output. A local user can exercise the affected priming path to write beyond the pending buffer and corrupt application memory.


15) Out-of-bounds read (CVE-ID: N/A)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to potentially cause a denial of service in an application that uses zlib's decompression priming interface.

The vulnerability exists due to an out-of-bounds read in inflate() when decompressing input in a state established by inflatePrime(). A local user can exercise the affected decompression path to potentially crash the application by causing a read before the input buffer.


16) Incorrect Calculation of Buffer Size (CVE-ID: N/A)

CWE-ID: CWE-131 - Incorrect Calculation of Buffer Size

CVSSv4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt memory in an application that uses zlib to resynchronize a compressed stream.

The vulnerability exists due to incorrect buffer sizing in inflateSync() when resynchronizing a stream whose decompression window size is not yet known. A remote attacker can supply compressed input that reaches the affected recovery path to potentially cause writes past the allocated window and corrupt application memory.


17) Out-of-bounds write (CVE-ID: N/A)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to corrupt memory in an application that retrieves a decompression dictionary from zlib.

The vulnerability exists due to an out-of-bounds write in inflateGetDictionary() when copying a dictionary from a decompression state with an invalid window size. A remote attacker can supply malformed compressed input to potentially cause a dictionary copy to exceed the caller's buffer and corrupt application memory.


18) Heap-based buffer overflow (CVE-ID: CVE-2026-85091)

CWE-ID: CWE-122 - Heap-based Buffer Overflow

CVSSv4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to corrupt the memory of an application that uses zlib for non-blocking gzip writes.

The vulnerability exists due to a heap-based buffer overflow in gz_vacate() when handling non-blocking gzwrite() operations with stale buffer pointers. A local user can trigger a write past the internal input buffer to corrupt application memory or cause the application to crash.


Remediation

Install update from vendor's website.