CVE-2024-45492: Integer Overflow

Published Aug 30, 2024
·
Updated

An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for mgroupSize on 32-bit platforms (where UINTMAX equals SIZEMAX).

Other sources

libexpat could allow a local attacker to execute arbitrary code on the system, caused by an integer overflow in the nextScaffoldPart function in xmlparse.c. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.

— IBM

Affected Software

102 affected componentsFixes available
IBM Concert Software<=1.0.0, 1.0.1, 1.0.2, 1.0.2.1
Microsoft cbl2 expat 2.6.2-2
Microsoft cbl2 expat 2.6.2-2
Microsoft azl3 expat 2.6.2-1
Microsoft azl3 expat 2.6.3-1
Microsoft cbl2 expat 2.6.3-1
Libexpat Project Libexpat<2.6.3
debian/expat<2.5.0-1+deb12u1
2.5.0-1+deb12u1
debian/expat<2.6.2-2
2.6.2-2
debian/expat<2.6.2-2
2.6.2-2
debian/libxmltok*
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/expat<2.6.3-r0
2.6.3-r0
alpine/qt5-qtwebengine<5.15.16-r12
5.15.16-r12
alpine/qt5-qtwebengine<5.15.17-r3
5.15.17-r3
alpine/qt5-qtwebengine<5.15.17-r3
5.15.17-r3
alpine/qt5-qtwebengine<5.15.17-r3
5.15.17-r3
alpine/qt6-qtwebengine<6.7.2-r6
6.7.2-r6
alpine/qt6-qtwebengine<6.7.2-r6
6.7.2-r6
alpine/qt6-qtwebengine<6.7.2-r6
6.7.2-r6
alpine/qt6-qtwebengine<6.7.2-r6
6.7.2-r6
debian/expat
2.2.10-2+deb11u62.5.0-1+deb12u12.6.2-2
debian/libxmltok<=1.2-4
ubuntu/expat<2.1.0-4ubuntu1.4+esm9
2.1.0-4ubuntu1.4+esm9
ubuntu/coin3*
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/xmlrpc-c*
ubuntu/expat<2.1.0-7ubuntu0.16.04.5+esm9
2.1.0-7ubuntu0.16.04.5+esm9
ubuntu/ayttm*
ubuntu/cableswig*
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/vtk*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.5-3ubuntu0.9+esm1
2.2.5-3ubuntu0.9+esm1
ubuntu/cadaver*
ubuntu/coin3*
ubuntu/gdcm*
ubuntu/insighttoolkit4*
ubuntu/matanza*
ubuntu/smart*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/vnc4*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/expat<2.2.9-1ubuntu0.7
2.2.9-1ubuntu0.7
ubuntu/cadaver*
ubuntu/insighttoolkit4*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat<2.4.7-1ubuntu0.4
2.4.7-1ubuntu0.4
ubuntu/insighttoolkit4*
ubuntu/matanza*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/expat<2.6.1-2ubuntu0.1
2.6.1-2ubuntu0.1
ubuntu/matanza*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/swish-e*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/matanza*
ubuntu/swish-e*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/cadaver*
ubuntu/matanza*
ubuntu/tdom*
ubuntu/wbxml2*
ubuntu/xmlrpc-c*
ubuntu/swish-e*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.5.0-1+deb12u1
  2. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.6.2-2
  3. Upgrade

    Upgrade alpine/expat to a version that resolves this vulnerability.

    Fixed in 2.6.3-r0
  4. Upgrade

    Upgrade alpine/qt5-qtwebengine to a version that resolves this vulnerability.

    Fixed in 5.15.16-r12
  5. Upgrade

    Upgrade alpine/qt5-qtwebengine to a version that resolves this vulnerability.

    Fixed in 5.15.17-r3
  6. Upgrade

    Upgrade alpine/qt6-qtwebengine to a version that resolves this vulnerability.

    Fixed in 6.7.2-r6
  7. Upgrade

    Upgrade debian/expat to a version that resolves this vulnerability.

    Fixed in 2.2.10-2+deb11u6Fixed in 2.5.0-1+deb12u1Fixed in 2.6.2-2
  8. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-4ubuntu1.4+esm9
  9. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.1.0-7ubuntu0.16.04.5+esm9
  10. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.5-3ubuntu0.9+esm1
  11. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.2.9-1ubuntu0.7
  12. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.4.7-1ubuntu0.4
  13. Upgrade

    Upgrade ubuntu/expat to a version that resolves this vulnerability.

    Fixed in 2.6.1-2ubuntu0.1
  14. Upgrade

    Upgrade libexpat to a version that resolves this vulnerability.

    Fixed in 2.6.3

Event History

Aug 30, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via OSV·03:15 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 AM
Description
Data Sourced
via Red Hat·03:20 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:35 PM
SeverityWeakness
Sep 4, 2024
Data Sourced
via NVD·02:28 PM
RemedyAffected Software
Updated
via NVD·02:28 PM
SeverityWeakness
Event
via NVD·02:28 PM
Sep 13, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Nov 19, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 21, 2024
Updated
via NVD·09:37 AM
Affected Software
Jan 22, 2025
News Published
via The Hacker News·07:25 AM
Jan 23, 2025
News Published
via The Register·01:06 AM
Apr 14, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jun 5, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Nov 4, 2025
Updated
via NVD·05:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·07:54 AM
Affected Software
Nov 3, 2026
Updated
via OSV·06:32 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-45492?

CVE-2024-45492 is classified with a severity that indicates a significant risk due to the integer overflow vulnerability in libexpat.

2

How do I fix CVE-2024-45492?

To fix CVE-2024-45492, upgrade libexpat to version 2.6.3 or later.

3

Which versions of libexpat are affected by CVE-2024-45492?

CVE-2024-45492 affects all versions of libexpat prior to 2.6.3.

4

Is CVE-2024-45492 exploited in the wild?

As of now, there is no public information available indicating that CVE-2024-45492 is actively being exploited in the wild.

5

What types of systems are vulnerable to CVE-2024-45492?

CVE-2024-45492 primarily affects 32-bit platforms due to the integer overflow issue in libexpat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203