{"id":"CVE-2024-13939","aliases":["CVE-2024-13939"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.\n\nAs 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).\"\n\nThis is similar to CVE-2020-36829","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAs 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).\"\n\nThis is similar to CVE-2020-36829","source":"cvelist"},{"lang":"es","text":"String::Compare::ConstantTime para Perl hasta la versión 0.321 es vulnerable a ataques de temporización que permiten a un atacante adivinar la longitud de una cadena secreta. Como se indica en la documentación: \"Si las longitudes de las cadenas son diferentes, dado que `equals` devuelve `false` inmediatamente, el tamaño de la cadena secreta podría filtrarse (pero no su contenido). Esto es similar a CVE-2020-36829\".","source":"nvd"}],"published":"2025-03-28T02:05:01.416Z","modified":"2026-06-17T07:03:01.300Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-203","CWE-208"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.321","status":"affected"}],"vendor":"FRACTAL","product":"String::Compare::ConstantTime","package":"String-Compare-ConstantTime","repo":"https://github.com/hoytech/String-Compare-ConstantTime","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.321"}],"vendor":"fractal","product":"string::compare::constanttime","cpe":"cpe:2.3:a:fractal:string\\:\\:compare\\:\\:constanttime:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://metacpan.org/release/FRACTAL/String-Compare-ConstantTime-0.321/view/lib/String/Compare/ConstantTime.pm#TIMING-SIDE-CHANNEL","tags":["related","technical-description"],"sources":["cvelist","nvd"]}],"credits":["Robert Rothenberg"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-03-28T14:08:00.787Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-13939","url":"https://www.cve.org/CVERecord?id=CVE-2024-13939","licence":"CVE Terms of Use","modified":"2025-03-28T14:08:55.354Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-13939","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-13939","licence":"Public domain","modified":"2026-06-17T07:03:01.300Z"}],"updatedAt":"2026-11-25T22:58:52.452Z","epss":{"score":0.00374,"percentile":0.33385,"date":"2026-12-01T12:00:22.000Z"}}