# JLSEC-2026-1621: An issue was discovered in comparedigest in Lib/hmac.py in Python through 3.9.1.

- Severity: Medium 5.9 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:11:45.475Z
- Modified: 2026-12-01T15:15:02.481Z
- Related: CVE-2022-48566

## Description

An issue was discovered in `compare_digest` in `Lib/hmac.py` in Python through 3.9.1. Constant-time-defeating optimisations were possible in the accumulator variable in `hmac.compare_digest`.

(As written by Julia Security Advisories.)

## Affected

- Python_jll (Julia): before 3.8.8+0

## References

- <https://bugs.python.org/issue40791> (web)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00022.html> (web)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00017.html> (web)
- <https://security.netapp.com/advisory/ntap-20231006-0013/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1621](https://osv.dev/vulnerability/JLSEC-2026-1621), CC-BY-4.0, modified 2026-12-01

---

Page: https://cve.day/JLSEC-2026-1621 · Whole record: https://cve.day/JLSEC-2026-1621.json · Rebuilt by cve.day 2026-12-01T15:27:05.311Z
