CVE catalog

CVE-2026-13758

CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in non-constant time in the streaming decrypt_done path. The decrypt_done($tag) form compares it against the computed tag wi

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 25, 2026

CryptX versions before 0.088_001 for Perl compare AEAD authentication tags in non-constant time in the streaming decrypt_done path. The decrypt_done($tag) form compares it against the computed tag with memNE (memcmp() != 0), which short-circuits on the first differing byte, so its run time depends on the number of matching leading bytes. This affects all five AEAD modes: GCM, CCM, ChaCha20Poly1305, EAX and OCB. The one-shot *_decrypt_verify helpers are unaffected; they verify the tag inside libtomcrypt with a constant-time comparison. The timing difference is a tag-verification oracle. An attacker who can submit many candidate tags for the same nonce, ciphertext and associated data while measuring the timing precisely enough may recover the expected tag byte by byte and forge a message that verifies.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibcryptx-perlsid0.091-1fixed
Debianlibcryptx-perlforky0.091-1fixed
Debianlibcryptx-perltrixie0.085-1+deb13u1vulnerable
Debianlibcryptx-perlbookworm0.077-1vulnerable
Cpelibcryptx-perlNot reportedNot reportedvulnerable
Ubuntulibcryptx-perlpro0.078-1vulnerable
Ubuntulibcryptx-perlpro0.080-1vulnerable
Ubuntulibcryptx-perlpro0.080-2vulnerable
Ubuntulibcryptx-perlpro0.080-2build1vulnerable
Ubuntulibcryptx-perlpro0.080-2build2vulnerable
Ubuntulibcryptx-perlpro0.080-2build3vulnerable
Ubuntulibcryptx-perlpro0.080-2ubuntu0.1~esm1vulnerable
Ubuntulibcryptx-perl25.100.085-1vulnerable
Ubuntulibcryptx-perl25.100.087-1vulnerable
Ubuntulibcryptx-perl26.040.087-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibcryptx-perlsourcesid0.089-1not yet assignedNot reportedNot reported
Debianlibcryptx-perlsourceforky0.089-1not yet assignedNot reportedNot reported
Debianlibcryptx-perlsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianlibcryptx-perlsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] libcryptx-perl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libcryptx-perl]Affected

    Source package: [libcryptx-perl]

    Details (2)
    • 0.077-1+b1 · amd64 · bookworm

      Affected

      nvd · libcryptx-perl · debian · bookworm; nvd · libcryptx-perl · debian · 12

    • 0.077-1+b1 · arm64 · bookworm

      Affected

      nvd · libcryptx-perl · debian · bookworm; nvd · libcryptx-perl · debian · 12

[Debian 13 (Trixie)]

  • [libcryptx-perl]Affected
    Details (4)
    • 0.085-1+deb13u1 · amd64 · trixie

      Affected

      nvd · libcryptx-perl · debian · 13

    • 0.085-1+deb13u1 · arm64 · trixie

      Affected

      nvd · libcryptx-perl · debian · 13

    • 0.090-1~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · libcryptx-perl · debian · 13

    • 0.090-1~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · libcryptx-perl · debian · 13

Observed:

References