SecurityContext

CVE-2017-1000249: File() - Buffer Overflow

  • Cve: CVE-2017-1000249
  • Name: File() - Buffer Overflow
  • Description: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
  • Impact: Attackers can overwrite stack buffer, potentially leading to arbitrary code execution or crash.
  • Remediation: Update to commit 35c94dc6acc418f1ad7f6241a6680e5327495793 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00404
  • Epss percentile: 0.35382
  • Assignee: [email protected]
  • Published at: 2017-09-11T19:29:00Z
  • Age in days: 3361
  • Modified at: 2026-06-17T00:58:58Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-1000249
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793Patch, Third Party Advisory
https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4dPatch, Third Party Advisory
http://www.debian.org/security/2017/dsa-3965
https://security.gentoo.org/glsa/201710-02

Products

ProductAffectedPlatform boundSourcesUrl
file_project:file= 5.29nonvd/v1/products/file_project/file

Projects

RepositoryLink kindsIndexedUrl
file/filecommit, fixyes/v1/repositories/file/file

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts