CVE-2024-24258
mupdf v1.23.9 was discovered to contain a memory leak via the menuEntry variable in the...
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
CVE-2024-24258- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
CVE List
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
CVE-2024-24258- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
EUVDEUVD-2024-21682
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
EUVD-2024-21682- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vrhp-w2wh-93c3
7.5
mupdf v1.23.9 was discovered to contain a memory leak via the menuEntry variable in the...
mupdf v1.23.9 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
GHSA-vrhp-w2wh-93c3- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVAZL-39708
7.5
CVE-2024-24258 affecting package freeglut for versions less than 3.4.0-1
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
AZL-39708- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
OSVAZL-43459
7.5
CVE-2024-24258 affecting package freeglut 3.2.1-4
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
AZL-43459- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSV
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
CVE-2024-24258- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-24258
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
DEBIAN-CVE-2024-24258- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-1174
7.5
freeglut security update
Freeglut is a free-software/open-source alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written to support the sample programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical applications because it is simple, widely available and highly portable.
Security Fix(es):
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.(CVE-2024-24258)
freeglut through 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddMenuEntry function.(CVE-2024-24259)
- Record
OESA-2024-1174- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2024:2366
5.3
Red Hat Security Advisory: freeglut security update
- Record
RHSA-2024:2366- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRHSA-2024:3120
5.3
Red Hat Security Advisory: freeglut security update
- Record
RHSA-2024:3120- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRLSA-2024:2366
5.3
Moderate: freeglut security update
freeglut is a completely open source alternative to the OpenGL Utility Toolkit (GLUT) library with an OSI approved free software license.
Security Fix(es):
-
freeglut: memory leak via glutAddSubMenu() function (CVE-2024-24258)
-
freeglut: memory leak via glutAddMenuEntry() function (CVE-2024-24259)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 9.4 Release Notes linked from the References section.
- Record
RLSA-2024:2366- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRLSA-2024:3120
5.3
Moderate: freeglut security update
freeglut is a completely open source alternative to the OpenGL Utility Toolkit (GLUT) library with an OSI approved free software license.
Security Fix(es):
-
freeglut: memory leak via glutAddSubMenu() function (CVE-2024-24258)
-
freeglut: memory leak via glutAddMenuEntry() function (CVE-2024-24259)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.10 Release Notes linked from the References section.
- Record
RLSA-2024:3120- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-24258
7.5
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function.
- Record
UBUNTU-CVE-2024-24258- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2024:2366 No score
Moderate: freeglut security update
freeglut is a completely open source alternative to the OpenGL Utility Toolkit (GLUT) library with an OSI approved free software license.
Security Fix(es):
- freeglut: memory leak via glutAddSubMenu() function (CVE-2024-24258)
- freeglut: memory leak via glutAddMenuEntry() function (CVE-2024-24259)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2024:2366- Updated
- 2026-11-02
OSVALSA-2024:3120 No score
Moderate: freeglut security update
freeglut is a completely open source alternative to the OpenGL Utility Toolkit (GLUT) library with an OSI approved free software license.
Security Fix(es):
- freeglut: memory leak via glutAddSubMenu() function (CVE-2024-24258)
- freeglut: memory leak via glutAddMenuEntry() function (CVE-2024-24259)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2024:3120- Updated
- 2026-11-02
OSVCLSA-2025-1762362716 No score
freeglut: Fix of 2 CVEs
- CVE-2024-24258: fix memory leak in glutAddSubMenu function
- CVE-2024-24259: fix memory leak in glutAddMenuEntry function
- Record
CLSA-2025-1762362716- Updated
- 2026-11-02
OSVMGASA-2024-0165 No score
Updated freeglut packages fix security vulnerabilities
freeglut 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddSubMenu function. (CVE-2024-24258) freeglut through 3.4.0 was discovered to contain a memory leak via the menuEntry variable in the glutAddMenuEntry function. (CVE-2024-24259)
- Record
MGASA-2024-0165- Updated
- 2026-11-02
OSVUSN-7870-1 No score
freeglut vulnerabilities
It was discovered that Freeglut incorrectly managed memory, resulting in a memory leak. An attacker could possibly use this issue to cause a denial of service.
- Record
USN-7870-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freeglutAlmaLinux:9 From an advisory covering 2 CVEs |
before 3.2.1-10.el9 | 3.2.1-10.el9 |
freeglut-develAlmaLinux:9 From an advisory covering 2 CVEs |
before 3.2.1-10.el9 | 3.2.1-10.el9 |
freeglutAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.0.0-9.el8 | 3.0.0-9.el8 |
freeglut-develAlmaLinux:8 From an advisory covering 2 CVEs |
before 3.0.0-9.el8 | 3.0.0-9.el8 |
freeglutAzure Linux:3 |
before 3.4.0-1 | 3.4.0-1 |
freeglutAzure Linux:2 |
through 3.2.1-4 | None known |
freeglutTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 3.2.1-9.el9.tuxcare.els1 | 3.2.1-9.el9.tuxcare.els1 |
freeglut-develTuxCare:AlmaLinux:9.2 From an advisory covering 2 CVEs |
before 3.2.1-9.el9.tuxcare.els1 | 3.2.1-9.el9.tuxcare.els1 |
freeglutDebian:12 |
All versions, plus listed versions 3.4.0-13.4.0-23.4.0-33.4.0-43.4.0-53.4.0-6 |
None known |
freeglutDebian:13 |
All versions, plus listed versions 3.4.0-43.4.0-53.4.0-6 |
None known |
Show 42 moreShow less
| Package | Affected | Fixed |
|---|---|---|
freeglutDebian:14 |
All versions, plus listed versions 3.4.0-43.4.0-53.4.0-6 |
None known |
freeglutMageia:9 From an advisory covering 2 CVEs |
before 3.4.0-1.1.mga9 | 3.4.0-1.1.mga9 |
freeglutopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 3.0.0-11.oe1 | 3.0.0-11.oe1 |
freeglutopenEuler:20.03-LTS-SP4 From an advisory covering 2 CVEs |
before 3.0.0-11.oe2003sp4 | 3.0.0-11.oe2003sp4 |
freeglutopenEuler:22.03-LTS From an advisory covering 2 CVEs |
before 3.0.0-12.oe2203sp3 | 3.0.0-12.oe2203sp3 |
freeglutopenEuler:22.03-LTS-SP1 From an advisory covering 2 CVEs |
before 3.0.0-12.oe2203sp1 | 3.0.0-12.oe2203sp1 |
freeglutopenEuler:22.03-LTS-SP2 From an advisory covering 2 CVEs |
before 3.0.0-12.oe2203sp2 | 3.0.0-12.oe2203sp2 |
freeglutopenEuler:22.03-LTS-SP3 From an advisory covering 2 CVEs |
before 3.0.0-12.oe2203sp3 | 3.0.0-12.oe2203sp3 |
freeglutRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:3.2.1-10.el9 | 0:3.2.1-10.el9 |
freeglut-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:3.2.1-10.el9 | 0:3.2.1-10.el9 |
freeglut-debugsourceRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:3.2.1-10.el9 | 0:3.2.1-10.el9 |
freeglut-develRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:3.2.1-10.el9 | 0:3.2.1-10.el9 |
freeglutRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.0-9.el8 | 0:3.0.0-9.el8 |
freeglut-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.0-9.el8 | 0:3.0.0-9.el8 |
freeglut-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.0-9.el8 | 0:3.0.0-9.el8 |
freeglut-develRed Hat:enterprise_linux:8::appstream From an advisory covering 2 CVEs |
before 0:3.0.0-9.el8 | 0:3.0.0-9.el8 |
freeglutRocky Linux:9 From an advisory covering 2 CVEs |
before 0:3.2.1-10.el9 | 0:3.2.1-10.el9 |
freeglutRocky Linux:8 From an advisory covering 2 CVEs |
before 0:3.0.0-9.el8 | 0:3.0.0-9.el8 |
freeglutUbuntu:Pro:14.04:LTS |
before 2.8.1-1ubuntu0.1~esm1, plus listed versions 2.8.1-1 |
2.8.1-1ubuntu0.1~esm1 |
freeglutUbuntu:Pro:16.04:LTS |
before 2.8.1-2ubuntu0.1~esm1, plus listed versions 2.8.1-2 |
2.8.1-2ubuntu0.1~esm1 |
mupdfUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.7-11.7a-11.7a-1ubuntu0.1~esm1 |
None known |
freeglutUbuntu:Pro:18.04:LTS |
before 2.8.1-3ubuntu0.18.04.1~esm1, plus listed versions 2.8.1-3 |
2.8.1-3ubuntu0.18.04.1~esm1 |
mupdfUbuntu:Pro:18.04:LTS |
before 1.12.0+ds1-1ubuntu0.1~esm2, plus listed versions 1.11+ds1-1.11.11+ds1-21.12.0+ds1-11.12.0+ds1-1ubuntu0.1~esm1 |
1.12.0+ds1-1ubuntu0.1~esm2 |
freeglutUbuntu:Pro:20.04:LTS |
before 2.8.1-3ubuntu0.20.04.1~esm1, plus listed versions 2.8.1-3 |
2.8.1-3ubuntu0.20.04.1~esm1 |
mupdfUbuntu:Pro:20.04:LTS |
before 1.16.1+ds1-1ubuntu1+esm2, plus listed versions 1.15.0+ds1-11.16.1+ds1-1ubuntu11.16.1+ds1-1ubuntu1+esm1 |
1.16.1+ds1-1ubuntu1+esm2 |
freeglutUbuntu:Pro:22.04:LTS |
before 2.8.1-6ubuntu0.1~esm1, plus listed versions 2.8.1-6 |
2.8.1-6ubuntu0.1~esm1 |
mupdfUbuntu:Pro:22.04:LTS |
before 1.19.0+ds1-2ubuntu0.1~esm1, plus listed versions 1.17.0+ds1-21.19.0+ds1-11.19.0+ds1-1build11.19.0+ds1-2 |
1.19.0+ds1-2ubuntu0.1~esm1 |
freeglutUbuntu:Pro:24.04:LTS |
before 3.4.0-1ubuntu0.1~esm1, plus listed versions 3.4.0-13.4.0-1build1 |
3.4.0-1ubuntu0.1~esm1 |
mupdfUbuntu:Pro:24.04:LTS |
before 1.23.10+ds1-1ubuntu0.1~esm1, plus listed versions 1.22.2+ds1-21.22.2+ds1-2build11.23.6+ds1-11.23.7+ds1-11.23.10+ds1-11.23.10+ds1-1build11.23.10+ds1-1build21.23.10+ds1-1build3 |
1.23.10+ds1-1ubuntu0.1~esm1 |
freeglutUbuntu:25.10 |
before 3.4.0-5ubuntu0.1, plus listed versions 3.4.0-43.4.0-5 |
3.4.0-5ubuntu0.1 |
mupdfUbuntu:25.10 |
All versions, plus listed versions 1.25.1+ds1-5build21.25.1+ds1-61.25.1+ds1-7 |
None known |
freeglutUbuntu:26.10 |
All versions, plus listed versions 3.4.0-6 |
None known |
mupdfUbuntu:26.10 |
All versions, plus listed versions 1.27.0+ds1-3ubuntu21.27.0+ds1-3ubuntu3 |
None known |
freeglutUbuntu:26.04:LTS |
All versions, plus listed versions 3.4.0-53.4.0-6 |
None known |
mupdfUbuntu:26.04:LTS |
All versions, plus listed versions 1.25.1+ds1-71.25.1+ds1-7build11.25.1+ds1-7build21.27.0+ds1-2ubuntu11.27.0+ds1-3ubuntu11.27.0+ds1-3ubuntu2 |
None known |
freeglutUbuntu:Pro:14.04:LTS From an advisory covering 2 CVEs |
before 2.8.1-1ubuntu0.1~esm1, plus listed versions 2.8.1-1 |
2.8.1-1ubuntu0.1~esm1 |
freeglutUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 2.8.1-2ubuntu0.1~esm1, plus listed versions 2.8.1-2 |
2.8.1-2ubuntu0.1~esm1 |
freeglutUbuntu:Pro:18.04:LTS From an advisory covering 2 CVEs |
before 2.8.1-3ubuntu0.18.04.1~esm1, plus listed versions 2.8.1-3 |
2.8.1-3ubuntu0.18.04.1~esm1 |
freeglutUbuntu:Pro:20.04:LTS From an advisory covering 2 CVEs |
before 2.8.1-3ubuntu0.20.04.1~esm1, plus listed versions 2.8.1-3 |
2.8.1-3ubuntu0.20.04.1~esm1 |
freeglutUbuntu:Pro:22.04:LTS From an advisory covering 2 CVEs |
before 2.8.1-6ubuntu0.1~esm1, plus listed versions 2.8.1-6 |
2.8.1-6ubuntu0.1~esm1 |
freeglutUbuntu:Pro:24.04:LTS From an advisory covering 2 CVEs |
before 3.4.0-1ubuntu0.1~esm1, plus listed versions 3.4.0-13.4.0-1build1 |
3.4.0-1ubuntu0.1~esm1 |
freeglutUbuntu:25.10 From an advisory covering 2 CVEs |
before 3.4.0-5ubuntu0.1, plus listed versions 3.4.0-43.4.0-5 |
3.4.0-5ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-24258 is a high vulnerability (CVSS 7.5) in Artifex Mupdf, published February 5, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.15%, the 66th percentile. Fixed in freeglut 3.4.0-1.
References
github.com/yinluming13579/mupdf_defects/blob/main/mupdf_detect_1.md
github.com/freeglut/freeglut/pull/155
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T43DAHPIWMGN54E4I6ABLHNYHZSTX7H5
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6IBAWX3HMMZVAWJZ3U6VOAYYOYJCN3IS
lists.fedoraproject.org/archives/list/[email protected]/message/6IBAWX3HMMZVAWJZ3U6VOAYYOYJCN3IS
nvd.nist.gov/vuln/detail/CVE-2024-24258
Show 31 moreShow less
github.com/advisories/GHSA-vrhp-w2wh-93c3
access.redhat.com/errata/RHSA-2024:2366
access.redhat.com/security/cve/CVE-2024-24258
access.redhat.com/security/cve/CVE-2024-24259
bugzilla.redhat.com/2263939
bugzilla.redhat.com/2263943
errata.almalinux.org/9/ALSA-2024-2366.html
access.redhat.com/errata/RHSA-2024:3120
errata.almalinux.org/8/ALSA-2024-3120.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2025-1762362716.html
github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24258.json
security-tracker.debian.org/tracker/CVE-2024-24258
advisories.mageia.org/MGASA-2024-0165.html
bugs.mageia.org/show_bug.cgi?id=33167
lwn.net/Articles/971670
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1174
nvd.nist.gov/vuln/detail/CVE-2024-24259
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2263939
bugzilla.redhat.com/show_bug.cgi?id=2263943
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2366.json
cve.org/CVERecord?id=CVE-2024-24258
cve.org/CVERecord?id=CVE-2024-24259
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.10_release_notes/index
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3120.json
errata.rockylinux.org/RLSA-2024:2366
errata.rockylinux.org/RLSA-2024:3120
ubuntu.com/security/CVE-2024-24258
ubuntu.com/security/notices/USN-7870-1
ubuntu.com/security/CVE-2024-24259