CVE-2007-0229: Integer Overflow in ffs_mountfs (Mac OS X, FreeBSD)
- Vendors
- FreebsdApple
An integer overflow exists in the ffs_mountfs function in Mac OS X 10.4.8 and FreeBSD 6.1. This vulnerability can be triggered by a crafted DMG image, which causes the allocation of a negative size buffer, resulting in a heap-based buffer overflow. The issue is related to CVE-2006-5679. In FreeBSD, only root can mount filesystems, limiting the attack surface.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
On Mac OS X 10.4.8, local users can exploit this vulnerability to cause a denial of service (kernel panic) and possibly escalate privileges. On FreeBSD 6.1, the impact is limited to denial of service for root users, as only root can mount filesystems, and privilege boundaries are not crossed.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to filesystem mounting operations to trusted users only. Monitor for suspicious DMG images and avoid mounting untrusted filesystems. On FreeBSD, ensure only root can mount filesystems, as per default configuration.
Remediation
Patch, then assume compromise.
Apply vendor-supplied patches or updates that address the integer overflow in the ffs_mountfs function. Ensure systems are running the latest supported versions of Mac OS X and FreeBSD.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2007-0229 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2007-0229 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2007-0229?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2007-0229.
- Is there a patch for CVE-2007-0229?
- Apply vendor-supplied patches or updates that address the integer overflow in the ffs_mountfs function. Ensure systems are running the latest supported versions of Mac OS X and FreeBSD.
- What products are affected by CVE-2007-0229?
- Freebsd, Apple Mac Os X, and Apple Mac Os X Server.
- How severe is CVE-2007-0229?
- CVE-2007-0229 has a CVSS v2 score of 7.2 (High) and an EPSS score of 1.1% (67th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.