# JLSEC-2026-1254: libmodbus v3.1.6 was discovered to contain a heap overflow via the modbusmappingfree() function.

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-11T14:12:22.442Z
- Modified: 2026-08-11T14:15:05.382Z
- Related: CVE-2024-36843

## Description

libmodbus v3.1.6 was discovered to contain a heap overflow via the `modbus_mapping_free()` function.

(As written by Julia Security Advisories.)

## Affected

- LibModbus_jll (Julia): before 3.1.10+0

## References

- <https://github.com/balckgu1/libmodbusPoc/blob/main/gdb.md> (exploit, web)
- <https://github.com/stephane/libmodbus/issues/748> (web)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00010.html> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1254](https://osv.dev/vulnerability/JLSEC-2026-1254), CC-BY-4.0, modified 2026-08-11

---

Page: https://cve.day/JLSEC-2026-1254 · Whole record: https://cve.day/JLSEC-2026-1254.json · Rebuilt by cve.day 2026-11-25T22:56:25.916Z
