Home / Openbsd / Openbsd / CVE-2016-6240
CVE-2016-6240: is it exploited, and which versions of Openbsd are affected and fixed?
CVE-2016-6240 is a vulnerability in Openbsd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: openbsd 5.8 and openbsd 5.9 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:43 UTC.
What is CVE-2016-6240?
Integer truncation error in the amap_alloc function in OpenBSD 5.8 and 5.9 allows local users to execute arbitrary code with kernel privileges via a large size value.
From the CVE record by mitre, last updated August 6, 2024, 01:22 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openbsd | openbsd | 5.8 | operating system |
| openbsd | openbsd | 5.9 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:50 UTC.
How severe is CVE-2016-6240?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-6240 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 49.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 1036318 vdb-entry, x_refsource_SECTRACK
- http://www.openbsd.org/errata59.html x_refsource_CONFIRM
- [oss-security] 20160714 Multiple Bugs in OpenBSD Kernel mailing-list, x_refsource_MLIST
- [oss-security] 20160717 ReL Multiple Bugs in OpenBSD Kernel mailing-list, x_refsource_MLIST
- http://www.openbsd.org/errata58.html x_refsource_CONFIRM
- 91805 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- July 17, 2016
- Published
- March 7, 2017, 16:00 UTC
- CVE record updated
- August 6, 2024, 01:22 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:50 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:43 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openbsd?
- Sep 30, 2026CVE-2026-103547 OpenBSD: incorrect authorization
- Sep 8, 2026CVE-2026-56101 OpenBSD: incorrect comparison
- Jun 25, 2026CVE-2026-57589 OpenBSD: use after free
- Jun 17, 2026CVE-2026-55706 OpenBSD: quantity not validated
- Apr 20, 2026CVE-2026-41285 OpenBSD: quantity not validated
- Mar 20, 2025CVE-2025-30334 OpenBSD: incorrect Calculation of Buffer Size
- Dec 6, 2024CVE-2024-11149 OpenBSD: CWE-noinfo Not enough information
- Dec 5, 2024CVE-2024-10933 OpenBSD: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2016-6240
Is CVE-2016-6240 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Openbsd are affected by CVE-2016-6240?
openbsd 5.8 and openbsd 5.9, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-6240?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-6240?
High (7.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-6240?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.