Heap-based Buffer Overflow Affecting webkitgtk4-jsc-devel package, versions <0:2.52.5-1.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-WEBKITGTK4JSCDEVEL-18523554
  • published5 Aug 2026
  • disclosed17 Jul 2026

Introduced: 17 Jul 2026

NewCVE-2026-16118  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 webkitgtk4-jsc-devel to version 0:2.52.5-1.amzn2 or higher.
This issue was patched in ALAS2-2026-3843.

NVD Description

Note: Versions mentioned in the description apply only to the upstream webkitgtk4-jsc-devel package and not the webkitgtk4-jsc-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in _xdg_mime_magic_parse_magic_line() in the xdgmimemagic.c file on little-endian systems when an attacker-controlled MIME magic file in a user-writable XDG data location (e.g., in the $XDG_DATA_HOME/mime/magic path) is parsed by an application performing MIME type detection (e.g., via g_content_type_guess()). When performing byte-swap, incorrect pointer arithmetic on the write side causes an out-of-bounds write of 2 bytes, resulting in an application crash or memory corruption.

CVSS Base Scores

version 3.1