p PatchFirst

CVE-2018-1000156

CVE-2018-1000156

This page contains facts from public vulnerability sources. Check the original advisory before updating.

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.

CVSS 7.8 · High · EPSS 5.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • patch Debian:12

    Affected ranges
    • ECOSYSTEM: < 2.7.6-2

    Update to 2.7.6-2

  • patch Debian:13

    Affected ranges
    • ECOSYSTEM: < 2.7.6-2

    Update to 2.7.6-2

  • patch Debian:14

    Affected ranges
    • ECOSYSTEM: < 2.7.6-2

    Update to 2.7.6-2

  • patch Ubuntu:14.04:LTS

    Versions
    • 2.7.1-3
    • 2.7.1-4
    • 2.7.1-4ubuntu1
    • 2.7.1-4ubuntu2
    • 2.7.1-4ubuntu2.3
    Affected ranges
    • ECOSYSTEM: < 2.7.1-4ubuntu2.4

    Update to 2.7.1-4ubuntu2.4

  • patch Ubuntu:16.04:LTS

    Versions
    • 2.7.5-1
    Affected ranges
    • ECOSYSTEM: < 2.7.5-1ubuntu0.16.04.1

    Update to 2.7.5-1ubuntu0.16.04.1

Original sources

Check your server →