CVE-2016-6253

high
Published 2017-01-20 ยท Modified 2026-05-13
CVSS v3
7.8
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.8

Description

mail.local in NetBSD versions 6.0 through 6.0.6, 6.1 through 6.1.5, and 7.0 allows local users to change ownership of or append data to arbitrary files on the target system via a symlink attack on the user mailbox.

Predictions

Exploit likelihood
75%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-40385 local netbsd_x86 verified
Metasploit ยท 2016-09-15

NetBSD - 'mail.local(8)' Local Privilege Escalation (Metasploit)

Source code queued for fetch โ€” refresh in a moment.
EDB-40141 local bsd verified
akat1 ยท 2016-07-21

NetBSD - 'mail.local(8)' Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

NetBSD mail.local Privilege Escalation
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

freebsd FreeBSD Affected 14 releases
VersionStatusFixed in
7.0 Affected โ€”
6.1.5 Affected โ€”
6.1.4 Affected โ€”
6.1.3 Affected โ€”
6.1.2 Affected โ€”
6.1.1 Affected โ€”
6.1 Affected โ€”
6.0.6 Affected โ€”
6.0.5 Affected โ€”
6.0.4 Affected โ€”
6.0.3 Affected โ€”
6.0.2 Affected โ€”
6.0.1 Affected โ€”
6.0 Affected โ€”

References

CWEs

CWE-59

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.