{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-140234",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-30T22:04:22.617Z",
        "datePublished": "2026-12-01T17:09:39.092Z",
        "dateUpdated": "2026-12-01T17:09:39.092Z"
    },
    "containers": {
        "cna": {
            "title": "node-tar: `/\\0.*/` truncation stops at `\\n`, `\\r`, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-158",
                            "lang": "en",
                            "description": "CWE-158: Improper Neutralization of Null Byte or NUL Character",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/isaacs/node-tar/security/advisories/GHSA-wpwg-r92p-fjjh",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-wpwg-r92p-fjjh"
                },
                {
                    "name": "https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237"
                },
                {
                    "name": "https://github.com/isaacs/node-tar/releases/tag/v8.0.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/isaacs/node-tar/releases/tag/v8.0.0"
                }
            ],
            "affected": [
                {
                    "vendor": "isaacs",
                    "product": "node-tar",
                    "versions": [
                        {
                            "version": "< 8.0.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-01T17:09:39.092Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, /\\0.*/ truncation stops at \\n, \\r, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash. In async extraction, a name that still contains a NUL reaches fs and throws, which crashes a process that doesn't catch it. With strip, the surviving characters make node-tar's view of the name differ from other tools'. The affected security path includes /\\0.*/, \\n, \\r. This issue is fixed in version 8.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-wpwg-r92p-fjjh",
                "discovery": "UNKNOWN"
            }
        }
    }
}