UBUNTU-CVE-2025-4565 (CVE-2025-4565)

Vulnerability from osv_ubuntu – Published: 2025-06-16 15:15 – Updated: 2026-04-22 07:53 – Source website
VLAI
Details

Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17838beda2943d08b8a9d4df5b68f5f04f26d901


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          },
          {
            "binary_name": "libprotobuf-lite8",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          },
          {
            "binary_name": "libprotobuf8",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          },
          {
            "binary_name": "libprotoc8",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          },
          {
            "binary_name": "python-protobuf",
            "binary_version": "2.5.0-9ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@2.5.0-9ubuntu1+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.1-3ubuntu2",
        "2.4.1-3ubuntu3",
        "2.4.1-3ubuntu4",
        "2.5.0-5ubuntu2",
        "2.5.0-7ubuntu1",
        "2.5.0-8ubuntu1",
        "2.5.0-9ubuntu1",
        "2.5.0-9ubuntu1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          },
          {
            "binary_name": "libprotobuf-lite9v5",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          },
          {
            "binary_name": "libprotobuf9v5",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          },
          {
            "binary_name": "libprotoc9v5",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          },
          {
            "binary_name": "python-protobuf",
            "binary_version": "2.6.1-1.3ubuntu0.1~esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@2.6.1-1.3ubuntu0.1~esm4?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.6.1-1.3ubuntu0.1~esm4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.6.1-1.2",
        "2.6.1-1.3",
        "2.6.1-1.3ubuntu0.1~esm1",
        "2.6.1-1.3ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "libprotobuf-lite10",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "libprotobuf10",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "libprotoc10",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "python-protobuf",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          },
          {
            "binary_name": "python3-protobuf",
            "binary_version": "3.0.0-9.1ubuntu1.1+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@3.0.0-9.1ubuntu1.1+esm3?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.0-9.1ubuntu1.1+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.0-9ubuntu5",
        "3.0.0-9ubuntu6",
        "3.0.0-9.1ubuntu1",
        "3.0.0-9.1ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "libprotobuf-lite17",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "libprotobuf17",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "libprotoc17",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "python-protobuf",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "python3-protobuf",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          },
          {
            "binary_name": "ruby-google-protobuf",
            "binary_version": "3.6.1.3-2ubuntu5.2+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@3.6.1.3-2ubuntu5.2+esm2?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6.1.3-2ubuntu5.2+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6.1.3-2",
        "3.6.1.3-2ubuntu1",
        "3.6.1.3-2ubuntu3",
        "3.6.1.3-2ubuntu4",
        "3.6.1.3-2ubuntu5",
        "3.6.1.3-2ubuntu5.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "elpa-protobuf-mode",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "libprotobuf-lite23",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "libprotobuf23",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "libprotoc23",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "python3-protobuf",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          },
          {
            "binary_name": "ruby-google-protobuf",
            "binary_version": "3.12.4-1ubuntu7.22.04.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@3.12.4-1ubuntu7.22.04.4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.12.4-1ubuntu7.22.04.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.12.4-1ubuntu3",
        "3.12.4-1ubuntu5",
        "3.12.4-1ubuntu6",
        "3.12.4-1ubuntu7",
        "3.12.4-1ubuntu7.22.04.1",
        "3.12.4-1ubuntu7.22.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "elpa-protobuf-mode",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "libprotobuf-java",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "libprotobuf-lite32t64",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "libprotobuf32t64",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "libprotoc32t64",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "php-google-protobuf",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "protobuf-compiler",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "python3-protobuf",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          },
          {
            "binary_name": "ruby-google-protobuf",
            "binary_version": "3.21.12-8.2ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "protobuf",
        "purl": "pkg:deb/ubuntu/protobuf@3.21.12-8.2ubuntu0.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.21.12-8.2ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.21.12-7ubuntu1",
        "3.21.12-8ubuntu1",
        "3.21.12-8ubuntu5",
        "3.21.12-8.2",
        "3.21.12-8.2build1",
        "3.21.12-8.2ubuntu0.1"
      ]
    }
  ],
  "aliases": [],
  "details": "Any project that uses Protobuf Pure-Python backend\u00a0to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP\u00a0tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =\u003e6.31.1 or beyond commit\u00a017838beda2943d08b8a9d4df5b68f5f04f26d901",
  "id": "UBUNTU-CVE-2025-4565",
  "modified": "2026-04-22T07:53:18Z",
  "published": "2025-06-16T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-4565"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-4565"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7629-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7629-2"
    }
  ],
  "related": [
    "USN-7629-1",
    "USN-7629-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-4565"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.