Skip to content
Heist/ feed
Back to feed
Medium

libcrypt-argon2-perl — security advisory

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

Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.

Products
libcrypt-argon2-perl
Affected versions
0.013-1, 0.020-1, 0.020-1build1, 0.020-1build2, 0.020-1build3, 0.029-1build1, 0.030-1, 0.031-1, 0.031-1build1
Fixed versions
Not specified
CVEs
CVE-2026-8463
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:23 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-8463

core-osv · Original source

Published 13 May 2026, 14:18 UTC

Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.

osv:UBUNTU-CVE-2026-8463

libcrypt-argon2-perl

Fixed versions: Not specified

libcrypt-argon2-perl

Fixed versions: Not specified

libcrypt-argon2-perl

Fixed versions: Not specified

libcrypt-argon2-perl

Fixed versions: Not specified

Complete source record
{
  "id": "3bb216f8008542b840989e8f190c998eb4a91c0ef1329570431245b7722339fb",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-8463",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-8463",
    "summary": "Crypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded input. The auto-detect form of argon2_verify passes encoded_len - 1 as the length argument to memchr without checking that encoded_len is non-zero. When the encoded string is empty, the size_t subtraction underflows to SIZE_MAX and memchr scans adjacent heap memory looking for a '$' separator byte. A caller that invokes argon2_verify against a stored hash that may legitimately be empty (for example a placeholder row or a NULL column materialised as an empty string) reads out-of-bounds heap memory, which can crash the process or leak the position of an adjacent '$' byte into subsequent parsing.",
    "evidence": "osv:UBUNTU-CVE-2026-8463",
    "products": [
      {
        "name": {
          "value": "libcrypt-argon2-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.013-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.020-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.020-1build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.020-1build2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.020-1build3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-argon2-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.029-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.030-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-argon2-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.030-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.031-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.031-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-argon2-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.030-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-8463",
      "aliases": [
        "UBUNTU-CVE-2026-8463"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-argon2-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-argon2-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.013-1",
            "0.020-1",
            "0.020-1build1",
            "0.020-1build2",
            "0.020-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8463.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-argon2-perl",
                "binary_version": "0.020-1build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-argon2-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-argon2-perl?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.029-1build1",
            "0.030-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8463.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-argon2-perl",
                "binary_version": "0.030-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-argon2-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-argon2-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.030-1",
            "0.031-1",
            "0.031-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8463.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-argon2-perl",
                "binary_version": "0.031-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-argon2-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-argon2-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.030-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-8463.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-argon2-perl",
                "binary_version": "0.030-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:12.856225894Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-8463"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-8463",
        "https://www.cve.org/CVERecord?id=CVE-2026-8463",
        "https://lists.security.metacpan.org/cve-announce/msg/40006926/",
        "https://github.com/Leont/crypt-argon2/commit/92eac03ce63d541e0ead7ea5a89b9b67ce0c0e64"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-8463",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361257,
  "published_at": "2026-05-13T14:18:00+00:00"
}