Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious BMP with overflow height
-
DeliveryDeliver file to SerenityOS user
-
ExploitVictim opens image in LibGfx decoder
-
ExecutionInteger overflow in decode_bmp_pixel_data
-
ImpactImage decoder crash / availability loss
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a SerenityOS user to open or decode an attacker-crafted BMP image whose height field triggers a signed 32-bit integer overflow in LibGfx's decode_bmp_pixel_data (specifically the INT32_MIN edge case the patch now rejects). Limiting factors: user interaction is mandatory (UI:P - the victim must load the malicious image), attack complexity is high (AC:H, exploitation rated difficult by the vendor), and the realistic impact is only minor availability loss (VA:L) - no code execution or data disclosure is demonstrated, and the vendor states the evidence for an exploitable defect is thin. No authentication is needed (PR:N), and the file can be delivered remotely, but the payoff is a decoder crash at most. |
| Impact | This is a low-priority issue whose CVSS 4.0 score of 2.3 is honest. The vector (AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) describes a memory-safety bug in BMP height parsing that, at worst, causes minor availability impact (VA:L) - no confidentiality or integrity impact - and requires both high attack complexity (AC:H) and user interaction (UI:P, i.e. the victim must open/decode a crafted BMP). A public PoC exists (a 55-byte crafted BMP found via the standard image-decode fuzz target), so exploitation status is 'publicly available exploit code exists' - but this is a fuzzer crash, NOT confirmed active exploitation; there is no KEV listing and no EPSS score in the input. The signals are internally consistent: low CVSS, availability-only impact, high complexity, and the vendor/reporter (VulDB) explicitly caveat that 'evidence for an actual exploitable defect is thin.' The integer overflow on the signed 32-bit height is real (the fix rejects height == INT32_MIN), but there is no demonstration of anything beyond a potential decoder crash. The 'Information Disclosure' tag conflicts with the CVSS vector, which sets VC:N - no confidentiality impact is claimed, so that tag is mislabeled. Net: a genuine-but-marginal DoS-class parser bug in a hobby OS, not a real prioritization concern. |
| Exploit ScenarioDerived | An attacker crafts a malicious BMP file with a pathological height value (e.g. INT32_MIN) that triggers a signed integer overflow in LibGfx's decode_bmp_pixel_data, then delivers it via a webpage, download, or message so that a SerenityOS user opens or previews it in an application that decodes images. A public 55-byte PoC reproducing the defect via the image-decode fuzz target already exists, but the realistic outcome is a decoder crash/minor availability loss rather than code execution, and success depends on the victim actually loading the file (UI:P) under high-complexity conditions (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 20, 2026
Signed 32-bit integer overflow in SerenityOS LibGfx's BMP decoder can crash the decoder when a victim opens a crafted BMP whose height field is INT32_MIN, affecting BMPLoader.cpp's decode_bmp_pixel_data and related DIB parsing. Publicly available exploit code exists, but exploitation requires user interaction and high complexity, and the realistic impact is minor availability loss only, with no code execution or data disclosure demonstrated. The CVSS 4.0 score of 2.3 and the independent assessment agree this is a low-priority issue.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the vendor patch commit 007041bb2dd6d140c9e707caddfb0a49ecf96469 (PR https://github.com/SerenityOS/serenity/pull/26958), which rejects BMP DIB heights equal to INT32_MIN before pixel data processing; because SerenityOS is rolling-release, update to any revision containing that commit rather than relying on a version number. If patching is not possible, avoid decoding untrusted BMP images in SerenityOS/LibGfx contexts, block or sanitize BMP uploads into decode pipelines, and run image decoding in a sandboxed or low-privilege process to contain a decoder crash; these compensating controls reduce exposure but do not remediate the integer overflow. Vendor advisory: https://vuldb.com/vuln/407958.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SerenityOS is a Unix-like operating system with its own image-decoding library, LibGfx; the BMP format stores image height as a signed 32-bit integer, and the vulnerable code path in Userland/Libraries/LibGfx/ImageFormats/BMPLoader.cpp does not reject the minimum value, INT32_MIN, before arithmetic in decode_bmp_pixel_data. That edge case causes a CWE-190 integer overflow. The upstream patch adds a check for core.height == NumericLimits<i32>::min() in decode_bmp_core_dib and decode_bmp_osv2_dib and returns false, as shown by the PR diff and its 55-byte regression test. The CPE cpe:2.3:a:n/a:serenityos:*:*:*:*:*:*:*:* reflects that all rolling-release revisions are in scope. The supplied CVSS 4.0 vector CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P confirms network delivery, high complexity, no privileges required, and low availability impact; the independent CVSS 3.1 assessment requires user interaction (UI:R) for the victim to open or decode the crafted image. VulDB tags include Information Disclosure and Integer Overflow, but the authoritative assessment finds only minor availability loss and no demonstrated code execution or data disclosure.
Know when Serenityos gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Crafted BMP delivered remotely but victim must open it (UI:R) and exploitation is difficult (AC:H); impact is a decoder crash only, so A:L with C:N/I:N.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in SerenityOS up to 3d83e4509fd20d7438e1ae8470ffe668c136229c. Affected by this vulnerability is the function decode_bmp_pixel_data of the file Userland/Libraries/LibGfx/ImageFormats/BMPLoader.cpp of the component LibGfx. The manipulation of the argument height leads to integer overflow. The attack is possible to be carried out remotely. The attack's complexity is rated as high. The exploitation appears to be difficult. The exploit has been disclosed publicly and may be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The identifier of the patch is 007041bb2dd6d140c9e707caddfb0a49ecf96469. Applying a patch is the recommended action to fix this issue. This was reproducible with a minimal 55-byte PoC via the standard image-decode fuzz target but evidence for an actual exploitable defect is thin.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
More in Serenityos
View allKernel/VM/MemoryManager.cpp in SerenityOS before 2019-12-30 does not reject syscalls with pointers into the kernel-only
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/un
SerenityOS 2021-03-27 contains a buffer overflow vulnerability in the EndOfCentralDirectory::read() function. Rated crit
SerenityOS fixed as of c9f25bca048443e317f1994ba9b106f2386688c3 contains a buffer overflow vulnerability in LibTextCode
SerenityOS in test-crypto.cpp contains a stack buffer overflow which could allow attackers to obtain sensitive informati
SerenityOS contains a buffer overflow in the set_range test in TestBitmap which could allow attackers to obtain sensitiv
SerenityOS Unspecified is affected by: Buffer Overflow. Rated high severity (CVSS 7.5), this vulnerability is remotely e
EUVD-2026-83743
GHSA-w7rq-j77x-pqp7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB