{"id":"UBUNTU-CVE-2022-37434","details":"zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected. Some common applications bundle the affected zlib source code but may be unable to call inflateGetHeader (e.g., see the nodejs/node reference).","modified":"2026-04-22T13:27:38.060108Z","published":"2022-08-05T07:15:00Z","related":["USN-5570-1","USN-5570-2","USN-5573-1","USN-6736-1","USN-6736-2"],"upstream":["CVE-2022-37434"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-37434"},{"type":"REPORT","url":"https://github.com/ivd38/zlib_overflow"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5570-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5573-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5570-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-37434"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6736-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6736-2"}],"affected":[{"package":{"name":"klibc","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.3-0ubuntu1.14.04.3+esm3?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3-0ubuntu1.14.04.3+esm3"}]}],"versions":["2.0.1-3.1ubuntu2","2.0.2-1ubuntu1","2.0.2-1ubuntu2","2.0.3-0ubuntu1","2.0.3-0ubuntu1.14.04.1","2.0.3-0ubuntu1.14.04.2","2.0.3-0ubuntu1.14.04.3","2.0.3-0ubuntu1.14.04.3+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"klibc-utils","binary_version":"2.0.3-0ubuntu1.14.04.3+esm3"},{"binary_name":"libklibc","binary_version":"2.0.3-0ubuntu1.14.04.3+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-1ubuntu1.1+esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.8.dfsg-1ubuntu1.1+esm2"}]}],"versions":["1:1.2.8.dfsg-1ubuntu1","1:1.2.8.dfsg-1ubuntu1.1","1:1.2.8.dfsg-1ubuntu1.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"lib32z1","binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm2"},{"binary_name":"lib64z1","binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm2"},{"binary_name":"libx32z1","binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm2"},{"binary_name":"zlib-bin","binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm2"},{"binary_name":"zlib1g","binary_version":"1:1.2.8.dfsg-1ubuntu1.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"klibc","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.4-8ubuntu1.16.04.4+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-8ubuntu1.16.04.4+esm2"}]}],"versions":["2.0.3-0ubuntu1","2.0.4-4","2.0.4-6","2.0.4-7","2.0.4-8","2.0.4-8ubuntu1","2.0.4-8ubuntu1.16.04.1","2.0.4-8ubuntu1.16.04.2","2.0.4-8ubuntu1.16.04.3","2.0.4-8ubuntu1.16.04.4","2.0.4-8ubuntu1.16.04.4+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.0.4-8ubuntu1.16.04.4+esm2","binary_name":"klibc-utils"},{"binary_name":"libklibc","binary_version":"2.0.4-8ubuntu1.16.04.4+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.1-3ubuntu1.3+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-3ubuntu1.3+esm2"}]}],"versions":["3.1.1-3","3.1.1-3ubuntu1","3.1.1-3ubuntu1.1","3.1.1-3ubuntu1.2","3.1.1-3ubuntu1.3","3.1.1-3ubuntu1.3+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"rsync","binary_version":"3.1.1-3ubuntu1.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.8.dfsg-2ubuntu4.3+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.8.dfsg-2ubuntu4.3+esm2"}]}],"versions":["1:1.2.8.dfsg-2ubuntu4","1:1.2.8.dfsg-2ubuntu4.1","1:1.2.8.dfsg-2ubuntu4.3","1:1.2.8.dfsg-2ubuntu4.3+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"lib32z1","binary_version":"1:1.2.8.dfsg-2ubuntu4.3+esm2"},{"binary_name":"lib64z1","binary_version":"1:1.2.8.dfsg-2ubuntu4.3+esm2"},{"binary_name":"libx32z1","binary_version":"1:1.2.8.dfsg-2ubuntu4.3+esm2"},{"binary_name":"zlib1g","binary_version":"1:1.2.8.dfsg-2ubuntu4.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.2-2.1ubuntu1.5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-2.1ubuntu1.5"}]}],"versions":["3.1.2-2","3.1.2-2.1","3.1.2-2.1ubuntu1","3.1.2-2.1ubuntu1.1","3.1.2-2.1ubuntu1.2","3.1.2-2.1ubuntu1.3","3.1.2-2.1ubuntu1.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"rsync","binary_version":"3.1.2-2.1ubuntu1.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-0ubuntu2.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.11.dfsg-0ubuntu2.2"}]}],"versions":["1:1.2.11.dfsg-0ubuntu2","1:1.2.11.dfsg-0ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"lib32z1","binary_version":"1:1.2.11.dfsg-0ubuntu2.2"},{"binary_name":"lib64z1","binary_version":"1:1.2.11.dfsg-0ubuntu2.2"},{"binary_name":"libx32z1","binary_version":"1:1.2.11.dfsg-0ubuntu2.2"},{"binary_name":"zlib1g","binary_version":"1:1.2.11.dfsg-0ubuntu2.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"klibc","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.4-9ubuntu2.2+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-9ubuntu2.2+esm1"}]}],"versions":["2.0.4-9ubuntu1","2.0.4-9ubuntu2","2.0.4-9ubuntu2.1","2.0.4-9ubuntu2.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"klibc-utils","binary_version":"2.0.4-9ubuntu2.2+esm1"},{"binary_name":"libklibc","binary_version":"2.0.4-9ubuntu2.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"klibc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.7-1ubuntu5.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7-1ubuntu5.2"}]}],"versions":["2.0.6-1ubuntu1","2.0.6-1ubuntu2","2.0.7-1ubuntu1","2.0.7-1ubuntu3","2.0.7-1ubuntu4","2.0.7-1ubuntu5","2.0.7-1ubuntu5.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"klibc-utils","binary_version":"2.0.7-1ubuntu5.2"},{"binary_name":"libklibc","binary_version":"2.0.7-1ubuntu5.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"rsync","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rsync@3.1.3-8ubuntu0.4?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3-8ubuntu0.4"}]}],"versions":["3.1.3-6","3.1.3-8","3.1.3-8ubuntu0.1","3.1.3-8ubuntu0.2","3.1.3-8ubuntu0.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"rsync","binary_version":"3.1.3-8ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-2ubuntu1.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.11.dfsg-2ubuntu1.5"}]}],"versions":["1:1.2.11.dfsg-1ubuntu3","1:1.2.11.dfsg-2ubuntu1","1:1.2.11.dfsg-2ubuntu1.1","1:1.2.11.dfsg-2ubuntu1.2","1:1.2.11.dfsg-2ubuntu1.3","1:1.2.11.dfsg-2ubuntu1.4"],"ecosystem_specific":{"binaries":[{"binary_name":"lib32z1","binary_version":"1:1.2.11.dfsg-2ubuntu1.5"},{"binary_name":"lib64z1","binary_version":"1:1.2.11.dfsg-2ubuntu1.5"},{"binary_name":"libx32z1","binary_version":"1:1.2.11.dfsg-2ubuntu1.5"},{"binary_version":"1:1.2.11.dfsg-2ubuntu1.5","binary_name":"zlib1g"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"klibc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.10-4ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.10-4ubuntu0.1"}]}],"versions":["2.0.8-6.1ubuntu2","2.0.10-3","2.0.10-4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"klibc-utils","binary_version":"2.0.10-4ubuntu0.1"},{"binary_version":"2.0.10-4ubuntu0.1","binary_name":"libklibc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"zlib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/zlib@1:1.2.11.dfsg-2ubuntu9.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.2.11.dfsg-2ubuntu9.2"}]}],"versions":["1:1.2.11.dfsg-2ubuntu7","1:1.2.11.dfsg-2ubuntu9","1:1.2.11.dfsg-2ubuntu9.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"lib32z1","binary_version":"1:1.2.11.dfsg-2ubuntu9.2"},{"binary_version":"1:1.2.11.dfsg-2ubuntu9.2","binary_name":"lib64z1"},{"binary_name":"libx32z1","binary_version":"1:1.2.11.dfsg-2ubuntu9.2"},{"binary_name":"zlib1g","binary_version":"1:1.2.11.dfsg-2ubuntu9.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}},{"package":{"name":"klibc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/klibc@2.0.13-4ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.13-4ubuntu0.1"}]}],"versions":["2.0.13-1","2.0.13-2","2.0.13-2ubuntu1","2.0.13-4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"klibc-utils","binary_version":"2.0.13-4ubuntu0.1"},{"binary_version":"2.0.13-4ubuntu0.1","binary_name":"libklibc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37434.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}