Every CVE Search/ Get API key

CVE-2023-40128

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer...

7.8 HighFix available

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.11%Unchanged since Oct 28, 2023
90%50%10%1%

What each source reports

NVD Score used 7.8

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
CVE-2023-40128
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
CVE-2023-40128
Updated
2026-11-02
EUVDEUVD-2023-44735 0.0

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
EUVD-2023-44735
CVSS
0.0 NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-pjgc-q78w-v6ph 7.8

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer...

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
GHSA-pjgc-q78w-v6ph
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVASB-A-274231102 No score

In several functions of xmlregexp.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.

Record
ASB-A-274231102
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
platform/external/libxml2
Android
11:0 up to 11:2023-10-01, plus listed versions
11
11:2023-10-01
platform/external/libxml2
Android
12:0 up to 12:2023-10-01, plus listed versions
12
12:2023-10-01
platform/external/libxml2
Android
12L:0 up to 12L:2023-10-01, plus listed versions
12L
12L:2023-10-01
platform/external/libxml2
Android
13:0 up to 13:2023-10-01, plus listed versions
13
13:2023-10-01

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-40128 is a high vulnerability (CVSS 7.8) in Google Android, published October 1, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.11%, the 1st percentile. Fixed in platform/external/libxml2 11:2023-10-01.

References

MoveEnter Open