Versions mentioned in the description apply to the upstream
Remediation section below for
Debian:9 relevant versions.
basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessive Size Value (involving strdupa and alloca for a pathname controlled by a local attacker) that results in an operating system crash.
systemd to version 232-25+deb9u13 or higher.