Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-6556

LOW 3.3EPSS 21%

The lxc-user-nic component of LXC allows unprivileged users to open arbitrary files

Mitigation

  • Upgrade LXC to 3.0* or later.

Who should check

  • Anyone running LXC >= 2.0.9, < 2.0*; >= 3.0.0, < 3.0*

Vulnerability facts

Affected
LXC >= 2.0.9, < 2.0*; >= 3.0.0, < 3.0*
Fixed in
LXC 2.0*, LXC 3.0*
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.3 (v3.0, NVD)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
CWE
CWE-417
Published
Modified

Description

lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path. This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Affected releases are LXC: 2.0 versions above and including 2.0.9; 3.0 versions above and including 3.0.0, prior to 3.0.2.

Affected and fixed versions

Package / productAffectedFixedSource
LXC>= 2.0.9, < 2.0*; >= 3.0.0, < 3.0*—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-6556. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-6556.md
Affected: LXC >= 2.0.9, < 2.0*; >= 3.0.0, < 3.0*
Fixed in: LXC 2.0*, LXC 3.0*

Steps:
1. Search this machine and project for LXC: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-6556 being exploited?

There is no confirmed exploitation: CVE-2018-6556 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-6556?

Low: CVSS 3.3 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2018-6556?

LXC >= 2.0.9, < 2.0*; >= 3.0.0, < 3.0*.

Is there a fix for CVE-2018-6556?

Yes. Fixed in LXC 2.0*, LXC 3.0*. Upgrade LXC to 3.0* or later.

How do I check if I'm affected by CVE-2018-6556?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors