Skip to content
Heist/ feed
Back to feed
Medium

libkcapi — security advisory

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

A flaw was found in libkcapi. When performing one-shot symmetric cipher operations on large inputs (over 64 KiB) in stateful modes such as Counter (CTR) or Cipher Block Chaining (CBC), the library improperly reuses the Initialization Vector (IV) for each internal data chunk. A remote attacker could potentially exploit this by making an application that uses libkcapi process specially crafted large inputs. This can lead to a significant weakening of data confidentiality, as the repeated IV use can expose relationships in encrypted plaintext, and may also affect data integrity by causing incorrect cryptographic processing.

Products
libkcapi
Affected versions
0.13.0-0ubuntu1~ppa1, 0.13.0-0ubuntu1~ppa2, 1.0.0-2, 1.0.1-1, 1.0.2-1, 1.0.3-2, 1.0.3-2fips3, 1.1.3-1, 1.1.5-1, 1.1.5-1fips1, 1.2.1-1, 1.3.1-1, 1.3.1-2, 1.3.1-3, 1.4.0-1, 1.4.0-1ubuntu0.1~Fips1, 1.4.0-1ubuntu3, 1.4.0-1ubuntu4, 1.4.0-1ubuntu5
Fixed versions
Not specified
CVEs
CVE-2026-71225
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:14 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-71225

core-osv · Original source

Published 5 Aug 2026, 13:24 UTC

A flaw was found in libkcapi. When performing one-shot symmetric cipher operations on large inputs (over 64 KiB) in stateful modes such as Counter (CTR) or Cipher Block Chaining (CBC), the library improperly reuses the Initialization Vector (IV) for each internal data chunk. A remote attacker could potentially exploit this by making an application that uses libkcapi process specially crafted large inputs. This can lead to a significant weakening of data confidentiality, as the repeated IV use can expose relationships in encrypted plaintext, and may also affect data integrity by causing incorrect cryptographic processing.

osv:UBUNTU-CVE-2026-71225

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

libkcapi

Fixed versions: Not specified

Complete source record
{
  "id": "58be83f830bc9f7e471da2b19e9a4496d9a0e837d284c714770995e08cae42ce",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-71225",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-71225",
    "summary": "A flaw was found in libkcapi. When performing one-shot symmetric cipher operations on large inputs (over 64 KiB) in stateful modes such as Counter (CTR) or Cipher Block Chaining (CBC), the library improperly reuses the Initialization Vector (IV) for each internal data chunk. A remote attacker could potentially exploit this by making an application that uses libkcapi process specially crafted large inputs. This can lead to a significant weakening of data confidentiality, as the repeated IV use can expose relationships in encrypted plaintext, and may also affect data integrity by causing incorrect cryptographic processing.",
    "evidence": "osv:UBUNTU-CVE-2026-71225",
    "products": [
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.13.0-0ubuntu1~ppa1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.13.0-0ubuntu1~ppa2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.13.0-0ubuntu1~ppa1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.13.0-0ubuntu1~ppa2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.3-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.3-2fips3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.3-2fips3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.3-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.1.5-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.5-1fips1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.5-1fips1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.1-1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "1.3.1-1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "1.3.1-2",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "1.3.1-3",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "1.4.0-1",
            "evidence": "/affected/8/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/9/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.0-1ubuntu0.1~Fips1",
            "evidence": "/affected/9/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/10/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.0-1ubuntu0.1~Fips1",
            "evidence": "/affected/10/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/11/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.0-1ubuntu3",
            "evidence": "/affected/11/versions"
          },
          {
            "value": "1.4.0-1ubuntu4",
            "evidence": "/affected/11/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/12/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.0-1ubuntu5",
            "evidence": "/affected/12/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libkcapi",
          "evidence": "/affected/13/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.0-1ubuntu4",
            "evidence": "/affected/13/versions"
          },
          {
            "value": "1.4.0-1ubuntu5",
            "evidence": "/affected/13/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-71225",
      "aliases": [
        "UBUNTU-CVE-2026-71225"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips-updates%2Fxenial",
            "ecosystem": "Ubuntu:Pro:FIPS-updates:16.04:LTS"
          },
          "versions": [
            "0.13.0-0ubuntu1~ppa1",
            "0.13.0-0ubuntu1~ppa2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libkcapi-bin",
                "binary_version": "0.13.0-0ubuntu1~ppa2"
              },
              {
                "binary_name": "libkcapi0",
                "binary_version": "0.13.0-0ubuntu1~ppa2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips%2Fxenial",
            "ecosystem": "Ubuntu:Pro:FIPS:16.04:LTS"
          },
          "versions": [
            "0.13.0-0ubuntu1~ppa1",
            "0.13.0-0ubuntu1~ppa2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libkcapi-bin",
                "binary_version": "0.13.0-0ubuntu1~ppa2"
              },
              {
                "binary_name": "libkcapi0",
                "binary_version": "0.13.0-0ubuntu1~ppa2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.0.0-2",
            "1.0.1-1",
            "1.0.2-1",
            "1.0.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.0.3-2"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.0.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips-updates%2Fbionic",
            "ecosystem": "Ubuntu:Pro:FIPS-updates:18.04:LTS"
          },
          "versions": [
            "1.0.3-2fips3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.0.3-2fips3"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.0.3-2fips3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips%2Fbionic",
            "ecosystem": "Ubuntu:Pro:FIPS:18.04:LTS"
          },
          "versions": [
            "1.0.3-2fips3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.0.3-2fips3"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.0.3-2fips3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.1.3-1",
            "1.1.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.1.5-1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.1.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips-updates%2Ffocal",
            "ecosystem": "Ubuntu:Pro:FIPS-updates:20.04:LTS"
          },
          "versions": [
            "1.1.5-1fips1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.1.5-1fips1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.1.5-1fips1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips%2Ffocal",
            "ecosystem": "Ubuntu:Pro:FIPS:20.04:LTS"
          },
          "versions": [
            "1.1.5-1fips1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.1.5-1fips1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.1.5-1fips1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.2.1-1",
            "1.3.1-1",
            "1.3.1-2",
            "1.3.1-3",
            "1.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips-preview%2Fjammy",
            "ecosystem": "Ubuntu:Pro:FIPS-preview:22.04:LTS"
          },
          "versions": [
            "1.4.0-1ubuntu0.1~Fips1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1ubuntu0.1~Fips1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1ubuntu0.1~Fips1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=fips-updates%2Fjammy",
            "ecosystem": "Ubuntu:Pro:FIPS-updates:22.04:LTS"
          },
          "versions": [
            "1.4.0-1ubuntu0.1~Fips1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1ubuntu0.1~Fips1"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1ubuntu0.1~Fips1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.4.0-1ubuntu3",
            "1.4.0-1ubuntu4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1ubuntu4"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1ubuntu4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.4.0-1ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1ubuntu5"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libkcapi",
            "purl": "pkg:deb/ubuntu/libkcapi?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.4.0-1ubuntu4",
            "1.4.0-1ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71225.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "kcapi-tools",
                "binary_version": "1.4.0-1ubuntu5"
              },
              {
                "binary_name": "libkcapi1",
                "binary_version": "1.4.0-1ubuntu5"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:44.809494035Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-71225"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-71225",
        "https://www.cve.org/CVERecord?id=CVE-2026-71225",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2462011",
        "https://access.redhat.com/security/cve/CVE-2026-71225"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-71225",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360810,
  "published_at": "2026-08-05T13:24:00+00:00"
}