CVE-2026-45822
Full vulnerability record from the local CVENow database.
Description
decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.
Severity
MEDIUM
CVSS score
6.6
(v4.0)
Vulnerability status
Deferred
Source identifier
22e2d327-25fe-45d7-9f0c-dcd23b7108df
Published
2026-06-30 09:16:25.177000
Last modified
2026-10-25 21:10:00.770000
View original CVE JSON
{
"id": "CVE-2026-45822",
"sourceIdentifier": "22e2d327-25fe-45d7-9f0c-dcd23b7108df",
"published": "2026-06-30T09:16:25.177",
"lastModified": "2026-10-25T21:10:00.770",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input."
},
{
"lang": "es",
"value": "decode-uri-component hasta la versión 0.4.1 es vulnerable a denegación de servicio. La función decode() divide la entrada por ’%’ produciendo N tokens y llama a decodeComponents(), exhibiendo un tiempo de análisis superlineal: 200 tokens ’%ab’ tardan aproximadamente 0.7s, 700 tokens aproximadamente 6s, y 1400 tokens aproximadamente 33s. Un atacante puede causar un consumo significativo de CPU y el bloqueo del bucle de eventos mediante una entrada manipulada."
}
],
"affected": [
{
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df",
"affectedData": [
{
"vendor": "SamVerschueren",
"product": "decode-uri-component",
"defaultStatus": "unaffected",
"platforms": [
"Linux",
"macOS",
"Windows"
],
"versions": [
{
"version": "0.1.0",
"lessThan": "0.5.0",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV40": [
{
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df",
"type": "Secondary",
"cvssData": {
"version": "4.0",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:D/RE:M/U:Amber",
"baseScore": 6.6,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "UNREPORTED",
"confidentialityRequirement": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"availabilityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"Safety": "NEGLIGIBLE",
"Automatable": "YES",
"Recovery": "USER",
"valueDensity": "DIFFUSE",
"vulnerabilityResponseEffort": "MODERATE",
"providerUrgency": "AMBER"
}
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-30T12:49:21.881218Z",
"id": "CVE-2026-45822",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-400"
},
{
"lang": "en",
"value": "CWE-407"
}
]
}
],
"references": [
{
"url": "https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js",
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df"
},
{
"url": "https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005",
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df"
},
{
"url": "https://www.npmjs.com/package/decode-uri-component",
"source": "22e2d327-25fe-45d7-9f0c-dcd23b7108df"
}
]
}