{"schema":"threatline.record/2","record":{"id":"CVE-2026-87776","aliases":["GHSA-vc2v-76pw-4v95"],"summary":"compression vulnerable to Denial of Service via memory leak on premature response close","details":"### Impact\n\nA vulnerability in compression `< 1.8.2` allows an attacker to trigger a Denial of Service (DoS) by disconnecting while a compressed response is being sent. When the client aborts the connection before the response finishes, the zlib stream created to compress that response is never destroyed, so each aborted compressed response leaks its native zlib memory. Repeated aborted requests can exhaust available memory. All applications using compression are affected.\n\n### Patches\n\nUsers should upgrade to `1.8.2`.\n\n### Workarounds\n\nNone.","categories":["Libraries & packages"],"product":"compression","vendor":"compression","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vc2v-76pw-4v95","source_modified_at":"2026-10-05T23:28:02Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"compression"},"range":"< 1.8.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-87776","source_modified_at":"2026-09-11T13:36:30.531Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"compression","vendor":"compression","versions":[{"versionType":"semver","status":"affected","version":"0","lessThan":"1.8.2"},{"versionType":"semver","status":"unaffected","version":"1.8.2"}],"defaultStatus":"unaffected"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-vc2v-76pw-4v95","source_modified_at":"2026-10-05T23:45:07.378615963Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"compression","purl":"pkg:npm/compression"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"1.8.2"}],"type":"SEMVER"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-vc2v-76pw-4v95","source_modified_at":"2026-10-05T23:28:02Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"compression"},"version":"1.8.2"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-87776","source_modified_at":"2026-09-11T13:36:30.531Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"compression","ecosystem":null},"version":"1.8.2","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-vc2v-76pw-4v95","source_modified_at":"2026-10-05T23:45:07.378615963Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"compression","purl":"pkg:npm/compression"},"version":"1.8.2"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00477,"percentile":0.40277,"score_date":"2026-10-23"},"published_at":"2026-09-11T11:24:55.150Z","modified_at":"2026-10-05T23:45:07.378615963Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-vc2v-76pw-4v95","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T23:28:02Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-87776","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-11T13:36:30.531Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-vc2v-76pw-4v95","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-05T23:45:07.378615963Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-87776","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/expressjs/compression/security/advisories/GHSA-vc2v-76pw-4v95"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87776","source":"GitHub Advisory Database"},{"url":"https://github.com/expressjs/compression/commit/151f63e91e1b64f8fb0b064e19321a4f28db6bff","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://cna.openjsf.org/security-advisories.html"},{"url":"https://github.com/expressjs/compression/releases/tag/v1.8.2","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-vc2v-76pw-4v95","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-09-11T13:30:04.865391Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-05T23:45:07.378615963Z","content_hash":"c4f3cf893cbb8d9bc721519a7cdbbeb4de084b6425d85f670057c554ceb4b390"}}
