{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-140252",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-30T22:04:22.619Z",
        "datePublished": "2026-12-01T18:31:37.758Z",
        "dateUpdated": "2026-12-01T22:16:59.154Z"
    },
    "containers": {
        "cna": {
            "title": "node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-667",
                            "lang": "en",
                            "description": "CWE-667: Improper Locking",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-696",
                            "lang": "en",
                            "description": "CWE-696: Incorrect Behavior Order",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-911",
                            "lang": "en",
                            "description": "CWE-911: Improper Update of Reference Count",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "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:N/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgm",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgm"
                },
                {
                    "name": "https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2"
                },
                {
                    "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": ">= 7.5.22, < 8.0.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-01T18:31:37.758Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default asynchronous API and file-based synchronous API are not affected. This issue is fixed in version 8.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-25mm-r35j-6hgm",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-25mm-r35j-6hgm",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-01T22:16:36.791240Z",
                                "id": "CVE-2026-140252",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-01T22:16:59.154Z"
                }
            }
        ]
    }
}