Skip to main content

Crypt::SecretBuffer CVE-2026-5086

| EUVDEUVD-2026-22136 HIGH
Observable Timing Discrepancy (CWE-208)
2026-04-13 CPANSec
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
5.9 MEDIUM

Timing side channel requires many samples over noisy network paths and depends on the app comparing secrets, so AC:H; it leaks the secret (C:H) with no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

6
Analysis Generated
Jul 24, 2026 - 07:47 vuln.today
Patch released
Apr 17, 2026 - 15:18 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
0.019
CVSS changed
Apr 15, 2026 - 20:22 NVD
7.5 (HIGH)
EUVD ID Assigned
Apr 13, 2026 - 23:00 euvd
EUVD-2026-22136
CVE Published
Apr 13, 2026 - 22:54 nvd
HIGH 7.5

DescriptionCVE.org

Crypt::SecretBuffer versions before 0.019 for Perl is suseceptible to timing attacks.

For example, if Crypt::SecretBuffer was used to store and compare plaintext passwords, then discrepencies in timing could be used to guess the secret password.

AnalysisAI

Secret-recovery via timing side channel in the Perl module Crypt::SecretBuffer before 0.019 lets remote attackers infer stored secrets by measuring response-time discrepancies during comparison operations. When an application uses SecretBuffer to hold and compare sensitive values such as plaintext passwords, the non-constant-time comparison leaks information that can be used to guess the secret byte-by-byte. There is no public exploit identified at time of analysis, EPSS is negligible (0.02%), and SSVC records exploitation as none, so this is a real but low-urgency defense-in-depth fix rather than an actively exploited threat.

Technical ContextAI

Crypt::SecretBuffer (CPAN distribution by NERDVANA, CPE cpe:2.3:a:nerdvana:crypt::secretbuffer) is a Perl utility whose purpose is to store secret material in memory and offer comparison primitives. The flaw is CWE-208 (Observable Timing Discrepancy): the comparison routine short-circuits or otherwise varies its execution time based on how many leading bytes of the candidate match the stored secret, instead of performing a constant-time comparison. An attacker who can submit candidate values and observe timing can iteratively converge on the correct secret. This is the classic reason security libraries provide constant-time compare functions; the fix in 0.019 addresses the comparison timing behavior.

RemediationAI

Vendor-released patch: upgrade Crypt::SecretBuffer to version 0.019 or later (e.g. via cpan/cpanm NERDVANA/Crypt-SecretBuffer-0.019), which is the primary and complete fix; confirm the change in the release changelog at https://metacpan.org/release/NERDVANA/Crypt-SecretBuffer-0.019/source/Changes. If you cannot upgrade immediately, the effective compensating control is to avoid using SecretBuffer's comparison method against attacker-supplied or remotely observable input - instead compare secrets using a vetted constant-time routine, and specifically stop using it to compare plaintext passwords (hash and use a constant-time verify instead), with the trade-off of code changes at each call site. Reducing the attacker's ability to gather timing samples (rate limiting, adding server-side latency normalization, restricting who can invoke the comparison path) lowers but does not eliminate risk. Additional context is in the oss-security disclosure at http://www.openwall.com/lists/oss-security/2026/04/13/12.

More in Crypt

View all
CVE-2026-16235 CRITICAL
9.8 Jul 20

Predictable salt generation in Crypt::Password through version 0.28 for Perl weakens the security of stored password has

CVE-2026-30909 CRITICAL
9.8 Mar 08

Perl Crypt::NaCl::Sodium module through 2.002 has potential integer overflows in cryptographic operations that could wea

CVE-2026-9265 CRITICAL
9.1 Jun 20

Heap out-of-bounds read in the Perl module Crypt::OpenSSL::PKCS12 before version 1.96 lets a crafted PKCS#12 file leak a

CVE-2026-58102 CRITICAL
9.1 Jul 13

Heap out-of-bounds read in the Crypt::OpenSSL::X509 Perl module (versions before 2.1.3) lets a crafted X.509 certificate

CVE-2026-2588 CRITICAL
9.1 Feb 23

Integer overflow in Crypt::NaCl::Sodium Perl module through version 2.001 on 32-bit systems. The Sodium.xs binding casts

CVE-2026-14570 HIGH
7.5 Jul 05

Private-key recovery in the Crypt::DSA Perl module (all versions before 1.22) stems from a biased random number generato

CVE-2026-17510 HIGH
7.5 Aug 09

NULL pointer dereference in Crypt::OpenSSL::PKCS12 before version 1.98 for Perl enables process crashes when any caller

CVE-2026-6656 HIGH
7.5 Jul 20

Timing side-channel in the Crypt::Password Perl module (versions through 0.28) allows attackers to incrementally guess a

CVE-2026-58101 HIGH
7.5 Jul 13

Denial of service in the Crypt::OpenSSL::X509 Perl module before 2.1.3 lets a malformed X.509 certificate crash any Perl

CVE-2026-2597 HIGH
7.5 Feb 27

Heap buffer overflow in Crypt::SysRandom::XS before version 0.010 allows denial of service through negative length param

CVE-2026-30910 HIGH
7.5 Mar 08

Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows. Combined aead encryption, combined

CVE-2026-6659 HIGH
7.5 May 08

Weak salt generation in Crypt::PasswdMD5 (Perl) through version 1.42 enables password hash cracking via predictable rand

Share

CVE-2026-5086 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy