CVE-2017-6009

icoutils: Buffer overflow in the decode_ne_resource_id function

Published Feb 16, 2017 CVSS 3.0 · 5.5 Medium EPSS 1.5% KEV · Not listed
Description
An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the "decode_ne_resource_id" function in the "restable.c" source file. This is happening because the "len" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-854-1 icoutils security update
Debian DSA Debian DSA DSA-3807-1 icoutils security update
EUVD EUVD EUVD-2017-15077 An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the "decode_ne_resource_id" function in the "restable.c" source file. This is happening because the "len" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.
Ubuntu USN Ubuntu USN USN-3226-1 icoutils vulnerabilities
Ubuntu USN Ubuntu USN USN-4695-1 icoutils vulnerabilities
History

No history.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:18 PM
Reserved
Feb 16, 2017, 12:00 AM
Status
Modified
Published
Feb 16, 2017, 11:59 AM
Modified
Jun 17, 2026, 1:21 AM
Severity
Important
Public date
Feb 3, 2017, 12:00 AM