CVE-2026-30910
published high CVSS 3.1 · 7.5Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| IAMB | — | Crypt-Sodium-XSCrypt::Sodium::XS · 0 through 0.001000 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows. Combined aead encryption, combined signature creation, and bin2hex functions do not check that output size will be less than SIZE_MAX, which could lead to integer wraparound causing an undersized output buffer. This can cause a crash in bin2hex and encryption algorithms other than aes256gcm. For aes256gcm encryption and signatures, an undersized buffer could lead to buffer overflow. Encountering this issue is unlikely as the message length would need to be very large. For bin2hex the input size would have to be > SIZE_MAX / 2 For aegis encryption the input size would need to be > SIZE_MAX - 32U For other encryption the input size would need to be > SIZE_MAX - 16U For signatures the input size would need to be > SIZE_MAX - 64U
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| IAMB | Crypt::Sodium::XS | 0 through 0.001000 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-190 CWE-190 Integer Overflow or Wraparound
References
2Provider assertions
3CPANSec · cna
Crypt::Sodium::XS versions through 0.001000 for Perl has potential integer overflows
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 051cdd3e46220ff3fbee8f73695d9304f63fff8fab9bed108f108587c066643f
- Ingested
- 23 Sep 2026, 09:09:24 UTC
- Source record
- Official CVE record