CVE-2004-0114
No CVSS score yet. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
On this page
The shmat system call in the System V Shared Memory interface for FreeBSD 5.2 and earlier, NetBSD 1.3 and earlier, and OpenBSD 2.6 and earlier, does not properly decrement a shared memory segment's reference count when the vm_map_find function fails, which could allow local users to gain read or write access to a portion of kernel memory and gain privileges.
- EPSS
- 0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Patch: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc
- Patch: http://www.securityfocus.com/bid/9586
- Vendor advisory: ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc
- Vendor advisory: http://www.securityfocus.com/bid/9586
Ask an AI about this CVE
Show the prompt
Explain CVE-2004-0114 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0114?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0114?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0114 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| freebsd:freebsd | through 5.2 |
| netbsd:netbsd | through 1.3 |
| openbsd:openbsd | through 2.6 |
Public exploits
- Exploit-DB BSD - SHMAT System Call Privilege Escalation
References
- ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:02.shmat.asc
- http://www.securityfocus.com/bid/9586
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-004.txt.asc
- http://marc.info/?l=bugtraq&m=107608375207601&w=2
- http://www.openbsd.org/errata33.html#sysvshm
- http://www.osvdb.org/3836
- http://www.pine.nl/press/pine-cert-20040201.txt
- https://exchange.xforce.ibmcloud.com/vulnerabilities/15061