
CVE catalog
CVE-2024-13939
libstring-compare-constanttime-perl: CVE-2024-13939
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.38% · Oct 25, 2026
String::Compare::ConstantTime for Perl through 0.321 is vulnerable to timing attacks that allow an attacker to guess the length of a secret string. As stated in the documentation: "If the lengths of the strings are different, because equals returns false right away the size of the secret string may be leaked (but not its contents)." This is similar to CVE-2020-36829
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libstring-compare-constanttime-perl | sid | 0.321-3 | fixed |
| Debian | libstring-compare-constanttime-perl | forky | 0.321-3 | fixed |
| Debian | libstring-compare-constanttime-perl | trixie | 0.321-3 | fixed |
| Debian | libstring-compare-constanttime-perl | bookworm | 0.321-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libstring-compare-constanttime-perl | source | sid | 0.321-3 | not yet assigned | Not reported | [1101502] |
| Debian | libstring-compare-constanttime-perl | source | forky | 0.321-3 | not yet assigned | Not reported | [1101502] |
| Debian | libstring-compare-constanttime-perl | source | trixie | 0.321-3 | not yet assigned | Not reported | [1101502] |
| Debian | libstring-compare-constanttime-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1101502] |
Notes
[bookworm] libstring-compare-constanttime-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libstring-compare-constanttime-perl]Affected
Source package: [libstring-compare-constanttime-perl]
Details (2)
0.321-2+b1· amd64 · bookwormAffected
dsa · libstring-compare-constanttime-perl · debian · bookworm; dsa · libstring-compare-constanttime-perl · debian · 12
0.321-2+b1· arm64 · bookwormAffected
dsa · libstring-compare-constanttime-perl · debian · bookworm; dsa · libstring-compare-constanttime-perl · debian · 12
[Debian 13 (Trixie)]
Details (2)
0.321-3· amd64 · trixieFixed · Fixed:
0.321-3dsa · libstring-compare-constanttime-perl · debian · 13
0.321-3· arm64 · trixieFixed · Fixed:
0.321-3dsa · libstring-compare-constanttime-perl · debian · 13
Observed: