CVE-2026-49346: CWE-190: Integer Overflow or Wraparound in strukturag libde265
libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in `de265_image_get_buffer()` (`libde265/image.cc:128`). The overflow wraps the plane allocation size to a small value (~1 KB), but the subsequent `fill_image()` call computes the real size using `size_t`, writing ~4 GB into the undersized heap buffer. Version 1.1.0 patches the issue.
AI Analysis
Technical Summary
The vulnerability in libde265 (CVE-2026-49346) is an integer overflow (CWE-190) in the de265_image_get_buffer() function. When processing a specially crafted H.265 bitstream with large sequence parameter set (SPS) dimensions and 16-bit bit depth, a signed integer overflow occurs during plane allocation size calculation, wrapping the size to a small value (~1 KB). However, the fill_image() function uses a size_t type to compute the actual required size and writes about 4 GB of data into the undersized heap buffer, causing a heap buffer overflow. This can lead to denial of service or potential memory corruption. The issue is fixed in libde265 version 1.1.0.
Potential Impact
The integer overflow leads to a heap buffer overflow by writing significantly more data than allocated, which can cause application crashes or memory corruption. The CVSS 3.1 base score is 7.1 (high severity), indicating a network attack vector with low attack complexity, no privileges required, user interaction needed, unchanged scope, no confidentiality impact, limited integrity impact, and high availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade libde265 to version 1.1.0 or later, where this vulnerability is patched. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed beyond the version fix; users should verify with the vendor advisory or official release notes to ensure the fix is applied.
CVE-2026-49346: CWE-190: Integer Overflow or Wraparound in strukturag libde265
Description
libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in `de265_image_get_buffer()` (`libde265/image.cc:128`). The overflow wraps the plane allocation size to a small value (~1 KB), but the subsequent `fill_image()` call computes the real size using `size_t`, writing ~4 GB into the undersized heap buffer. Version 1.1.0 patches the issue.
CVSS v3.1
Score 7.1high
Affected software
pkg:github/strukturag/libde265Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libde265 (CVE-2026-49346) is an integer overflow (CWE-190) in the de265_image_get_buffer() function. When processing a specially crafted H.265 bitstream with large sequence parameter set (SPS) dimensions and 16-bit bit depth, a signed integer overflow occurs during plane allocation size calculation, wrapping the size to a small value (~1 KB). However, the fill_image() function uses a size_t type to compute the actual required size and writes about 4 GB of data into the undersized heap buffer, causing a heap buffer overflow. This can lead to denial of service or potential memory corruption. The issue is fixed in libde265 version 1.1.0.
Potential Impact
The integer overflow leads to a heap buffer overflow by writing significantly more data than allocated, which can cause application crashes or memory corruption. The CVSS 3.1 base score is 7.1 (high severity), indicating a network attack vector with low attack complexity, no privileges required, user interaction needed, unchanged scope, no confidentiality impact, limited integrity impact, and high availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade libde265 to version 1.1.0 or later, where this vulnerability is patched. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed beyond the version fix; users should verify with the vendor advisory or official release notes to ensure the fix is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-29T14:35:45.903Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a35a6559187273676667acd
Added to database: 06/19/2026, 20:28:05 UTC
Last enriched: 06/26/2026, 21:50:35 UTC
Last updated: 08/02/2026, 19:17:59 UTC
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.