{"id":"DHI-bvof-uf24-kwmg-2sdz","aliases":[],"title":"### Summary","originalDescription":"### Summary When `addressparser` finds no address by its strict reading, it falls back to pulling one out of the free text with `/\\s*\\b[^@\\s]+@[^\\s]+\\b\\s*/`. That pattern backtracks quadratically: `[^@\\s]+` is retried from every offset and rescans the run to the next `@` each time. A single header value holding a long whitespace-free run with no usable `@` blocks the Node.js event loop for tens of seconds. It is cheaper to exploit than GHSA-prgh-xp8r-p3m5: 273KB is enough for ~43s, where the comment-joined shape needed ~1.5MB for ~10s. ### Details The fallback in `src/addressparser/index.ts` ran the pattern as a search. `[^@\\s]+` crosses neither whitespace nor `@`, so from each start offset it scans forward to the next `@` or to the end of the run and then fails, and the engine simply advances one character and repeats. Three shapes make every offset fail: - the run holds no `@` at all - the only `@` has nothing after it - the only `@` has nothing before it A fourth reaches it with a valid address present but placed past a long run, so the long run is walked before the match is found. ### PoC ```js const addressparser = require('nodemailer/lib/addressparser'); const s = Date.now();","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-bvof-uf24-kwmg-2sdz","type":"advisory"},{"url":"https://github.com/advisories/GHSA-v53p-9fqp-m79j","type":"advisory"},{"url":"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-v53p-9fqp-m79j","type":"advisory"},{"url":"https://github.com/nodemailer/nodemailer/commit/437d7fc47403df176bc39271641541b7a9bce102","type":"fix"},{"url":"https://github.com/nodemailer/nodemailer/releases/tag/v10.0.6","type":"web"}],"sources":[{"name":"osv","at":"2026-12-02T15:53:47.862Z","url":"https://osv.dev/vulnerability/DHI-bvof-uf24-kwmg-2sdz","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T21:47:40.483Z"}],"firstSeenAt":"2026-11-19T21:47:40.483Z","publishedAt":"2026-11-19T21:02:33.000Z","modifiedAt":"2026-12-02T15:45:08.364Z"}