Skip to content
Heist/ feed
Back to feed
Medium

python-icalendar — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-77399

icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 6.1.0 until 7.2.2, vInt.from_ical accepts an attacker-controlled VALARM REPEAT value and applications that request alarm times can eagerly expand it without an application-level limit. Alarms.times and Alarms.active reach the unbounded expansion in versions starting with 6.1.0, while Alarm.triggers adds a second affected path starting with 7.0.0. Parsing alone does not trigger the issue, but accessing these properties can consume excessive CPU time and heap memory and terminate or stall a service. This issue is fixed in version 7.2.2.

Products
python-icalendar
Affected versions
3.11.7-3, 3.8-1, 3.8-2, 4.0.0-1, 4.0.3-3, 4.0.3-4, 5.0.11-1, 5.0.7-1, 6.0.1-3, 6.3.1-1, 6.3.1-2
Fixed versions
Not specified
CVEs
CVE-2026-77399
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:19 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-77399

core-osv · Original source

Published 22 Sept 2026, 19:16 UTC

icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 6.1.0 until 7.2.2, vInt.from_ical accepts an attacker-controlled VALARM REPEAT value and applications that request alarm times can eagerly expand it without an application-level limit. Alarms.times and Alarms.active reach the unbounded expansion in versions starting with 6.1.0, while Alarm.triggers adds a second affected path starting with 7.0.0. Parsing alone does not trigger the issue, but accessing these properties can consume excessive CPU time and heap memory and terminate or stall a service. This issue is fixed in version 7.2.2.

osv:UBUNTU-CVE-2026-77399

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

python-icalendar

Fixed versions: Not specified

Complete source record
{
  "id": "f3013e5f292f0e3fa4f077ed1b9121bf0fd049087c6ce82dca1500e854c64888",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-77399",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-77399",
    "summary": "icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 6.1.0 until 7.2.2, vInt.from_ical accepts an attacker-controlled VALARM REPEAT value and applications that request alarm times can eagerly expand it without an application-level limit. Alarms.times and Alarms.active reach the unbounded expansion in versions starting with 6.1.0, while Alarm.triggers adds a second affected path starting with 7.0.0. Parsing alone does not trigger the issue, but accessing these properties can consume excessive CPU time and heap memory and terminate or stall a service. This issue is fixed in version 7.2.2.",
    "evidence": "osv:UBUNTU-CVE-2026-77399",
    "products": [
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.8-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.8-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.11.7-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "4.0.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.0.3-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.0.3-4",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.0.3-4",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.0.7-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.0.11-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.3.1-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-icalendar",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.0.1-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "6.3.1-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "6.3.1-2",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-77399",
      "aliases": [
        "UBUNTU-CVE-2026-77399"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "3.8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-icalendar",
                "binary_version": "3.8-1"
              },
              {
                "binary_name": "python3-icalendar",
                "binary_version": "3.8-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.8-2",
            "3.11.7-3",
            "4.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python-icalendar",
                "binary_version": "4.0.0-1"
              },
              {
                "binary_name": "python3-icalendar",
                "binary_version": "4.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.0.3-3",
            "4.0.3-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-icalendar",
                "binary_version": "4.0.3-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.0.3-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-icalendar",
                "binary_version": "4.0.3-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "5.0.7-1",
            "5.0.11-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-icalendar",
                "binary_version": "5.0.11-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "6.3.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-icalendar",
                "binary_version": "6.3.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-icalendar",
            "purl": "pkg:deb/ubuntu/python-icalendar?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "6.0.1-3",
            "6.3.1-1",
            "6.3.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77399.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-icalendar",
                "binary_version": "6.3.1-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:07.839488067Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-77399"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-77399",
        "https://www.cve.org/CVERecord?id=CVE-2026-77399",
        "https://github.com/collective/icalendar/commit/157f85137c65565a308bbcf4fdcc7d8ebce01267",
        "https://github.com/collective/icalendar/commit/cddd37226adbc52cca52a399f61d38a378221219",
        "https://github.com/collective/icalendar/pull/1571",
        "https://github.com/collective/icalendar/releases/tag/v7.2.2",
        "https://github.com/collective/icalendar/security/advisories/GHSA-qjcq-q7h7-r74v"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-77399",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361037,
  "published_at": "2026-09-22T19:16:00+00:00"
}