{"id":"CVE-2026-121946","summary":"zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 CRLF Header Injection via Message Builders","details":"zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 contains a CRLF header injection vulnerability in message-building helpers that fail to strip CR and LF characters. Attackers supplying crafted MIME type, charset, encoding, micalg, or protocol values can inject extra header lines such as a forged Bcc into outgoing messages.","aliases":["GHSA-gmgm-r6fh-fq6g"],"modified":"2026-11-14T02:31:06.806632187Z","published":"2026-11-04T12:31:23.166Z","database_specific":{"cwe_ids":["CWE-93"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121946.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121946.json"},{"type":"ADVISORY","url":"https://github.com/zbateson/mail-mime-parser/security/advisories/GHSA-gmgm-r6fh-fq6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121946"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/zbateson-mail-mime-parser-before-3.0.9-and-4-x-before-4.0.6-crlf-header-injection-via-message-builders"},{"type":"FIX","url":"https://github.com/zbateson/mail-mime-parser/commit/1fa840ef367958e991e6840b4e3ffd41aca9d147"},{"type":"FIX","url":"https://github.com/zbateson/mail-mime-parser/commit/b032920875c6cb35bb2ddd7abfd7e98608d75bc0"},{"type":"FIX","url":"https://github.com/zbateson/mail-mime-parser/commit/c31c62ccc3e66a7a7da0d79954ef83807f9daa20"},{"type":"FIX","url":"https://github.com/zbateson/mail-mime-parser/commit/f385b2923023a9a7b69003468e363a4661f1c85a"},{"type":"PACKAGE","url":"https://github.com/zbateson/mail-mime-parser"},{"type":"ARTICLE","url":"https://github.com/zbateson/mail-mime-parser/blob/4.0.5/src/Message/Helper/MultipartHelper.php#L270-L273"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zbateson/mail-mime-parser","events":[{"introduced":"53e4d6cf462df729e5781f14c38b44f41cc32e20"},{"fixed":"768ed0bf7a0ab0efbd78e7d34b7fa04bc603b830"},{"introduced":"f747eae5975ba533d722ea568daeb6762b7d0dae"},{"fixed":"f7d3c271536a8b3d50dc3a942de8f56282629bb8"},{"fixed":"f385b2923023a9a7b69003468e363a4661f1c85a"},{"fixed":"1fa840ef367958e991e6840b4e3ffd41aca9d147"},{"fixed":"c31c62ccc3e66a7a7da0d79954ef83807f9daa20"},{"fixed":"b032920875c6cb35bb2ddd7abfd7e98608d75bc0"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0.3.0"},{"fixed":"3.0.9"}]},{"range":[{"introduced":"4.0.0"},{"fixed":"4.0.6"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"f385b2923023a9a7b69003468e363a4661f1c85a"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"1fa840ef367958e991e6840b4e3ffd41aca9d147"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c31c62ccc3e66a7a7da0d79954ef83807f9daa20"}]},{"range":[{"fixed":"b032920875c6cb35bb2ddd7abfd7e98608d75bc0"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["3.0.8","4.0.5","4.0.4","3.0.7","3.0.6","4.0.3","4.0.2","4.0.1","3.0.5","4.0.0","3.0.4","3.0.3","3.0.1","3.0.0","3.0.0-beta.2","3.0.0-beta","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.1.1","2.1.0","2.0.1","2.0.0","1.3.2","1.3.1","1.3.0","1.2.3","1.2.2","1.2.1","1.2.0","1.1.8","1.1.7","1.1.6","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.0","1.0-beta","1.0-alpha.2","1.0-alpha","0.4.10","0.4.9","0.4.8","0.4.7","0.4.6","0.4.5","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.3","0.3.2","0.3.1","0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121946.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}