{"id":"GHSA-hpwf-8g29-85qm","revision":"2dde1b01911f4d25b35089cc7fb4200a","records":[{"revision":"2dde1b01911f4d25b35089cc7fb4200a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hpwf-8g29-85qm","aliases":["CVE-2026-40879"],"title":"Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)","description":"### Impact\nAttacker sends many small, valid JSON messages in one TCP frame\n → handleData() recurses once per message; buffer shrinks each call\n → maxBufferSize is never reached; call stack overflows instead\n → A ~47 KB payload is sufficient to trigger RangeError\n\n### Patches\n\nFixed in `@nestjs/microservices@11.1.19`\n\n### References\n\nDiscovered by https://github.com/hwpark6804-gif","state":0,"publishedAt":"2026-04-14T00:15:09+00:00","modifiedAt":"2026-05-05T16:07:32.834605+00:00","affected":[{"ecosystem":"npm","name":"@nestjs/microservices","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"11.1.19"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm","https://nvd.nist.gov/vuln/detail/CVE-2026-40879","https://github.com/nestjs/nest"],"sourceUrl":"https://github.com/advisories/GHSA-hpwf-8g29-85qm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hpwf-8g29-85qm","identifiers":["GHSA-hpwf-8g29-85qm","CVE-2026-40879"]},"retained":false,"historicalAffected":[]}],"coverage":[]}