Affected versions
Ubuntu20.04:LTS/pypy3
- Affected versions
- * || =7.1.1+dfsg-1 || =7.2.0+dfsg-1 || =7.3.0+dfsg-1 || =7.3.0+dfsg-1ubuntu2 || =7.3.0+dfsg-1ubuntu3 || =7.3.1+dfsg-4 || =7.3.1+dfsg-4ubuntu0.1
- Fixed version
- Not reported
Ubuntu22.04:LTS/pypy3
- Affected versions
- * || =7.3.5+dfsg-2 || =7.3.7+dfsg-1 || =7.3.7+dfsg-4 || =7.3.7+dfsg-5 || =7.3.8+dfsg-2 || =7.3.9+dfsg-1 || =7.3.9+dfsg-1ubuntu0.1
- Fixed version
- Not reported
Ubuntu22.04:LTS/python3.10
- Affected versions
- Unknown
- Fixed version
- 3.10.12-1~22.04.16
Ubuntu24.04:LTS/pypy3
- Affected versions
- * || =7.3.12+dfsg-1 || =7.3.13+dfsg-1 || =7.3.14+dfsg-1 || =7.3.15+dfsg-1 || =7.3.15+dfsg-1build2 || =7.3.15+dfsg-1build3
- Fixed version
- Not reported
Ubuntu24.04:LTS/python3.12
- Affected versions
- <3.12.3-1ubuntu0.15 || =3.12.0-1 || =3.12.0-5 || =3.12.0-6 || =3.12.0-7 || =3.12.1-2 || =3.12.2-1 || =3.12.2-4build3 || =3.12.2-4build4 || =3.12.2-5ubuntu3 || =3.12.3-1 || =3.12.3-1ubuntu0.1 || =3.12.3-1ubuntu0.2 || =3.12.3-1ubuntu0.3 || =3.12.3-1ubuntu0.4 || =3.12.3-1ubuntu0.5 || =3.12.3-1ubuntu0.6 || =3.12.3-1ubuntu0.7 || =3.12.3-1ubuntu0.8 || =3.12.3-1ubuntu0.9 || =3.12.3-1ubuntu0.10 || =3.12.3-1ubuntu0.11 || =3.12.3-1ubuntu0.12 || =3.12.3-1ubuntu0.13
- Fixed version
- 3.12.3-1ubuntu0.15
Ubuntu25.10/pypy3
- Affected versions
- * || =7.3.19+dfsg-1 || =7.3.19+dfsg-2 || =7.3.20+dfsg-1 || =7.3.20+dfsg-3
- Fixed version
- Not reported
Ubuntu25.10/python3.13
- Affected versions
- * || =3.13.3-1 || =3.13.3-2 || =3.13.3-4 || =3.13.4-1 || =3.13.5-1 || =3.13.5-2 || =3.13.6-1 || =3.13.7-1 || =3.13.7-1ubuntu0.1 || =3.13.7-1ubuntu0.2 || =3.13.7-1ubuntu0.3 || =3.13.7-1ubuntu0.4
- Fixed version
- Not reported
Ubuntu25.10/python3.14
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu26.04:LTS/pypy3
- Affected versions
- * || =7.3.20+dfsg-3 || =7.3.20+dfsg-4
- Fixed version
- Not reported
Ubuntu26.04:LTS/python3.14
- Affected versions
- <3.14.3-1 || =3.14.0-1 || =3.14.0-2 || =3.14.0-4 || =3.14.2-1
- Fixed version
- 3.14.3-1
Ubuntu26.10/pypy3
- Affected versions
- * || =7.3.20+dfsg-4 || =7.3.23+dfsg-1ubuntu1
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/python2.7
- Affected versions
- * || =2.7.5-8ubuntu3 || =2.7.5-8ubuntu4 || =2.7.6-2 || =2.7.6-2ubuntu1 || =2.7.6-3 || =2.7.6-3ubuntu1 || =2.7.6-4 || =2.7.6-4ubuntu1 || =2.7.6-5 || =2.7.6-7 || =2.7.6-8 || =2.7.6-8ubuntu0.2 || =2.7.6-8ubuntu0.3 || =2.7.6-8ubuntu0.4 || =2.7.6-8ubuntu0.5 || =2.7.6-8ubuntu0.6+esm2 || =2.7.6-8ubuntu0.6+esm3 || =2.7.6-8ubuntu0.6+esm5 || =2.7.6-8ubuntu0.6+esm6 || =2.7.6-8ubuntu0.6+esm7 || =2.7.6-8ubuntu0.6+esm8 || =2.7.6-8ubuntu0.6+esm9 || =2.7.6-8ubuntu0.6+esm10 || =2.7.6-8ubuntu0.6+esm11 || =2.7.6-8ubuntu0.6+esm12 || =2.7.6-8ubuntu0.6+esm13 || =2.7.6-8ubuntu0.6+esm14 || =2.7.6-8ubuntu0.6+esm15 || =2.7.6-8ubuntu0.6+esm16 || =2.7.6-8ubuntu0.6+esm17 || =2.7.6-8ubuntu0.6+esm18 || =2.7.6-8ubuntu0.6+esm20 || =2.7.6-8ubuntu0.6+esm21 || =2.7.6-8ubuntu0.6+esm22 || =2.7.6-8ubuntu0.6+esm24 || =2.7.6-8ubuntu0.6+esm25 || =2.7.6-8ubuntu0.6+esm26 || =2.7.6-8ubuntu0.6+esm28 || =2.7.6-8ubuntu0.6+esm29 || =2.7.6-8ubuntu0.6+esm30
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/python3.4
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/python3.5
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/python2.7
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/python3.5
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/python2.7
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/python3.6
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/python3.7
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/python3.8
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/python2.7
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/python3.8
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/python3.9
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:22.04:LTS/python3.11
- Affected versions
- Unknown
- Fixed version
- Not reported
Description
The email module, specifically the "BytesGenerator" class, didn’t properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. This is only applicable if using "LiteralHeader" writing headers that don't respect email folding rules, the new behavior will reject the incorrectly folded headers in "BytesGenerator".

