Advisory

UBUNTU-CVE-2026-1299

Also known as: CVE-2026-1299

Summary

The record has no summary.

Details

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".

Severity

Not rated by the source.

Dates

Published
2026-01-23 17:16 UTC
Modified
2026-11-17 18:21 UTC

Affected packages and fixes

11 affected packages
PackageSystemAffectedFix
pypy3Debian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
pypy3Debian packages (deb) · Ubuntu 22.04introduced 0No fixed version is listed.
python3.10Debian packages (deb) · Ubuntu 22.04Earlier versionssudo apt-get update && sudo apt-get upgrade
pypy3Debian packages (deb) · Ubuntu 24.04introduced 0No fixed version is listed.
python3.12Debian packages (deb) · Ubuntu 24.04Earlier versionssudo apt-get update && sudo apt-get upgrade
pypy3Debian packages (deb) · Ubuntu 25.10introduced 0No fixed version is listed.
python3.13Debian packages (deb) · Ubuntu 25.10introduced 0No fixed version is listed.
python3.14Debian packages (deb) · Ubuntu 25.10introduced 0No fixed version is listed.
pypy3Debian packages (deb) · Ubuntu 26.10introduced 0No fixed version is listed.
pypy3Debian packages (deb) · Ubuntu 26.04introduced 0No fixed version is listed.
python3.14Debian packages (deb) · Ubuntu 26.04Earlier versionssudo apt-get update && sudo apt-get upgrade

Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences