If you have no creature cards in your graveyard, the target creature gets -0/-0, and it will still be exiled if it would die this turn.

Artwork
Loading artwork…
Necrotic Wound
Foundations Jumpstart · #470 · EN
Nonfoil—Foil—
Card rules
Undergrowth — Target creature gets -X/-X until end of turn, where X is the number of creature cards in your graveyard. If that creature would die this turn, exile it instead.
The assassins of the Ochran distill toxins from the remains of their previous victims.
Uncommon · Illustrated by Randy Vargas
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Necrotic Wound's replacement effect will exile the target creature if it would die this turn for any reason, not just immediately after Necrotic Wound resolves.
The value of X is determined only as the undergrowth ability resolves. If the number of creature cards in your graveyard changes later in the turn, the target creature is unaffected.
Creature cards with other types, such as artifact creature cards, count for undergrowth abilities.
Because tokens aren't cards, they never count for undergrowth abilities.