HOMEVULNERABILITIESCVE-2004-0114
MEDIUMPOC

CVE-2004-0114

NVD-CWE-OtherPublished: March 3, 2004· Updated: Jun 16, 2026

4.6
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2004-0114 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2004-0114. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

freebsd1 product(s)
freebsd
netbsd1 product(s)
netbsd
openbsd1 product(s)
openbsd
Source: NVD CPE · 3 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

Quick Facts

CVE IDCVE-2004-0114
CVSS Score4.6 / 10
SeverityMEDIUM
CISA KEVNo
ExploitPOC
Affected3 vendor(s)
PublishedMar 3, 2004

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2004-0114 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.