Malcolm in the Middle is an American television sitcom that followed the misadventures of a dysfuntional lower middle class family and their teenaged son Malcolm, a young savant with an IQ of 160
The following weapons were used in the television series Malcolm in the Middle:
What appears to be a Colt Detective Special is seen used by One of the pair of criminals robbing Lucky Aid in "Robbery" (S2E07). His Colt is a snub nose with ivory grips.
Malcolm (Frankie Muniz) finds what appears to be a Walther TPH in an escort's purse in "Poker 2" (S3E13). A nickel plated version is first digitally imposed into the purse using special effects, but later appears in the same episode physically as a Walther PPK missing its safety and sporting a taped grip.
Luger P08
Otto Mannkusser (Kenneth Mars) carries a Luger P08 into the desert while accompanying Hal in "Boys at Ranch" (S5E08).
Of the two shotguns used in the show, the Remington 870 appears most frequently. Shotguns are commonly used for ranch work and home defense throughout the show.
Mossberg 500
The Mossberg 500 is the second shotgun seen in Malcolm in the Middle, and is often found in tandem with the Remington 870. The props department most likely only used these two models, as they were reused many times regardless of the show's location.
Rifles
M4 Carbine
Reese (Justin Berfield) wields an M4 Carbine rifle with the MILES equipment during his training in "Reese Joins the army Part 2" (S5E22). He also uses the rifle without the training system in "Reese comes home" (S6E01).
Other
Zoo Rifle Cabinet
In "Zoo" (S4E01), numerous firearms, including a dart gun, can be seen behind Lois' ex lover.
Pawn Shop Display Cabinet
A rifle cabinet can be seen in the pawn shop in "Motivational Speaker" (S6e19).
Taser X26
A Police officer deploys a Taser X26 on Hal in "Reese Joins the Army Part 1 (S5E21). The Taser is fitted with a XDPM (Extended Digital Power Magazine) with a spare cartridge.
M2 Hand Grenade
In "The Grandparents" (S02E15), Grandpa Victor (Robert Loggia) gives Reese (Justin Berfield) a surplus Mk 2 hand grenade as a surprise present, but thanks to Reese's stupidity, the pin is pulled and Malcolm (Frankie Muniz) is forced to throw it into the family's brand-new refrigerator, before the three of them flee the house.
N.B. Using a refrigerator to contain the explosion of a grenade is a common trope in several movies and television shows (e.g., Monk), but was tested on an episode of Mythbusters and found to be ineffective.