Skip to main content
VulnerabilityPublished Updated

CVE-2025-1795: Libpython · Mishandling of comma during folding and unicode-encoding of email headers

Affects libpythonSource GCVE Database

0
Compare
Authoritative record:CVE-2025-1795· Low 2.3

Not known to be exploited · CVSS 2.3 Low · fixed in 3.12.3 : update libpython when convenient.

Data as of 25 Nov 2026, 03:33 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.12.3, 3.11.9, 3.10.17 +1
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade libpython to 3.12.3, 3.11.9, 3.10.17 or 3.9.23.

Affected software

ProductAffectedFixed in
Bitnamilibpythonpkg:bitnami/libpythonOther threatsAffected
  • <3.9.23
  • >=3.10.0 <3.10.17
  • >=3.11.0 <3.11.9
  • >=3.12.0 <3.12.3
Fixed in
  • 3.9.23
  • 3.10.17
  • 3.11.9
  • 3.12.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and has been released in libpython versions 3.9.23, 3.10.17, 3.11.9, and 3.12.3. Users should upgrade to these fixed versions to resolve the issue. No additional mitigation steps are indicated.

Description

A vulnerability in libpython causes the mishandling of commas during folding and unicode-encoding of email headers. Specifically, when a separating comma is placed at the start of a folded line and that line is unicode-encoded, the comma itself is incorrectly unicode-encoded instead of remaining a plain comma. This can lead to misinterpretation of the address header by some mail servers. The issue affects multiple libpython versions and has been fixed in recent releases.

References

Community reviews

Loading reviews…