cve.bz

CVE-2024-36474 gnome libgsf: Year 2038 problem, Y2K38, Y2038, Epochalypse

7.8 highEPSS 0.4%

High (7.8) in gnome libgsf. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
An integer overflow vulnerability exists in the Compound Document Binary File format parser of the GNOME Project G Structured File Library (libgsf) version v1.14.52. A specially crafted file can result in an integer overflow when processing the directory from the file that allows for an out-of-bounds index to be used when reading and writing to an array. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-36474 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-36474?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-36474?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-36474 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnome:libgsf1.14.52

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libgsf1.14.47-1+deb11u1DLA-3911-1
Debian12libgsf1.14.50-1+deb12u1DEBIAN-CVE-2024-36474 DSA-5786-1
Debian13, 14libgsf1.14.52-1.1DEBIAN-CVE-2024-36474
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSlibgsfno fix listedUBUNTU-CVE-2024-36474
Ubuntu20.04:LTSlibgsf1.14.46-1ubuntu0.1UBUNTU-CVE-2024-36474 USN-7062-1
Ubuntu22.04:LTSlibgsf1.14.47-1ubuntu0.1UBUNTU-CVE-2024-36474 USN-7062-1
Ubuntu24.04:LTSlibgsf1.14.51-2ubuntu0.1UBUNTU-CVE-2024-36474 USN-7062-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morelibgsf1.14.46-150200.3.3.1SUSE-SU-2024:3921-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Desktop Applications 15 SP5 and 3 morelibgsf1.14.50-150400.3.6.1SUSE-SU-2024:3922-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6, Linux Enterprise Workstation Extension 15 SP6libgsf1.14.51-150600.4.3.1SUSE-SU-2024:3920-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libgsf1.14.40-8.3.1SUSE-SU-2024:3770-1
openSUSELeap 15.5libgsf1.14.50-150400.3.6.1SUSE-SU-2024:3922-1
openSUSELeap 15.6libgsf1.14.51-150600.4.3.1SUSE-SU-2024:3920-1
Azure Linux2libgsfno fix listedAZL-50097
Azure Linux3libgsfno fix listedAZL-50064

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability should be classified as important severity rather than moderate due to the potential impact of the integer overflow, which can lead to arbitrary code execution. The flaw arises in the core parsing logic of the Compound Document Binary File (CDF) format within libgsf, a widely used library for handling structured file formats. An attacker can exploit this by crafting a malicious file that triggers an out-of-bounds memory write, leading to memory corruption. Since this can result in control over execution flow, the vulnerability opens up the risk for remote code execution in applications that rely on libgsf for file handling, making it more dangerous than a moderate-level issue. Additionally, as CDF formats are used in common file types (e.g., Microsoft Office documents), this vulnerability could easily be weaponized through social engineering attacks such as phishing.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libgsfNot affected
Red Hat Enterprise Linux 6libgsfNot affected
Red Hat Enterprise Linux 7libgsfNot affected
Red Hat Enterprise Linux 8libgsfNot affected
Red Hat Enterprise Linux 9libgsfNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-36474.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON