Skip to content
Heist/ feed
Back to feed
Low

InvenTree has uncontrolled memory allocation via built-in label-sheet plugin

Type: advisorySources: OSV

InvenTree is an Open Source Inventory Management System. Prior to version 0.17.13, the skip field in the built-in `label-sheet` plugin lacks an upper bound, so a large value forces the server to allocate an enormous Python list. This lets any authenticated label-printing user trigger a denial-of-service via memory exhaustion. the issue is fixed in versions 0.17.13 and higher. No workaround is available aside from upgrading to the patched version.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-49000
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:54 UTC · Revision 1

Source evidence

InvenTree has uncontrolled memory allocation via built-in label-sheet plugin

core-osv · Original source

Published 3 Jun 2025, 20:54 UTC

InvenTree is an Open Source Inventory Management System. Prior to version 0.17.13, the skip field in the built-in `label-sheet` plugin lacks an upper bound, so a large value forces the server to allocate an enormous Python list. This lets any authenticated label-printing user trigger a denial-of-service via memory exhaustion. the issue is fixed in versions 0.17.13 and higher. No workaround is available aside from upgrading to the patched version.

osv:CVE-2025-49000
Complete source record
{
  "id": "b5fa50d9bd17356d35c292d25d6b8d6aa44dae071d2f578dd60b3774221400b7",
  "url": "https://osv.dev/vulnerability/CVE-2025-49000",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "InvenTree has uncontrolled memory allocation via built-in label-sheet plugin",
    "summary": "InvenTree is an Open Source Inventory Management System. Prior to version 0.17.13, the skip field in the built-in `label-sheet` plugin lacks an upper bound, so a large value forces the server to allocate an enormous Python list. This lets any authenticated label-printing user trigger a denial-of-service via memory exhaustion. the issue is fixed in versions 0.17.13 and higher. No workaround is available aside from upgrading to the patched version.",
    "evidence": "osv:CVE-2025-49000",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-49000",
      "aliases": [
        "CVE-2025-49000",
        "GHSA-m2ch-h84r-p9r6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/inventree/inventree",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2a7f5f94c8dc1d05b417e654225d4da75f7791bd"
                },
                {
                  "fixed": "0826a75ef6dde0ad96d680f52a9cf171ba2ce98b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:inventree_project:inventree:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.17.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0826a75ef6dde0ad96d680f52a9cf171ba2ce98b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2a7f5f94c8dc1d05b417e654225d4da75f7791bd"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.17.13"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.17.12",
            "0.17.11",
            "0.17.10",
            "0.17.9",
            "0.17.8",
            "0.17.7",
            "0.17.6",
            "0.17.5",
            "0.17.4",
            "0.17.3",
            "0.17.2",
            "0.17.1",
            "0.17.0",
            "0.13.0",
            "0.12.0",
            "0.11.0",
            "0.10.0",
            "0.9.0",
            "0.8.0",
            "v0.7.0",
            "0.4.0",
            "0.3.0",
            "0.2.4",
            "0.2.3",
            "0.2.2",
            "0.2.1",
            "0.2.0",
            "0.1.8",
            "0.1.7",
            "0.1.6",
            "0.1.5",
            "0.1.4",
            "v0.1.3",
            "0.1.2",
            "0.1.1",
            "0.1.0",
            "0.0.11",
            "0.0.12",
            "v0.0.11",
            "0.0.10",
            "0.0.9",
            "0.0.8",
            "v0.0.7",
            "0.0.6",
            "v0.0.5",
            "0.0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49000.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.110558793Z",
      "provider": "osv",
      "references": [
        "https://github.com/inventree/InvenTree/releases/tag/0.17.13",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49000.json",
        "https://github.com/inventree/InvenTree/security/advisories/GHSA-m2ch-h84r-p9r6",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-49000",
        "https://github.com/inventree/InvenTree/commit/0826a75ef6dde0ad96d680f52a9cf171ba2ce98b"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-770"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49000.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-49000",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495596,
  "published_at": "2025-06-03T20:54:27.744+00:00"
}