CVE-2022-43680 is a use-after-free in Expat (libexpat) through 2.4.9: in out-of-memory situations, XML_ExternalEntityParserCreate can destroy a shared DTD too early. NVD scores it 7.5. Expat 2.5.0 fixes it. Belden lists Hirschmann HiOS, Classic, HiSecOS EAGLE, BAT-C2, GECKO and OpEdge-8D firmware as affected, with fixed releases per line.
Vulnerability summary
CVSS base score
7.5
High severity
EPSS score (FIRST)
3.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2022-43680 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Expat / libexpat (XML_ExternalEntityParserCreate) | cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* | through 2.4.9 (fixed in 2.5.0, 25 October 2022) |
| Hirschmann HiOS (BRS, RSP, RSPE, RSPS, RSPL, MSP, EES, EESX, GRS, OS, RED) | — | 09.1.XX or lower, 09.0.05 or lower, 07.1.07 or lower; fixed in 09.2.00 (09.0.06 and 07.1.08 named as upcoming) per Belden BSECV-2022-26 |
| Hirschmann Classic switches (RS, RSR, RSB, MACH100, MACH1000, MACH4000, MS, OCTOPUS) | — | 09.1.07 or lower; fixed in 09.1.08 (Belden BSECV-2022-26) |
| Hirschmann HiSecOS EAGLE, BAT-C2, GECKO, OpEdge-8D | — | EAGLE 04.3.XX or lower (fixed 04.4.00); BAT-C2 9.14.1.0R2 or lower (fixed 9.14.1.0R3); GECKO 2.3.2 or lower (fixed 2.3.3); OpEdge-8D 01.0.00 (01.0.01 named as upcoming) per Belden BSECV-2022-26 |
What does this mean for affected devices?
NVD's description: "In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations." NVD's Primary score is CVSS v3.1 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) with CWE-416 (use after free); the CISA ADP entry gives the same 7.5 (NVD, CVE record). MITRE is the CNA and recorded no score of its own.
What is the bug and what fixes it?
Expat (libexpat) is the small XML parser compiled into many firmware images. The flaw sits in the creation of external entity parsers: when memory runs out, a DTD that the parent parser shares can be freed too early, and later use of it touches freed memory. Expat 2.5.0, released 25 October 2022, fixed it; the Expat Changes file lists it as the release's security fix, from issue #649 and pull requests #616 and #650, and states the "expected impact is denial of service or potentially arbitrary code execution". NVD scores availability only. The trigger needs an out-of-memory condition, which is easier to reach on a small device than on a server.
Which Hirschmann products ship the vulnerable Expat?
Belden bulletin BSECV-2022-26 (2023-04-25) lists this CVE together with CVE-2022-40674 and names the affected lines and fixes (Belden BSECV-2022-26):
- HiOS (BRS, RSP, RSPE, RSPS, RSPL, MSP, EES, EESX, GRS, OS, RED): 09.1.XX or lower, 09.0.05 or lower and 07.1.07 or lower; fixed in 09.2.00, with 09.0.06 and 07.1.08 named as upcoming releases.
- Classic switches (RS, RSR, RSB, MACH100, MACH1000, MACH4000, MS, OCTOPUS): 09.1.07 or lower; fixed in 09.1.08.
- HiSecOS EAGLE 04.3.XX or lower, fixed in 04.4.00; Wireless BAT-C2 9.14.1.0R2 or lower, fixed in 9.14.1.0R3; Lite Managed GECKO 2.3.2 or lower, fixed in 2.3.3; Edge OpEdge-8D 01.0.00, with 01.0.01 named as the upcoming release.
Belden scores the CVE 7.5, the NVD figure. Its mitigation for HiOS and HiSecOS is to disable the HTTP/HTTPS server or restrict HTTP/HTTPS access to trusted IP addresses; for OpEdge it points to the Allowed IP List under the Systems tab.
How do distributions and firmware builders handle it?
The Debian tracker marks bullseye fixed in 2.2.10-2+deb11u5 (DSA-5266-1), buster in 2.2.6-2+deb10u6 (DLA-3165-1) and unstable in 2.5.0-1. Builders who copy Expat into their own trees should check the version string of each copy, because a statically linked parser will not show up as a package.
The Hirschmann and Belden switch vulnerability guide lists BSECV-2022-26 with the other bundled-component bulletins, and our zlib, Expat and libxml2 guide covers Expat in firmware. Related Expat flaws include CVE-2022-25235 and CVE-2024-45492.
CVE-2022-43680 is not in the CISA KEV catalog as of 2026-11-21 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.03203, the 88.5th percentile, in the 2026-11-20 dataset (CISA KEV, FIRST EPSS).
Evidence
- NVD (read 2026-11-21): status Modified; published 2022-10-24; NVD Primary CVSS v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; CISA ADP Secondary 7.5; CWE-416; CPE libexpat up to and including 2.4.9 plus Debian 10/11, Fedora 35-37 and NetApp entries; references libexpat issue 649, PRs 616 and 650, DSA-5266. — NVD
- Expat Changes, read 2026-11-21: Release 2.5.0 (Tue October 25 2022) security fix #616 #649 #650 CVE-2022-43680, heap use-after-free after overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations; expected impact denial of service or potentially arbitrary code execution. — libexpat
- Belden BSECV-2022-26 version 1.0 (2023-04-25), read 2026-11-21: CVE-2022-40674 (9.8) and CVE-2022-43680 (7.5); affected HiOS 09.1.XX/09.0.05/07.1.07 or lower, Classic 09.1.07 or lower, HiSecOS EAGLE 04.3.XX or lower, BAT-C2 9.14.1.0R2 or lower, GECKO 2.3.2 or lower, OpEdge-8D 01.0.00; fixed HiOS 09.2.00 (upcoming 09.0.06, 07.1.08), Classic 09.1.08, EAGLE 04.4.00, BAT-C2 9.14.1.0R3, GECKO 2.3.3, OpEdge-8D upcoming 01.0.01; mitigation disable or restrict HTTP/HTTPS to trusted IPs. — Belden BSECV-2022-26
- Debian security tracker, read 2026-11-21: expat fixed in bullseye 2.2.10-2+deb11u5 (DSA-5266-1), buster 2.2.6-2+deb10u6 (DLA-3165-1), unstable 2.5.0-1. — Debian security tracker
- CVE record (checked 2026-11-21): state PUBLISHED, CNA MITRE, published 2022-10-24; no CNA CVSS metric; CISA-ADP CVSS v3.1 entry. — CVE.org
- Not in the CISA KEV catalog, version 2026.11.20 (1,790 entries), checked 2026-11-21. — CISA KEV
- EPSS 0.03203, percentile 0.8845, dataset 2026-11-20, read 2026-11-21. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which Expat version fixes CVE-2022-43680?
Expat 2.5.0, released 25 October 2022. NVD lists libexpat through 2.4.9 as affected. Debian backported the fix to bullseye (2.2.10-2+deb11u5) and buster (2.2.6-2+deb10u6).
Which Hirschmann firmware fixes it?
Belden BSECV-2022-26 names HiOS 09.2.00 (with 09.0.06 and 07.1.08 for older lines), Classic 09.1.08, HiSecOS EAGLE 04.4.00, BAT-C2 9.14.1.0R3 and GECKO 2.3.3, with OpEdge-8D 01.0.01 named as an upcoming release.
What is the mitigation before updating?
For HiOS and HiSecOS, Belden says to disable the HTTP/HTTPS server or restrict HTTP/HTTPS access to trusted IP addresses; for OpEdge-8D, use the Allowed IP List under the Systems tab.
Is CVE-2022-43680 exploited?
It is not in the CISA KEV catalog as of 2026-11-21 (version 2026.11.20). FIRST EPSS gives it 0.03203, the 88.5th percentile, in the 2026-11-20 dataset.
Questions about this page?