Skip to content
Heist/ feed
Back to feed
Medium

Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x

Type: advisorySources: OSV

Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x. There are a number of issues in Apache Commons Configuration 1.x that allow excessive resource consumption when loading untrusted configurations or using unexpected usage patterns. The Apache Commons Configuration team does not intend to fix these issues in 1.x. Apache Commons Configuration 1.x is still safe to use in scenario's where you only load trusted configurations. Users that load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which fixes these issues. Apache Commons Configuration 2.x is not a drop-in replacement, but as it uses a separate Maven groupId and Java package namespace they can be loaded side-by-side, making it possible to do a gradual migration.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-46392
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:39 UTC · Revision 1

Source evidence

Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x

core-osv · Original source

Published 9 May 2025, 09:34 UTC

Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x. There are a number of issues in Apache Commons Configuration 1.x that allow excessive resource consumption when loading untrusted configurations or using unexpected usage patterns. The Apache Commons Configuration team does not intend to fix these issues in 1.x. Apache Commons Configuration 1.x is still safe to use in scenario's where you only load trusted configurations. Users that load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which fixes these issues. Apache Commons Configuration 2.x is not a drop-in replacement, but as it uses a separate Maven groupId and Java package namespace they can be loaded side-by-side, making it possible to do a gradual migration.

osv:CVE-2025-46392
Complete source record
{
  "id": "36c99db8a9b065b0bc70a17f16bba3c440ca848aa0e39fad19c281229e9fe3c8",
  "url": "https://osv.dev/vulnerability/CVE-2025-46392",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Commons Configuration: Uncontrolled Resource Consumption when loading untrusted configurations in 1.x",
    "summary": "Uncontrolled Resource Consumption vulnerability in Apache Commons Configuration 1.x. There are a number of issues in Apache Commons Configuration 1.x that allow excessive resource consumption when loading untrusted configurations or using unexpected usage patterns. The Apache Commons Configuration team does not intend to fix these issues in 1.x. Apache Commons Configuration 1.x is still safe to use in scenario's where you only load trusted configurations. Users that load untrusted configurations or give attackers control over usage patterns are recommended to upgrade to the 2.x version line, which fixes these issues. Apache Commons Configuration 2.x is not a drop-in replacement, but as it uses a separate Maven groupId and Java package namespace they can be loaded side-by-side, making it possible to do a gradual migration.",
    "evidence": "osv:CVE-2025-46392",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-46392",
      "aliases": [
        "CVE-2025-46392",
        "GHSA-pvp8-3xj6-8c6x"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/commons-configuration",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6c460662af216ac3777b03b9d641451486bc238d"
                },
                {
                  "fixed": "25c16206e0452a3b68abf4158c4d8f2ea38305da"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:commons_configuration:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "fixed": "2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46392.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.957354989Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://www.cve.org/CVERecord?id=CVE-2024-29131",
        "https://www.cve.org/CVERecord?id=CVE-2024-29133",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46392.json",
        "https://lists.apache.org/thread/y1pl0mn3opz6kwkm873zshjdxq3dwq5s",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-46392"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1"
                  },
                  {
                    "fixed": "2.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46392.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-46392",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521867,
  "published_at": "2025-05-09T09:34:38.854+00:00"
}