CVE-2018-6307: LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer…
Noroxi assessment
Priority: Plan (action score 40/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 26.5% (FIRST EPSS); higher than 98% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: libvncserver (Debian:12) 0.9.11+dfsg-1.2; italc (Debian:8) 1:2.0.2+dfsg1-2+deb8u1; libvncserver (Debian:8) 0.9.9+dfsg2-6.1+deb8u4.
Add it to your regular patch cycle. Upgrade to libvncserver (Debian:12) 0.9.11+dfsg-1.2; italc (Debian:8) 1:2.0.2+dfsg1-2+deb8u1; libvncserver (Debian:8) 0.9.9+dfsg2-6.1+deb8u4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer extension that can result remote code execution.
- Published
- Dec 19, 2018
- Updated
- Jun 16, 2026
- EPSS
- 26.5% · 98th percentile
- CWE
- CWE-416
Report tools
Action score
40
Add it to your regular patch cycle.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 8 / 30 · 26.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libvnc project | libvncserver | cpe:2.3:a:libvnc_project:libvncserver |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Kaspersky). Independent of NVD's CPE analysis and usually ahead of it.
n/a LibVNC
- commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10baffected
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux18.10
- debian debian linux8.0
- debian debian linux9.0
- libvnc project libvncserverbefore 0.9.12
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libvncserver | before 0.9.11+dfsg-1.2 | 0.9.11+dfsg-1.2 |
| Debian:8 | italc | before 1:2.0.2+dfsg1-2+deb8u1 | 1:2.0.2+dfsg1-2+deb8u1 |
| Debian:8 | libvncserver | before 0.9.9+dfsg2-6.1+deb8u4 | 0.9.9+dfsg2-6.1+deb8u4 |
| Debian:9 | libvncserver | before 0.9.11+dfsg-1.3~deb9u1 | 0.9.11+dfsg-1.3~deb9u1 |
| openSUSE:Leap 15.0 | LibVNCServer | before 0.9.10-lp150.3.3.1 | 0.9.10-lp150.3.3.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 | LibVNCServer | before 0.9.10-4.3.1 | 0.9.10-4.3.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | LibVNCServer | before 0.9.1-160.6.1 | 0.9.1-160.6.1 |
| SUSE:OpenStack Cloud 7 | LibVNCServer | before 0.9.9-17.8.1 | 0.9.9-17.8.1 |
Same product
libvnc project: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-15127LibVNC before commit 502821828ed00b4a2c4bef90683d0fd88ce495de contains heap out-of-bound write vulnerability in server code of file…44Plan
- CVE-2018-15126LibVNC before commit 73cb96fec028a576a5a24417b57723b55854ad7b contains heap use-after-free vulnerability in server code of file transfer…43Plan
- CVE-2018-20020LibVNC before commit 7b1ef0ffc4815cab9a96c7278394152bdc89dc4d contains heap out-of-bound write vulnerability inside structure in VNC client…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-20023Dec 19, 2018 · LibVNC before 8b06f835e259652b0ff026898014fc7297ade858 contains CWE-665: Improper Initialization vulnerability in VNC Repeater client code…31Monitor
- ← EarlierCVE-2018-20024Dec 19, 2018 · LibVNC before commit 4a21bbd097ef7c44bb000c3bd0907f96a10e4ce7 contains null pointer dereference in VNC client code that can result DoS.31Monitor
- Later →CVE-2018-20748Jan 30, 2019 · LibVNC before 0.9.12 contains multiple heap out-of-bounds write vulnerabilities in libvncclient/rfbproto.c.40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:italc | 1:2.0.2+dfsg1-2+deb8u1 · Debian:8 | Package registry (OSV) |
| debian:libvncserver | 0.9.11+dfsg-1.2 · Debian:12 | Package registry (OSV) |
| opensuse:LibVNCServer | 0.9.10-lp150.3.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| suse:LibVNCServer | 0.9.9-17.8.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.