CVE-2018-25032: zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

CVE-2018-25032 affects 77 listed versions of Apple macOS, MariaDB, Python in the Dawnsentry catalogue.

7.5CVSS high
Proof of concept publicexploitation
52%EPSS (next 30 days)
25 March 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apple macOS

30 of 250 listed versions are affected. Fixed in 12.4, 11.6.6. The newest release, 27.2.1, is not affected.

12.3.1 12.3 12.2.1 12.2 12.1 12.0.1 12.0.0 12.0 11.6.5 11.6.4 11.6.3 11.6.2 11.6.1 11.6 11.5.2 11.5.1 11.5 11.4 11.3.1 11.3 11.2.6 11.2.3 11.2.2 11.2.1 11.2.0 11.2 11.1.0 11.1 11.0.1 11.0

MariaDB

26 of 250 listed versions are affected. Fixed in 10.9.2, 10.8.4, 10.7.5, 10.5.17, 10.4.26, 10.3.36. The newest release, 13.1.2, is not affected.

10.9.1 10.9 10.8.3 10.8.0 10.7.4 10.7.3 10.7.2 10.5.16 10.5.15 10.4.25 10.4.24 10.4.23 10.4.22 10.4.21 10.4.20 10.3.35 10.3.34 10.3.33 10.3.32 10.3.31 10.3.30 10.3.29 10.3.28 10.3.27 10.3.26 10.3.25

Python

21 of 250 listed versions are affected. Fixed in 3.9.13, 3.8.14, 3.7.14. The newest release, 3.15.2, is not affected.

3.9.12 3.9.11 3.8.13 3.8.12 3.8.11 3.8.10 3.8.9 3.8.8 3.8.7 3.8.6 3.7.13 3.7.12 3.7.11 3.7.10 3.7.9 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD)

Published by MITRE on 25 March 2022. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2018-25032 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.