CVE-2005-2096: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-w2qv-rhm9-97p2
Published
Advisory Summary

CVE-2005-2096 is a HIGH security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2005-2096 at a Glance

CVE Identifier CVE-2005-2096
GHSA Identifier GHSA-w2qv-rhm9-97p2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2005-2096

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2005-2096, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

zlib 1.2 and later versions allows remote attackers to cause a denial of service (crash) via a crafted compressed stream with an incomplete code description of a length greater than 1, which leads to a buffer overflow, as demonstrated using a crafted PNG file.

References

NVD — CVE-2005-2096 NVD
https://nvd.nist.gov/vuln/detail/CVE-2005-2096
bugzilla.redhat.com/bugzilla/show_bug.c... WEB
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162391
bugzilla.redhat.com/bugzilla/show_bug.c... WEB
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162680
exchange.xforce.ibmcloud.com/vulnerabilities/240... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/24064
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11500
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1262
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1542
usn.ubuntu.com/148-1 WEB
https://usn.ubuntu.com/148-1
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce//2008/Nov/msg00001.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html
secunia.com/advisories/15949 WEB
http://secunia.com/advisories/15949
secunia.com/advisories/17054 WEB
http://secunia.com/advisories/17054
secunia.com/advisories/17225 WEB
http://secunia.com/advisories/17225
secunia.com/advisories/17236 WEB
http://secunia.com/advisories/17236
secunia.com/advisories/17326 WEB
http://secunia.com/advisories/17326
secunia.com/advisories/17516 WEB
http://secunia.com/advisories/17516
secunia.com/advisories/18377 WEB
http://secunia.com/advisories/18377
secunia.com/advisories/18406 WEB
http://secunia.com/advisories/18406
secunia.com/advisories/18507 WEB
http://secunia.com/advisories/18507
secunia.com/advisories/19550 WEB
http://secunia.com/advisories/19550
secunia.com/advisories/19597 WEB
http://secunia.com/advisories/19597
secunia.com/advisories/24788 WEB
http://secunia.com/advisories/24788
secunia.com/advisories/31492 WEB
http://secunia.com/advisories/31492
secunia.com/advisories/32706 WEB
http://secunia.com/advisories/32706
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200507-05.xml
Software Security Information SECURITY
http://securitytracker.com/id?1014398
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101989-1
support.apple.com/kb/ht3298 WEB
http://support.apple.com/kb/HT3298
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2006-016.htm
Software Security Information SECURITY
http://www.debian.org/security/2005/dsa-740
Software Security Information SECURITY
http://www.debian.org/security/2005/dsa-797
Software Security Information SECURITY
http://www.debian.org/security/2006/dsa-1026
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200509-18.xml
www.kb.cert.org/vuls/id/680620 WEB
http://www.kb.cert.org/vuls/id/680620
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:112
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:196
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2006:070
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-569.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0629.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/421411/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/464745/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482503/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482505/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482571/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482601/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482949/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/482950/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/14162
www.ubuntulinux.org/usn/usn-151-3 WEB
http://www.ubuntulinux.org/usn/usn-151-3
www.vmware.com/support/vi3/doc/esx... WEB
http://www.vmware.com/support/vi3/doc/esx-3616065-patch.html
www.vmware.com/support/vi3/doc/esx... WEB
http://www.vmware.com/support/vi3/doc/esx-9916286-patch.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2005/0978
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2006/0144
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1267

Frequently Asked Questions

What is CVE-2005-2096?
CVE-2005-2096 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2005-2096?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2005-2096?
CVE-2005-2096 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2005-2096?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w2qv-rhm9-97p2",
  "modified" : "2022-05-03T03:14:13Z",
  "published" : "2022-05-03T03:14:13Z",
  "aliases" : [ "CVE-2005-2096" ],
  "details" : "zlib 1.2 and later versions allows remote attackers to cause a denial of service (crash) via a crafted compressed stream with an incomplete code description of a length greater than 1, which leads to a buffer overflow, as demonstrated using a crafted PNG file.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2005-2096"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162391"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162680"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/24064"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11500"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1262"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1542"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/148-1"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce//2008/Nov/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2005//Aug/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2005/Aug/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/15949"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17054"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17225"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17236"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17326"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17516"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18377"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18406"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18507"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/19550"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/19597"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/24788"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31492"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32706"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200507-05.xml"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1014398"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-101989-1"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3298"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2006-016.htm"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2005/dsa-740"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2005/dsa-797"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2006/dsa-1026"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200509-18.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.kb.cert.org/vuls/id/680620"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:112"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:196"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2006:070"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-569.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0629.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/421411/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/464745/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482503/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482505/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482571/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482601/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482949/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/482950/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/14162"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntulinux.org/usn/usn-151-3"
  }, {
    "type" : "WEB",
    "url" : "http://www.vmware.com/support/vi3/doc/esx-3616065-patch.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vmware.com/support/vi3/doc/esx-9916286-patch.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2005/0978"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2006/0144"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1267"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2005-07-06T04:00:00Z"
  }
}