Skip to content
Noroxi
NVD / CVE Program· CNA Kaspersky

CVE-2018-6307: LibVNC before commit ca2a5ac02fbbadd0a21fabba779c1ea69173d10b contains heap use-after-free vulnerability in server code of file transfer…

HighCVSS 8.1 · v3.0—No exploit Fix available

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

Report tools

JSON

Action score

40

Plan

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.

Follow CVE-2018-6307

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
libvnc projectlibvncserver
canonicalubuntu linux
debiandebian 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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libvncserverbefore 0.9.11+dfsg-1.20.9.11+dfsg-1.2
Debian:8italcbefore 1:2.0.2+dfsg1-2+deb8u11:2.0.2+dfsg1-2+deb8u1
Debian:8libvncserverbefore 0.9.9+dfsg2-6.1+deb8u40.9.9+dfsg2-6.1+deb8u4
Debian:9libvncserverbefore 0.9.11+dfsg-1.3~deb9u10.9.11+dfsg-1.3~deb9u1
openSUSE:Leap 15.0LibVNCServerbefore 0.9.10-lp150.3.3.10.9.10-lp150.3.3.1
SUSE:Linux Enterprise Module for Package Hub 15LibVNCServerbefore 0.9.10-4.3.10.9.10-4.3.1
SUSE:Linux Enterprise Software Development Kit 11 SP4LibVNCServerbefore 0.9.1-160.6.10.9.1-160.6.1
SUSE:OpenStack Cloud 7LibVNCServerbefore 0.9.9-17.8.10.9.9-17.8.1

Other 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 / packageFixed versionSource
debian:italc1:2.0.2+dfsg1-2+deb8u1 · Debian:8Package registry (OSV)
debian:libvncserver0.9.11+dfsg-1.2 · Debian:12Package registry (OSV)
opensuse:LibVNCServer0.9.10-lp150.3.3.1 · openSUSE:Leap 15.0Package registry (OSV)
suse:LibVNCServer0.9.9-17.8.1 · SUSE:OpenStack Cloud 7Package 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.

EPSS, last 120 days

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 Free

CVSS 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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
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.

References

All records