CVE-2004-0114

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.724%
chance of exploitation in the next 30 days
higher than 54.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Timeline

  1. 2004-02-05First Exploit-DB entry (EDB-ID 23655)27 days before publication
  2. 2004-03-03Published
  3. 2004-09-01Published by the CNA04:00 UTC · 182 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 23655localbsd2004-02-05yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
freebsd freebsdthrough 5.2no fix listednot listed
netbsd netbsdthrough 1.3no fix listednot listed
openbsd openbsdthrough 2.6no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources