Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2023-4863-analysis | Kitploit
Tools/GitHubGitHub/shcesama/cve-2023-4863-analysis
Defensive ToolsStatic AnalysisDynamic Analysis (Sandboxing)Memory ForensicsVulnerability AnalysisBinary AnalysisLearning & EducationLabs & Practice
GitHubshcesama/cve-2023-4863-analysis

cve-2023-4863-analysis

View Repository
22 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Istinye University

CVE-2023-4863 (libwebp) Training and Defense Analysis Project

GitHub Dil Durum Ders


Python Java Docker HTML5 CSS3 Valgrind License: MIT


Advisor Information

Full NameGitHubEmailLinkedInWebsite
Keyvan Arasteh

Student Information

Full NameStudent ID
Batuhan Seydi Çelik2520****1006

Course Information

Course NameCourse CodeCreditsPrerequisitesSemester
Penetration Testing and Vulnerability AnalysisBGT0063 ECTSNetwork Fundamentals, Linux CLI2025-2026 Spring

📌 About the Project (CVE-2023-4863)

This project has been prepared to analyze the CVE-2023-4863 (libwebp Heap Buffer Overflow) vulnerability for educational purposes and to demonstrate practically how such anomalies can be detected in systems from the defense (Blue Team) side.

Vulnerability Details

  • CVE ID: CVE-2023-4863
  • Target Component: libwebp (Library processing WebP image format)
  • Vulnerability Type: Heap Buffer Overflow
  • Criticality Level: Critical (CVSS 10.0)

Impact Scope of the Vulnerability

This vulnerability directly affected many ecosystems in the web world:

  • Chromium-based web browsers such as Google Chrome, Microsoft Edge, Brave, Opera
  • Desktop applications using Electron / Chromium infrastructure such as 1Password, Signal, Discord, Skype
  • Mobile applications and operating system graphics components using libwebp

How Does the Attack Occur?

  1. The attacker creates a WebP (VP8L lossless format) file that contains a specially crafted, malicious, and asymmetric Huffman table.
  2. When the target system attempts to process the image, the ReadHuffmanCodes function allocates less memory space for the table than needed.
  3. During table construction (BuildHuffmanTable), a write beyond the allocated memory space (Out-Of-Bounds Write) occurs.
  4. As a result of the memory overflow, the attacker can overwrite adjacent control structures in the heap area to gain remote code execution (RCE) capability.

Defense and Test Components (Blue Team Focused)

For security policy reasons, no actual and weaponized Red Team code (exploit) is kept in the system. The vulnerability is tested structurally.

  • src/blue_team/webp_scanner.py: Statically examines WebP chunk structures and detects abnormal sizes.
  • src/blue_team/WebpValidator.java: A Java defensive code example that mimics file upload scenarios, prevents size spoofing with a fail-fast logic, and runs without crashing (no exceptions) on corrupted files.
  • src/red_team/poc.py: A training test generator that does not contain an actual payload, but deliberately reports a fake chunk size of 60MB to test whether Blue Team analysis tools are triggered.
  • Docker and Valgrind: A fully isolated laboratory built with the vulnerable libwebp-1.3.1. Dynamic analysis via Valgrind through the analyze_memory.sh script to examine memory errors (Invalid Write).

Web Dashboard

Security findings are logged via the created JSON logger infrastructure and visualized asynchronously and live through the Blue Team Dashboard (HTML/JS/CSS) located under the src/public directory.

Interface Demo

Interface Video

Download Tool
@keyvanarasteh
[email protected]
keyvanarasteh
qline.tech