{"id":"CVE-2006-4336","aliases":["DEBIAN-CVE-2006-4336","DSA-1181-1","EUVD-2006-4324","GHSA-fwv6-j4q7-2p64","RHSA-2006:0667"],"status":"published","title":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent...","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0596,"percentile":0.93336,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2006-09-19T00:00:00Z","modified":"2026-10-22T23:47:34Z","fixes":[{"ecosystem":"Debian:12","package":"gzip","fixed_in":["1.3.5-15"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gzip","fixed_in":["1.3.5-15"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gzip","fixed_in":["1.3.5-15"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-15"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-15"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-15"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-10sarge2"}]}],"versions":["1.3.5-10","1.3.5-10sarge1"],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-13.rhel3"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"gzip","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"gzip-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.3.3-16.rhel4"}]}],"bundled":5}],"products":[{"vendor":"gzip","product":"gzip"}],"references":[{"url":"http://www.vupen.com/english/advisories/2006/4760","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/4750","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23679","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200611-24.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://secunia.com/advisories/24435","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/22085","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/22043","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.novell.com/linux/security/advisories/2006_56_gzip.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-218.htm","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/22487","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10140","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"https://issues.rpath.com/browse/RPL-615","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/22033","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/22002","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/3695","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=304829","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/21996","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23153","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=204676","tags":["x_refsource_MISC","x_transferred","report"]},{"url":"http://secunia.com/advisories/22009","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/22017","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/0092","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2006-0667.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/1171","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200609-13.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/451324/100/0/threaded","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-06:21.gzip.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","advisory"]},{"url":"http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.020-gzip.html","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-349-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.vmware.com/support/esx25/doc/esx-254-200702-patch.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/22435","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23156","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/464268/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/22027","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:167","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/23155","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/462007/100/0/threaded","tags":["vendor-advisory","x_refsource_HP","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/20101","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.trustix.org/errata/2006/0052/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102766-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/450078/100/0/threaded","tags":["vendor-advisory","x_refsource_HP","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29042","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2006/Nov/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA06-333A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://www.securityfocus.com/archive/1/446426/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://secunia.com/advisories/24636","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.kb.cert.org/vuls/id/554780","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/22012","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"ftp://patches.sgi.com/support/free/security/advisories/20061001-01-P.asc","tags":["vendor-advisory","x_refsource_SGI","x_transferred","advisory"]},{"url":"http://securitytracker.com/id?1016883","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2006\u0026m=slackware-security.555852","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","web"]},{"url":"http://secunia.com/advisories/22034","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/22101","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.us.debian.org/security/2006/dsa-1181","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/0832","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/22661","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/4275","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4336","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fwv6-j4q7-2p64"},{"url":"https://security-tracker.debian.org/tracker/CVE-2006-4336","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2006:0667","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=204676","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2006/rhsa-2006_0667.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4334","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618181","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4334","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4334","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4335","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=220595","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4335","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4335","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4336","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4336","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4337","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4337","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4337","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2006-4338","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1618182","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-4338","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-4338","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2006-4336","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2006-09-19T21:00:00Z","modified":"2024-08-07T19:06:07.625Z","updated_at":"2026-11-02T14:33:51.085765Z"}],"euvd":[{"id":"EUVD-2006-4324","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2006-09-19T21:00:00Z","modified":"2024-08-07T19:06:07Z","updated_at":"2026-11-03T01:15:52.657645Z"}],"ghsa":[{"id":"GHSA-fwv6-j4q7-2p64","title":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent...","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2022-05-03T03:16:22Z","modified":"2023-02-01T05:01:17Z","updated_at":"2026-11-02T14:49:42.191398Z"}],"nvd":[{"id":"CVE-2006-4336","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2006-09-19T21:07:00Z","modified":"2026-06-16T22:28:53.08Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:06.675668Z"}],"osv":[{"id":"CVE-2006-4336","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2006-09-19T21:07:00Z","modified":"2026-04-10T03:37:44.981431Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2006-4336","description":"Buffer underflow in the build_tree function in unpack.c in gzip 1.3.5 allows context-dependent attackers to execute arbitrary code via a crafted leaf count table that causes a write to a negative index.","status":"published","published":"2006-09-19T21:07:00Z","modified":"2026-10-22T23:47:34.621679918Z","updated_at":"2026-11-02T15:45:23.105674Z"},{"id":"DSA-1181-1","title":"gzip","status":"published","published":"2006-09-19T00:00:00Z","modified":"2026-03-09T01:01:48.692294Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2006:0667","title":"Red Hat Security Advisory: gzip security update","status":"published","published":"2024-09-15T16:21:52Z","modified":"2026-06-26T10:05:04Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
