# CVE-2024-53441: Bit flip attack vulnerability in cookie-encrypter

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-02)
- Published: 2024-12-09T00:00:00.000Z
- Modified: 2026-06-17T08:08:53.620Z
- Also known as: GHSA-h63v-hw6g-x8hp
- Weaknesses: CWE-325, CWE-327
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cookie-encrypter (npm): up to 1.0.1

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`

## References

- <https://gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971> (web)
- <https://mathys.reboux.pro/CVE/2024/53441> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53441> (advisory)
- <https://github.com/ebourmalo/cookie-encrypter/issues/9> (web)
- <https://crypto.stackexchange.com/questions/66085/bit-flipping-attack-on-cbc-mode> (web)
- <https://github.com/ebourmalo/cookie-encrypter> (package)

## Sources

- CVE List: [CVE-2024-53441](https://www.cve.org/CVERecord?id=CVE-2024-53441), CVE Terms of Use, modified 2024-12-11
- GitHub Advisory Database: [GHSA-h63v-hw6g-x8hp](https://github.com/advisories/GHSA-h63v-hw6g-x8hp), CC-BY-4.0, modified 2024-12-11
- NVD: [CVE-2024-53441](https://nvd.nist.gov/vuln/detail/CVE-2024-53441), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53441 · Whole record: https://cve.day/CVE-2024-53441.json · Rebuilt by cve.day 2026-11-25T22:58:49.855Z
