CVE-2009-2416: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-2vw2-h5mp-gfhw
CVSS 6.5
CWE-416
Published
Advisory Summary

CVE-2009-2416 is a MODERATE (CVSS 6.5) security vulnerability vulnerability (CWE-416: Use After Free) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.. Remediation is available in the latest vendor maintenance releases.

CVE-2009-2416 at a Glance

CVE Identifier CVE-2009-2416
GHSA Identifier GHSA-2vw2-h5mp-gfhw
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-416: Use After Free
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2009-2416

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-2009-2416, 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 CWE-416: Use After Free, where the product reuses or references memory after it has been freed. at some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. 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

Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.

References

NVD — CVE-2009-2416 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-2416
access.redhat.com/errata/rhsa-2009:12... WEB
https://access.redhat.com/errata/RHSA-2009:1206
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2009-2416
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=515205
git.gnome.org/browse/libxml2/comm... WEB
https://git.gnome.org/browse/libxml2/commit/?id=489f9671e71cc44a97b23111b3126ac8a1e21a59
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7783
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9262
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00537.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00547.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00642.html
Software Security Information SECURITY
http://googlechromereleases.blogspot.com/2009/08/stable-update-security-fixes.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Nov/msg00001.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-09/msg00001.html
secunia.com/advisories/35036 WEB
http://secunia.com/advisories/35036
secunia.com/advisories/36207 WEB
http://secunia.com/advisories/36207
secunia.com/advisories/36338 WEB
http://secunia.com/advisories/36338
secunia.com/advisories/36417 WEB
http://secunia.com/advisories/36417
secunia.com/advisories/36631 WEB
http://secunia.com/advisories/36631
secunia.com/advisories/37346 WEB
http://secunia.com/advisories/37346
secunia.com/advisories/37471 WEB
http://secunia.com/advisories/37471
support.apple.com/kb/ht3937 WEB
http://support.apple.com/kb/HT3937
support.apple.com/kb/ht3949 WEB
http://support.apple.com/kb/HT3949
support.apple.com/kb/ht4225 WEB
http://support.apple.com/kb/HT4225
www.cert.fi/en/reports/2009/vul... WEB
http://www.cert.fi/en/reports/2009/vulnerability2009085.html
www.codenomicon.com/labs/xml WEB
http://www.codenomicon.com/labs/xml
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1859
www.mail-archive.com/debian-bugs-dist@li... WEB
http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg678527.html
www.mail-archive.com/debian-bugs-dist@li... WEB
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg678527.html
www.networkworld.com/columnists/2009/080... WEB
http://www.networkworld.com/columnists/2009/080509-xml-flaw.html
Software Security Information SECURITY
http://www.openoffice.org/security/cves/CVE-2009-2414-2416.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/507985/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/36010
www.ubuntu.com/usn/usn-815-1 WEB
http://www.ubuntu.com/usn/USN-815-1
Software Security Information SECURITY
http://www.vmware.com/security/advisories/VMSA-2009-0016.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/2420
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3184
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3217
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3316

Frequently Asked Questions

What is CVE-2009-2416?
CVE-2009-2416 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-416: Use After Free.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-2416?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2009-2416?
CVE-2009-2416 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2009-2416?
CVE-2009-2416 is classified under CWE-416: Use After Free (The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.).
How can I check Maven dependencies for CVE-2009-2416?
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-2vw2-h5mp-gfhw",
  "modified" : "2025-01-21T18:31:00Z",
  "published" : "2022-05-02T03:35:01Z",
  "aliases" : [ "CVE-2009-2416" ],
  "details" : "Multiple use-after-free vulnerabilities in libxml2 2.5.10, 2.6.16, 2.6.26, 2.6.27, and 2.6.32, and libxml 1.8.17, allow context-dependent attackers to cause a denial of service (application crash) via crafted (1) Notation or (2) Enumeration attribute types in an XML file, as demonstrated by the Codenomicon XML fuzzing framework.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-2416"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2009:1206"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2009-2416"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=515205"
  }, {
    "type" : "WEB",
    "url" : "https://git.gnome.org/browse/libxml2/commit/?id=489f9671e71cc44a97b23111b3126ac8a1e21a59"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7783"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9262"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00537.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00547.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00642.html"
  }, {
    "type" : "WEB",
    "url" : "http://googlechromereleases.blogspot.com/2009/08/stable-update-security-fixes.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Nov/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-09/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35036"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36207"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36338"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36417"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/36631"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37346"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37471"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3937"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3949"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4225"
  }, {
    "type" : "WEB",
    "url" : "http://www.cert.fi/en/reports/2009/vulnerability2009085.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.codenomicon.com/labs/xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1859"
  }, {
    "type" : "WEB",
    "url" : "http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg678527.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg678527.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.networkworld.com/columnists/2009/080509-xml-flaw.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openoffice.org/security/cves/CVE-2009-2414-2416.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/507985/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/36010"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-815-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vmware.com/security/advisories/VMSA-2009-0016.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/2420"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3184"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3217"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3316"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-416" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-08-11T18:30:00Z"
  }
}