{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-116273",
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "state": "PUBLISHED",
        "assignerShortName": "CPANSec",
        "dateReserved": "2026-10-25T18:05:02.236Z",
        "datePublished": "2026-10-28T17:34:44.660Z",
        "dateUpdated": "2026-10-28T17:34:44.660Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://cpan.org/modules",
                    "defaultStatus": "unaffected",
                    "modules": [
                        "MIME::Parser"
                    ],
                    "packageName": "MIME-tools",
                    "packageURL": "pkg:cpan/MIME-tools",
                    "programFiles": [
                        "lib/MIME/Parser.pm"
                    ],
                    "programRoutines": [
                        {
                            "name": "MIME::Parser::init"
                        },
                        {
                            "name": "MIME::Parser::process_part"
                        }
                    ],
                    "repo": "https://salsa.debian.org/dskoll/mime-tools",
                    "versions": [
                        {
                            "lessThan": "5.521",
                            "status": "affected",
                            "version": "0",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "MIME::Parser versions before 5.521 for Perl set no limit on the number of message parts by default, allowing memory exhaustion.\n\nThe max_parts option defaulted to -1, which disables the limit, so a parser created with default settings builds an entity for every part however many a message has.\n\nVersion 5.521 sets max_parts to 1000 and max_depth to 64 by default. Setting either to -1 still removes the limit."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1188",
                            "description": "CWE-1188 Initialization of a Resource with an Insecure Default",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-770",
                            "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
                "shortName": "CPANSec",
                "dateUpdated": "2026-10-28T17:34:44.660Z"
            },
            "references": [
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://metacpan.org/release/DSKOLL/MIME-tools-5.521/changes"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to MIME-tools 5.521 or later."
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "MIME::Parser versions before 5.521 for Perl set no limit on the number of message parts by default, allowing memory exhaustion",
            "x_generator": {
                "engine": "cpansec-cna-tool 0.1"
            }
        }
    }
}