ubuntu-cve-2026-13757
Vulnerability from osv_ubuntu
Published
2026-06-29 19:16
Modified
2026-07-01 21:19
Summary
Details

A flaw was found in p11-kit. The RPC message attribute parsing functions p11_rpc_message_get_attribute() and p11_rpc_message_get_attribute_array_value() form a mutually-recursive call chain with no recursion depth limit when processing nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, and CKA_DERIVE_TEMPLATE attributes. An unauthenticated attacker with local access to the p11-kit RPC Unix domain socket can send a specially crafted request with deeply nested template attributes, causing stack exhaustion and crashing the p11-kit server process and its dependent services.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.20.2-2ubuntu2+esm1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.20.2-2ubuntu2+esm1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.20.2-2ubuntu2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.20.2-2ubuntu2+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.18.3-2ubuntu1",
        "0.20.1-2ubuntu1",
        "0.20.2-1ubuntu1",
        "0.20.2-1ubuntu2",
        "0.20.2-2ubuntu1",
        "0.20.2-2ubuntu2",
        "0.20.2-2ubuntu2+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.23.2-5~ubuntu16.04.2"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.23.2-5~ubuntu16.04.2"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.23.2-5~ubuntu16.04.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.23.2-5~ubuntu16.04.2?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.23.1-3",
        "0.23.2-2",
        "0.23.2-3",
        "0.23.2-5~ubuntu16.04.1",
        "0.23.2-5~ubuntu16.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.23.9-2ubuntu0.1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.23.9-2ubuntu0.1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.23.9-2ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.23.9-2ubuntu0.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.23.7-3",
        "0.23.9-2",
        "0.23.9-2ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.23.20-1ubuntu0.1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.23.20-1ubuntu0.1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.23.20-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.23.20-1ubuntu0.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.23.17-2",
        "0.23.18.1-2",
        "0.23.19-2",
        "0.23.20-1",
        "0.23.20-1build1",
        "0.23.20-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.24.0-6build1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.24.0-6build1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.24.0-6build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.24.0-6build1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.23.22-1build1",
        "0.24.0-5",
        "0.24.0-6",
        "0.24.0-6build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.25.3-4ubuntu2.1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.25.3-4ubuntu2.1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.25.3-4ubuntu2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.25.3-4ubuntu2.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.25.0-4ubuntu1",
        "0.25.3-2ubuntu2",
        "0.25.3-4ubuntu1",
        "0.25.3-4ubuntu2",
        "0.25.3-4ubuntu2.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.25.5-3ubuntu1"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.25.5-3ubuntu1"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.25.5-3ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.25.5-3ubuntu1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.25.5-2ubuntu3",
        "0.25.5-3ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libp11-kit0",
            "binary_version": "0.26.2-2"
          },
          {
            "binary_name": "p11-kit",
            "binary_version": "0.26.2-2"
          },
          {
            "binary_name": "p11-kit-modules",
            "binary_version": "0.26.2-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "p11-kit",
        "purl": "pkg:deb/ubuntu/p11-kit@0.26.2-2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.25.5-3ubuntu1",
        "0.25.9-2",
        "0.25.10-1",
        "0.25.10-1ubuntu1",
        "0.26.2-2"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in p11-kit. The RPC message attribute parsing functions p11_rpc_message_get_attribute() and p11_rpc_message_get_attribute_array_value() form a mutually-recursive call chain with no recursion depth limit when processing nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, and CKA_DERIVE_TEMPLATE attributes. An unauthenticated attacker with local access to the p11-kit RPC Unix domain socket can send a specially crafted request with deeply nested template attributes, causing stack exhaustion and crashing the p11-kit server process and its dependent services.",
  "id": "UBUNTU-CVE-2026-13757",
  "modified": "2026-07-01T21:19:39Z",
  "published": "2026-06-29T19:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-13757"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-13757"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2026-13757"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-13757"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…