{"id":"CVE-2026-40879","sourceIdentifier":"security-advisories@github.com","published":"2026-04-21T20:17:01.533","lastModified":"2026-06-17T10:45:48.740","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.19, when an attacker sends many small, valid JSON messages in one TCP frame, handleData() recurses once per message; the buffer shrinks each call. maxBufferSize is never reached; call stack overflows instead. A ~47 KB payload is sufficient to trigger RangeError. This vulnerability is fixed in 11.1.19."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"nestjs","product":"nest","versions":[{"version":"< 11.1.19","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-21T19:37:57.073705Z","id":"CVE-2026-40879","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-674"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:*","versionEndExcluding":"11.1.19","matchCriteriaId":"69F1D86B-AA83-40B0-B117-6C9C07E876B1"}]}]}],"references":[{"url":"https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm","source":"security-advisories@github.com","tags":["Vendor Advisory"]}]}