Skip to main content

Crypt::SecretBuffer EUVDEUVD-2026-22136

| CVE-2026-5086 HIGH
Observable Timing Discrepancy (CWE-208)
2026-04-13 CPANSec
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach app comparison endpoint
  2. Delivery
    Submit many candidate secrets
  3. Exploit
    Measure per-attempt response timing
  4. Execution
    Statistically infer matching bytes
  5. Impact
    Reconstruct stored secret

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Exploitation requires that the target application actually uses Crypt::SecretBuffer's comparison functionality to check attacker-influenced input against a stored secret (the description's example is storing and comparing plaintext passwords) - the vulnerable code path must be reachable and its timing observable by the attacker. Limiting factors: the attacker must be able to submit many comparison attempts and measure fine-grained timing, which network jitter degrades; the flaw yields information disclosure only (C:H, I:N, A:N) and does not by itself grant code execution; and if the deploying application does not use SecretBuffer for secret comparison, or wraps it behind rate limiting or hashing, exploitation is impractical. No authentication is required to attempt comparisons per the CVSS vector (PR:N), though the surrounding application may impose its own access controls.

Impact

The signals are mostly consistent toward LOW real-world urgency. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H) scores 7.5 (High) driven entirely by confidentiality impact, but AC:L understates reality: practical timing attacks over a network require large numbers of samples and statistical filtering of jitter, so effective complexity is higher. EPSS is negligible (0.02%, 5th percentile), SSVC exploitation is 'none', it is not in CISA KEV, and no POC is referenced - all pointing away from imminent exploitation. SSVC does flag Automatable: yes and Technical Impact: partial, meaning that where the vulnerable comparison IS reachable, an attack could be scripted. The dominant limiting factor is exposure: exploitation depends on an application actually using SecretBuffer to compare attacker-influenced input against a secret, which is a usage pattern the description raises only as an example ('if... used to store and compare plaintext passwords'). Net: patch it as good hygiene, but it is not a drop-everything issue.

Exploit ScenarioDerived

An attacker repeatedly submits candidate passwords to an application that uses Crypt::SecretBuffer (<0.019) to compare the submitted value against a stored plaintext secret, measuring the response time of each attempt. By observing that closer-matching guesses take measurably longer (or shorter) to reject, the attacker reconstructs the secret one position at a time. No public POC is referenced, and given network timing noise the attack requires many samples to be reliable.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

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.

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.

Affected VersionsENISA

Crypt::SecretBuffer 0 <0.019

Affected Packages

euvd crypt_secretbuffer fix: 0.019

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Crypt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
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)
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.

Executive ViewAI

Why It Matters

Crypt::SecretBuffer before 0.019 enables attackers to steal sensitive credentials by observing response-time patterns, endangering password-based authentication systems relying on this Perl module. Organizations using SecretBuffer for credential validation face elevated risk of account compromise and unauthorized access, particularly in high-volume authentication scenarios. While exploitation remains unlikely (EPSS 0.02%), the vulnerability affects core security controls and warrants prompt patching.

Business Impact: High
Compensating Controls

Patch available per vendor advisory

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Rare
obscure single-author Perl CPAN module, tiny production footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-2025-15444 CRITICAL
9.8 Jan 06

Crypt::Sodium::XS for Perl bundles a vulnerable version of libsodium (<= 1.0.20) that has a signature verification flaw.

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-2474 HIGH
7.5 Feb 16

Heap buffer overflow in Perl's Crypt::URandom module (versions 0.41-0.54) allows denial of service through integer wrapa

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