CVE-2024-13939 Information disclosure in String::Compare::ConstantTime
Attackers can determine the length of secret strings via timing attacks in the Perl String::Compare::ConstantTime library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-13939?
CVE-2024-13939 is a high-severity vulnerability in FRACTAL String::Compare::ConstantTime, published on 28 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Which versions are affected by CVE-2024-13939?
It affects 1 product.
Products include Fractal String\.
How do I fix CVE-2024-13939?
Upgrade to a fixed version.
Is CVE-2024-13939 being exploited?
There is no known exploitation of CVE-2024-13939 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2024-13939, GHSA-x2v7-w9j6-rqmx, UBUNTU-CVE-2024-13939.